CHAPTER 9 8-BIT TIMERS 30 AND 40
User’s Manual U14826EJ5V0UD
88
(a) Discrete
mode
(i) TM30
• Reset
• Clearing of TCE30 (bit 7 of 8-bit timer mode control register 30 (TMC30)) to 0
• Match of TM30 and CR30
• TM30 count value overflow
(ii) TM40
• Reset
• Clearing of TCE40 (bit 7 of 8-bit timer mode control register 40 (TMC40)) to 0
• Match of TM40 and CR40
• TM40 count value overflow
(b) Cascade connection mode (TM30, TM40 simultaneously cleared to 00H)
• Reset
• Clearing of the TCE40 flag to 0
• Simultaneous match of TM30 with CR30 and TM40 with CR40
• TM30 and TM40 count values overflow simultaneously
(c) Carrier
generator/PWM
output mode (TM40 only)
• Reset
• Clearing of the TCE40 flag to 0
• Match of TM40 and CR40
• Match of TM40 and CRH40
• TM40 count value overflow
9.3 8-Bit Timers 30, 40 Control Registers
The 8-bit timers are controlled by the following five registers.
• 8-bit timer mode control register 30 (TMC30)
• 8-bit timer mode control register 40 (TMC40)
• Carrier generator output control register 40 (TCA40)
• Port mode register 2 (PM2)
• Port 2 (P2)
Содержание PD789860
Страница 2: ...User s Manual U14826EJ5V0UD 2 MEMO ...