R01UH0136EJ0210 Rev.2.10
Page 295 of 800
Jul 31, 2012
M16C/64A Group
17. Timer A
17.4
Interrupts
Refer to individual operation examples for interrupt request generating timing.
Refer to 14.7 “Interrupt Control” for details of interrupt control. Table 17.18 lists Timer A Interrupt Related
Registers.
The IR bit in the TAiIC register may become 1 (interrupt requested) when the TMOD1 bit in the TAiMR
register is changed from 0 to 1 (change from timer mode or event counter mode to one-shot timer mode,
PWM mode, or programmable output mode). Make sure to follow the procedure below when setting the
TMOD1 bit to 1. Refer to 14.13 “Notes on Interrupts” for details.
(1)
Set bits ILVL2 to ILVL0 in the TAiIC register to 000b (interrupt disabled).
(2)
Set the TAiMR register.
(3)
Set the IR bit in the TAiIC register to 0 (interrupt not requested).
Table 17.18
Timer A Interrupt Related Registers
Address
Register
Symbol
Reset Value
Timer A0 Interrupt Control Register
Timer A1 Interrupt Control Register
Timer A2 Interrupt Control Register
Timer A3 Interrupt Control Register
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...