7.1 Functions of 8-Bit Timer/Event Counters 50 and 51
8-bit timer/event counters 50 and 51 have the following functions.
• Interval timer
• External event counter
• Square-wave output
• PWM output
7.2 Configuration of 8-Bit Timer/Event Counters 50 and 51
8-bit timer/event counters 50 and 51 include the following hardware.
Timer register
Register
Timer input
Timer output
Control registers
Figures 7-1 and 7-2 show the block diagrams of 8-bit timer/event counters 50 and 51.
178
Downloaded from
Elcodis.com
electronic components distributor
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
Table 7-1. Configuration of 8-Bit Timer/Event Counters 50 and 51
Item
8-bit timer counter 5n (TM5n)
8-bit timer compare register 5n (CR5n)
TI5n
TO5n
Timer clock selection register 5n (TCL5n)
8-bit timer mode control register 5n (TMC5n)
Port mode register 1 (PM1) or port mode register 3 (PM3)
Port register 1 (P1) or port register 3 (P3)
Preliminary User's Manual U19014EJ1V0UD
Configuration