English
Language : 

TCC76 Datasheet, PDF (99/259 Pages) List of Unclassifed Manufacturers – 32-bit RISC Microprocessor For Digital Media Player
TCC76x
Specification Rev. 0.07
32-bit RISC Microprocessor for Digital Media Player
February 23, 2005
GPIO PORT
7 GPIO PORT
7.1 Overview
The TCC76x has a lot of general purpose I/Os that can be programmed by setting internal registers. All I/Os are set
to input mode at reset. Except for GPIO_B[29:26] (USB transceiver I/Os), all pins named with GPIO have the
following features.
- Programmable internal pull-up resistor
- Programmable drive strength control (4/6/8/12mA) for output mode
- Programmable I/O direction control
G IO CO N
Control of other
block
Control of test or
other block
0
Pull-up resistor
control from
1
CFG PUx register
2
Output of test or
other block
2
O utput of other
1
block
W rite G DATA
0
G PIO pin
1
GSEL, GTSEL
Read GDATA
0
Figure 7.1 GPIO Block Diagram
The I/O mode can be set by the state of GIOCON register.
If a bit of GIOCON register is 1, the corresponding GPIO pin has come to output mode, and if 0, which is the default
state of GIOCON register, the corresponding GPIO pin is set to input mode.
If GPIO pin is set to input mode, GPIO pin’s state can be fed to CPU by reading GDATA register and when output
mode, GPIO pin’s state can be controlled by the state of the corresponding bit of GDATA register.
If GDATA register is read when the mode is output mode, the value that CPU gets is the one that CPU has written
before.
In the TCC76x, there are various kinds of peripherals that generate its own control signals. These peripherals can
occupy the dedicated GPIO pins. This option is controlled by the state of the GSEL and GTSEL register.
If a bit of these GSEL or GTSEL is 1, the corresponding GPIO pin is entered to other function mode, so used by other
peripherals not by GPIO block. The direction control method of GPIO pins in the other function mode is determined
case by case. One of them follows the normal direction control method using GIOCON register, the other method uses
a its own direction control signals.
For drive strength and internal pull-up resistor control, refer to section 12.2 Miscellaneous Register Description.
Preliminary
7-1