Format Of Capture/Compare Control Register 01 (Crc01) - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

Figure 7-9. Format of Capture/Compare Control Register 01 (CRC01)
Address: FFB8H
After reset: 00H
Symbol
7
CRC01
0
CRC012
0
1
CRC011
0
1
CRC010
0
1
Cautions 1. Timer operation must be stopped before setting CRC01.
2. When the mode in which clear & start occurs on a match between TM01 and CR001 is
selected with 16-bit timer mode control register 01 (TMC01), CR001 should not be specified
as a capture register.
3. The capture operation is not performed if both the rising and falling edges are specified as
the valid edge of TI001.
4. To ensure that the capture operation is performed properly, the capture trigger requires a
pulse two cycles longer than the count clock selected by prescaler mode register 01
(PRM01).
(3) 16-bit timer output control register 0n (TOC0n)
This register controls the operation of 16-bit timer/event counter 0n output controller. It sets/resets the timer
output F/F (LV0n), enables/disables output inversion and 16-bit timer/event counter 0n timer output,
enables/disables the one-shot pulse output operation, and sets the one-shot pulse output trigger via software.
TOC0n can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears TOC0n to 00H.
µ
Remark n = 0:
PD780143, 780144
µ
n = 0, 1:
PD780146, 780148, 78F0148
178
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
R/W
6
5
0
0
CR011 operating mode selection
Operates as compare register
Operates as capture register
Captures on valid edge of TI011
Captures on valid edge of TI001 by reverse phase
CR001 operating mode selection
Operates as compare register
Operates as capture register
User's Manual U15947EJ2V0UD
4
3
2
0
0
CRC012
CR001 capture trigger selection
*
1
0
CRC011
CRC010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents