TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual
24-252
V2.0, 2007-07
GPTA, V2.0
Bit field PCx (x is the number of a port line) in the input/output control register IOCRy (y
is the number of the first port line controlled by an IOCR) must be programmed according
.
A port line that is programmed as input can be used by the GPTA0, GPTA1, or LTCA2
module simultaneously as input.
Port lines selected as GPTA0, GPTA1, or LTCA2 output are forced to a 0 level if the
related multiplexer array in the I/O Line Sharing Unit is disabled or if a reserved
combination of an OMGn value is selected. Therefore, no glitches and spikes can occur
during the programming of the related multiplexer array.
Table 24-25 PCx Coding
PCx[3:0] I/O
Output
Characteristics
Selected Pull-up/Pull-down/
Selected Output Function
Comment
0X00
B
Input
–
No pull device connected
–
0X01
B
Pull-down device connected
0X10
B
1)
1) This bit field value is default after reset.
Pull-up device connected
0X11
B
No pull device connected
1000
B
Output
Push-pull
General purpose output selected
1001
B
GPTA0 output (ALT1) selected
1010
B
GPTA1 output (ALT2) selected
1011
B
LTCA2 output (ALT3) selected
2)
2) Not applicable at Port 8 and Port 9 for LTCA2.
1100
B
Open-drain
General purpose output selected
1101
B
GPTA0 output (ALT1) selected
1110
B
GPTA1 output (ALT2) selected
1111
B
LTCA2 output (ALT3) selected