User’s Manual U14826EJ5V0UD
83
CHAPTER 9 8-BIT TIMERS 30 AND 40
9.1 8-Bit Timers 30, 40 Functions
The
µ
PD789860, 789861 Subseries have on chip an 8-bit timer (timer 30) (1 channel) and an 8-bit timer/event
counter (timer 40) (1 channel). The operation modes shown in the table below are possible by means of mode
register settings.
Table 9-1. Mode List
Channel
Mode
Timer 30
Timer 40
8-bit timer counter mode
(discrete mode)
√
√
16-bit timer counter mode
(cascade connection mode)
√
Carrier generator mode
√
PWM output mode
×
√
(1) 8-bit timer counter mode (discrete mode)
The following functions can be used.
• 8-bit resolution interval timer
• 8-bit resolution external event counter (timer 40 only)
• 8-bit resolution square wave output
(2) 16-bit timer counter mode (cascade connection mode)
Operates as a 16-bit timer/event counter due to cascade connection.
The following functions can be used.
• 16-bit resolution interval timer
• 16-bit resolution external event counter
• 16-bit resolution square wave output
(3) Carrier generator mode
In this mode, the carrier clock generated by timer 40 is output in the cycle set by timer 30.
(4) PWM output mode (timer 40 only)
Outputs a pulse of an arbitrary duty factor set by timer 40.
Содержание PD789860
Страница 2: ...User s Manual U14826EJ5V0UD 2 MEMO ...