EasyManua.ls Logo

Hitachi H8/500 Series - Setting of TCNT Overflow Flag; CPU Interrupts and DTC Interrupts; Setting of Overflow Flag (OVF)

Hitachi H8/500 Series
459 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11.3.4 Setting of TCNT Overflow Flag
The overflow flag (OVF) is set to “1” when the timer count overflows (changes from H'FF to
H'00). Figure 11-7 shows the timing of this operation.
11.4 CPU Interrupts and DTC Interrupts
The 8-bit timer can generate three types of interrupts: compare-match A and B (CMIA and
CMIB), and overflow (OVI). Each interrupt is requested when the corresponding enable and flag
bits are set in the TCR and TCSR. Independent signals are sent to the interrupt controller for each
type of interrupt. Table 11-3 lists information about these interrupts.
Table 11-3 8-Bit Timer Interrupts
Interrupt Description DTC Service Available? Priority
CMIA Requested when CMFA is set Yes High
CMIB Requested when CMFB is set Yes
OVI Requested when OVF is set No Low
The CMIA and CMIB interrupts can be served by the data transfer controller (DTC) to have a data
transfer performed.
When the DTC serves one of these interrupts, it automatically clears the CMFA or CMFB flag to
“0.” See section 6, “Data Transfer Controller” for further information on the DTC.
Ø
H’00
TCNT
Internal overflow
signal
OVF
H’FF
ø
Figure 11-7 Setting of Overflow Flag (OVF)
218
Downloaded from Elcodis.com electronic components distributor

Table of Contents

Related product manuals