
277
12.3 Multifunctional Timer Registers
s Compare Control Register (Upper) (OCS1, OCS3, OCS5)
Figure 12.3-11 Compare Control Register (Upper) (OCS1, OCS3, OCS5)
Table 12.3-3 "Functions of Bits for Compare Control Register (Upper) (OCS1, OCS3, and
OCS5)" lists the functions of each bit of the compare control register (upper) (OCS1, OCS3, and
OCS5). In
Table 12.3-3 "Functions of Bits for Compare Control Register (Upper) (OCS1, OCS3,
and OCS5)", the explanation refers to the compare control register (upper) (OCS1). For the
compare control register (upper) (OCS3), replace ch0 with ch2 and ch1 with ch3.
For the
compare control register (upper) (OCS5), replace ch0 with ch4 and ch1 with ch5.
CMOD OTE1
OTD1 OTD0
OTE0
R/W R/W R/W R/W
-
R/W
CMOD
Pin output level inversion mode setting bit
Invert the pin output level at the compare register value
R/W : Read/write
X
: Undefined
-
: Undefined bit
: Initial value
Address
Initial value
bit15 bit14 bit13 bit12 bit11 bit10
bit9
bit8
ch1:00007DH
XXX00000 B
0
OTD0 Pin output level setting bit (corresponding to ch0, ch2, and ch4)
0
1
Set the output compare pin output to "0"
Set the output compare pin output to "1"
OTD1 Pin output level setting bit (corresponding to ch1, ch3, and ch5)
0
1
Set the output compare pin output to "0"
Set the output compare pin output to "1"
ch3:00007FH
ch5:000081H
OTE0
Pin output enable bit (corresponding to ch0, ch2, and ch4)
0
1
Operate as an I/O port
Operate as an output compare output pin
OTE1
Pin output enable bit (corresponding to ch1, ch3, and ch5)
0
1
Operate as an I/O port
Operate as an output compare output pin
Invert the pin output level at the
compare register value
Compare register
ch1,ch3,ch5
Invert the pin output level at the
compare register values of two channels
1
Compare register
ch0,ch2,ch4