8.1 Functions of 8-Bit Timers H0 and H1
8-bit timers H0 and H1 have the following functions.
• Interval timer
• PWM output mode
• Square-wave output
• Carrier generator mode (8-bit timer H1 only)
8.2 Configuration of 8-Bit Timers H0 and H1
8-bit timers H0 and H1 include the following hardware.
Item
Timer register
Registers
Timer output
Control registers
Note 8-bit timer H1 only
Remark n = 0, 1
Figures 8-1 and 8-2 show the block diagrams.
178
CHAPTER 8 8-BIT TIMERS H0 AND H1
Table 8-1. Configuration of 8-Bit Timers H0 and H1
8-bit timer counter Hn
8-bit timer H compare register 0n (CMP0n)
8-bit timer H compare register 1n (CMP1n)
TOHn
8-bit timer H mode register n (TMHMDn)
8-bit timer H carrier control register 1 (TMCYC1)
Port mode register 1 (PM1)
Port register 1 (P1)
User's Manual U16227EJ2V0UD
Configuration
Note