|
M16C62_M Datasheet, PDF (354/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES | |||
|
◁ |
Timer A
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.2.16 Precautions for Timer A (pulse width modulation mode)
(1) To clear reset, the count start flag is set to â0â. Set a value in the timer Ai register, then set the
flag to â1â.
(2) The timer Ai interrupt request bit becomes â1â if setting operation mode of the timer in compli-
ance with any of the following procedures:
⢠Selecting PWM mode after reset.
⢠Changing operation mode from timer mode to PWM mode.
⢠Changing operation mode from event counter mode to PWM mode.
Therefore, to use timer Ai interrupt (interrupt request bit), set timer Ai interrupt request bit to
â0â after the above listed changes have been made.
(3) Setting the count start flag to â0â while PWM pulses are being output causes the counter to
stop counting. If the TAiOUT pin is outputting an âHâ level in this instance, the output level
goes to âLâ, and the timer Ai interrupt request bit goes to â1â. If the TAiOUT pin is outputting an
âLâ level in this instance, the level does not change, and the timer Ai interrupt request bit does
not becomes â1â.
2-37
|
▷ |