150
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U15798EJ2V0UD
Figure 6-26. 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
0
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 used 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 TO00 output.
Reverses output on match between TM0 and CR00.
Specifies initial value of TO00 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-3
and
6-4
.
Figure 6-27. Square-Wave Output Operation Timing
Count clock
TM0 count value
CR00
INTTM00
TO00 pin output
0000H 0001H 0002H
N – 1
N
0000H 0001H 0002H
N – 1
N
0000H
N
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...