Datasheet

Table Of Contents
Section 14 16-Bit Timer Pulse Unit (TPU)
Rev. 2.00 Jul. 04, 2007 Page 278 of 692
REJ09B0309-0200
Table 14.6 MD1 to MD0
Bit 1
MD1
Bit 0
MD0
Description
0 0 Normal operation
1 Reserved
1 0 PWM mode 1
1 PWM mode 2
14.3.3 Timer I/O Control Register (TIOR)
TIOR controls TGR. The TPU has a total of two TIOR registers, one for each channel. Care is
required as TIOR is affected by the TMDR setting.
The initial output specified by TIOR is valid when the counter is stopped (the CST bit in TSTR is
cleared to 0). Note also that, in PWM mode 2, the output at the point at which the counter is
cleared to 0 is specified.
TIOR_1, TIOR_2
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
IOB3
IOB2
IOB1
IOB0
All 0 R/W
R/W
R/W
R/W
I/O Control B3 to B0
Specify the function of TGRB.
For details, refer to tables 14.7 and 14.8.
3
2
1
0
IOA3
IOA2
IOA1
IOA0
All 0 R/W
R/W
R/W
R/W
I/O Control A3 to A0
Specify the function of TGRA.
For details, refer to tables 14.9 and 14.10.