16-Bit Timer/Event Counter Configuration; Bit Timer/Event Counter Block Diagram - NEC PD78052 User Manual

Pd78054 series; pd78054y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

8.3 16-Bit Timer/Event Counter Configuration

The 16-bit timer/event counter consists of the following hardware.
Timer register
Register
Timer output
Control register
Note
Internal bus
Capture/Compare
Control Register 0
CRC02 CRC01 CRC00
TI01/
P01/INTP1
INTTM3
2f
XX
f
XX
f
/2
XX
16-Bit Timer Register (TM0)
2
f
/2
XX
TI00/P00/
Note 1
INTP0
3
TCL06 TCL05 TCL04
Timer Clock
Selection
CRC02
Register 0
Notes 1. Edge detection circuit
2. The configuration of the 16-bit timer/event counter output control circuit is shown in Figure 8-2.
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
Table 8-4. 16-Bit Timer/Event Counter Configuration
Item
16 bits
1 (TM0)
Capture/compare register: 16 bits
1 (TO0)
Timer clock select register 0 (TCL0)
16-bit timer mode control register (TMC0)
Capture/compare control register 0 (CRC0)
16-bit timer output control register (TOC0)
Port mode register 3 (PM3)
External interrupt mode register 0 (INTM0)
Sampling clock select register (SCS)
Refer to Figure 21-1. Basic Configuration of Interrupt Function.
Figure 8-1. 16-Bit Timer/Event Counter Block Diagram
16-Bit Capture/Compare
Control Register (CR00)
PWM Pulse
Match
Output
Controller
TMC01-TMC03
Clear
Clear Circuit
Match
16-Bit Capture/Compare
TMC03 TMC02 TMC01 OVF0
Control Register (CR01)
Internal Bus
Configuration
2 (CR00, CR01)
Note
TMC01-TMC03
3
OSPT OSPETOC04 LVS0 LVR0 TOC01 TOE0
16-Bit Timer Mode
Control Register
INTP1
INTTM00
Note 2
16-Bit Timer/Event
TO0/P30
Counter Output
Control Circuit
2
INTTM01
INTP0
16-Bit Timer Output
Control Register
179

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents