8-Bit Timers 30, 40 Control Registers - NEC PD789860 User Manual

8-bit single-chip microcontrollers pd789860 subseries; pd789861 subseries
Table of Contents

Advertisement

(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)
88
CHAPTER 9 8-BIT TIMERS 30 AND 40
User's Manual U14826EJ5V0UD

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78e9861aPd78e9860aPd789860(a)Pd789861

Table of Contents