270
Chapter 19 Timebase Timer
7.Q & A
7.7 What are the interrupt types?
One type of interrupt is available, and an interrupt is generated when the interval time that is set using the
interval selection bit (TBCR.TBC[2:0]) has elapsed. (Selection is unnecessary.)
7.8 How is an interrupt enabled?
Interrupt request enable and interrupt request flag
Setting interrupt enable is conducted using the interrupt request enable bit (TBCR.TBIE).
Clearing the interrupt request is performed using the interrupt request bit (TBCR.TBIF).
Interrupt request enable bit (TBIE)
Interrupt disable Set the value to “0”
Interrupt enable Set the value to “1”
Interrupt request bit (TBIF)
Interrupt request clear “0” is written