NEC 78K0S/KA1+ User Manual page 89

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KA1+:
Table of Contents

Advertisement

(2) Capture/compare control register 00 (CRC00)
This register controls the operation of the 16-bit capture/compare registers (CR000, CR010).
CRC00 is set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets the value of CRC00 to 00H.
Figure 6-6. Format of Capture/Compare Control Register 00 (CRC00)
Address: FF62H After reset: 00H R/W
Symbol
7
CRC00
0
CRC002
0
1
CRC001
0
1
CRC000
0
1
Note When the CRC001 bit value is 1, capture is not performed if both the rising and falling edges have been
selected as the valid edges of the TI000 pin.
Cautions 1. The timer operation must be stopped before setting CRC00.
2. When the clear & start mode entered on a match between TM00 and CR000 is selected by
16-bit timer mode control register 00 (TMC00), CR000 should not be specified as a
capture register.
3. To ensure the reliability of the capture operation, the capture trigger requires a pulse
longer than two cycles of the count clock selected by prescaler mode register 00
(PRM00) (refer to Figure 6-17).
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
6
5
0
0
Operate as compare register
Operate as capture register
Capture on valid edge of TI010 pin
Capture on valid edge of TI000 pin by reverse phase
Operate as compare register
Operate as capture register
User's Manual U16898EJ3V0UD
4
3
2
0
0
CRC002
CR010 operating mode selection
CR000 capture trigger selection
Note
CR000 operating mode selection
1
0
CRC001
CRC000
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents