English
Language : 

TCC720 Datasheet, PDF (46/143 Pages) List of Unclassifed Manufacturers – 32-bit RISC Microprocessor For Digital Media Player
TCC720
32-bit RISC Microprocessor for Digital Media Player
Dec. 16. 2002
GPIO PORT
Preliminary Spec 0.51
6 GPIO (General Purpose I/O) PORT
6.1 Functional Description
The TCC720 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. The block diagram of GPIO is in the following
figure.
GIOCON
Output of other
block
2
Output of test or
other block
1
Write GDATA
0
GPIO pin
1
Read GDATA
0
GSEL,
TSEL
Figure 6.1 GPIO Block Diagram
The I/O mode can be set by the state of GIOCONn register.
If a bit of GIOCONn 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 GDATAn
register and when output mode, GPIO pin’s state can be controlled by the state of the
corresponding bit of GDATAn register.
If GDATAn register is read when the mode is output mode, the value that CPU gets is the one
6-1