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
CTR0F, CTR1F
Read
Write
CTR0IntSet, CTR1IntSet
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
0
1
Cascade counter 0 and counter 1 into one 32-bit counter
0
1
0
1
0
1
32-bit counter control bit
Disable (Default)
Chapter 2 Hardware Functionality
Counter Interrupt Status
No interrupt
Interrupt occur
Don't care
Clear interrupt
Counter Interrupt Control
Disable (Default)
Enable
2 3