CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ4V0UM
203
Figure 7-30. 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 as compare
register
CRn1 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 Timer 0, 1 control registers
.
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...