CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ6V0UD
228
Figure 7-25. Control Register Settings for One-Shot Pulse Output with External Trigger
(a) 16-bit timer mode control registers 0, 1 (TMC0, TMC1)
TMCn3
TMCn2
TMCn1
OVFn
TMCn
0
0
0
0
1
0
0
0
Clears and starts at
valid edge of TIn0 pin.
(b) Capture/compare control registers 0, 1 (CRC0, CRC1)
CRCn2
CRCn1
CRCn0
CRCn
0
0
0
0
0
0
0/1
0
CRn0 used as compare
register
CRn1 used as compare
register
(c) 16-bit timer output control registers 0, 1 (TOC0, TOC1)
OSPTn
OSPEn
TOCn4
LVSn
LVRn
TOCn1
TOEn
TOCn
0
0
1
1
0/1
0/1
1
1
Enables TOn output.
Reverses output on
match between TMn
and CRn0.
Specifies initial value of
TOn output F/F.
Reverses output on
match between TMn
and CRn1.
Sets one-shot pulse
output mode.
Caution
Do not set CRn0 and CRn1 to 0000H.
Remark
0/1: When these bits are reset to 0 or set to 1, other functions can be used along with the one-shot
pulse output function. For details, refer to
7.1.4 (1) 16-bit timer mode control registers 0, 1
(TMC0, TMC1), 7.1.4 (2) Capture/compare control registers 0, 1 (CRC0, CRC1)
, and
7.1.4
(3) 16-bit timer output control registers 0, 1 (TOC0, TOC1)
.
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...