CHAPTER 7 TIMER/COUNTER FUNCTION
172
Figure 7-26. Control Register Settings for One-Shot Pulse Output with Software Trigger
(a) 16-bit timer mode control register 0, 1 (TMC0, TMC1)
TMCn3
TMCn2
TMCn1
OVFn
TMCn
0
0
0
0
1
1
0
0
Clears and starts on
coincidence between
TMn and CRn0.
(b) Capture/compare control register 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 register 0, 1 (TOC0, TOC1)
OSPTn
OSPEn
TOCn4
LVSn
LVRn
TOCn1
TOEn
TOCn
0
0
1
1
0/1
0/1
1
1
Enables TOn0 output.
Reverses output on
coincidence between
TMn and CRn0.
Specifies initial value of
TOn0 output F/F.
Reverses output on
coincidence between
TMn and CRn1.
Sets one-shot pulse
output mode.
Set to 1 for output.
Remark
0/1: When these bits are reset to 0 or set to 1, the other functions can be used along with the one-
shot pulse output function. For details, refer to Figures 7-2, 7-3, and 7-4.
Содержание V850/SA1 mPD703015
Страница 2: ...2 MEMO ...
Страница 100: ...100 MEMO ...
Страница 144: ...144 MEMO ...
Страница 200: ...200 MEMO ...
Страница 328: ...328 MEMO ...
Страница 356: ...356 MEMO ...
Страница 358: ...358 MEMO ...
Страница 368: ...368 MEMO ...
Страница 374: ...374 MEMO ...
Страница 382: ...382 MEMO ...