NEC mPD780024AS Series Preliminary User's Manual page 110

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Capture/compare control register 0 (CRC0)
This register controls the operation of the 16-bit timer capture/compare registers (CR00, CR01).
CRC0 is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets CRC0 value to 00H.
Figure 6-3. Format of Capture/Compare Control Register 0 (CRC0)
Address: FF62H
After reset: 00H
Symbol
7
CRC0
0
CRC02
0
1
CRC01
0
1
CRC00
0
1
Cautions 1. Timer operation must be stopped before setting CRC0.
2. When clear & start mode on a match between TM0 and CR00 is selected with the 16-bit timer
mode control register 0 (TMC0), CR00 should not be specified as a capture register.
3. If both the rising and falling edges have been selected as the valid edges of TI00, capture
is not performed.
4. To ensure the reliability of the capture operation, the capture trigger requires a pulse two
times longer than the count clock selected by prescaler mode register 0 (PRM0).
110
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
R/W
6
5
0
0
CR01 operating mode selection
Operates as compare register
Operates as capture register
CR00 capture trigger selection
Captures on valid edge of TI01
Captures on valid edge of TI00 by reverse phase
CR00 operating mode selection
Operates as compare register
Operates as capture register
Preliminary User's Manual U16035EJ1V0UM
4
3
2
0
0
CRC02
1
0
CRC01
CRC00

Advertisement

Table of Contents
loading

Table of Contents