User`s manual
Chapter 2 Hardware Functionality 23
Counter interrupt flag
The interrupt flag bit is a flag indicating the status of an interrupt. It is
a readable/writable bit. To find the status of the interrupt, you have to
read the bit value; to clear the interrupt, you have to write “1” to this
bit. This bit must first be cleared to service the next coming interrupt.
Besides, you can choose if counter 0 or counter 1 generate interrupt
signal by configuring “CTR0IntSet” and “CTR1IntSet” control bit.
Table 2-14: Counter interrupt flag control bit
Cascaded 32-bit Counter
You can also cascade counter 0 and counter 1 together as one 32-bit
counter/timer, and it’s configured by the control bit - CTR32Set.
Table 2-15: 32-bit counter control bit
CTR0F, CTR1F
Counter Interrupt Status
Read
0No interrupt
1 Interrupt occur
Write
0Don’t care
1Clear interrupt
CTR0IntSet, CTR1IntSet Counter Interrupt Control
0 Disable (Default)
1Enable
32-bit counter control bit
0 Disable (Default)
1 Cascade counter 0 and counter 1 into one 32-bit counter










