CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ6V0UD
224
Figure 7-21. Control Register Settings in Square Wave Output Mode
(a) 16-bit timer mode control registers 0, 1 (TMC0, TMC1)
TMCn3
TMCn2
TMCn1
OVFn
TMCn
0
0
0
0
1
1
0
0
Clears and starts on
match between TMn
and CRn0.
(b) Capture/compare control registers 0, 1 (CRC0, CRC1)
CRCn2
CRCn1
CRCn0
CRCn
0
0
0
0
0
0/1
0/1
1
CRn0 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
0
0
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.
Does not reverse output
on match between TMn
and CRn1.
Disables one-shot pulse
output.
Remark
0/1: When these bits are reset to 0 or set to 1, other functions can be used along with the square
wave 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 ...