CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
User’s Manual U16899EJ2V0UD
146
Figure 6-9. Format of Capture/Compare Control Register 01 (CRC01)
Address: FFB8H After reset: 00H R/W
Symbol
7 6 5 4 3 2 1 0
CRC01 0 0 0 0 0
CRC012
CRC011
CRC010
CRC012
CR011 operating mode selection
0
Operates as compare register
1
Operates as capture register
CRC011
CR001 capture trigger selection
0
Captures on valid edge of TI011 pin
1
Captures on valid edge of TI001 pin by reverse phase
Note
CRC010
CR001 operating mode selection
0
Operates as compare register
1
Operates as capture register
Note The capture operation is not performed if both the rising and falling edges are specified as the valid edge of
the TI001 pin.
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. To ensure that the capture operation is performed properly, the capture trigger requires a
pulse longer than two cycles of 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 the 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:
µ
PD78F0132H
n = 0, 1:
µ
PD78F0133H, 78F0134H, 78F0136H, 78F0138H, 78F0138HD
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...