126
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
Preliminary User’s Manual U16035EJ1V0UM
Figure 6-24. Control Register Settings in Square-Wave Output Mode
(a) 16-bit timer mode control register 0 (TMC0)
0
0
0
0
TMC03
1
TMC02
1
TMC01
0/1
OVF0
0
TMC0
Clears and starts on match between TM0 and CR00
(b) Capture/compare control register 0 (CRC0)
0
0
0
0
0
CRC02
0/1
CRC01
0/1
CRC00
0
CRC0
CR00 as compare register
(c) 16-bit timer output control register 0 (TOC0)
0
0
0
TOC04
0
LVS0
0/1
LVR0
0/1
TOC01
1
TOE0
1
TOC0
Enables TO0 output
Reverses output on match between TM0 and CR00
Specifies initial value of TO0 output F/F
Does not reverse output on match between TM0 and CR01
Remark
0/1: Setting 0 or 1 allows another function to be used simultaneously with square-wave output. See
Figures 6-2
,
6-3
, and
6-4
.