TCC720
GPIO PORT
32-bit RISC Microprocessor for Digital Media Player
Dec. 16. 2002
Preliminary Spec 0.51
6 - 1
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.
MU
X
GDATA
APB
Write
Read GDATA
Output of other
block
MUX
GPIO pin
GSEL,
TSEL
0
2
GIOCON
1
0
1
Output of test or
other block
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
Содержание TCC720
Страница 1: ...USER S MANUAL TCC720 32 bit RISC Microprocessor For Digital Media Player Preliminary Rev 0 51...
Страница 3: ...CHAPTER 1 INTRODUCTION...
Страница 12: ...CHAPTER 2 ADDRESS REGISTER MAP...
Страница 22: ...CHAPTER 3 DAI CDIF...
Страница 33: ...CHAPTER 4 INTERRUPT CONTROLLER...
Страница 38: ...CHAPTER 5 TIMER COUNTER...
Страница 45: ...CHAPTER 6 GPIO PORT...
Страница 53: ...CHAPTER 7 CLOCK GENERATOR...
Страница 68: ...CHAPTER 8 USB CONTROLLER...
Страница 82: ...CHAPTER 9 UART IrDA CONTROLLER...
Страница 93: ...CHAPTER 10 GSIO PORT...
Страница 99: ...CHAPTER 11 MISCELLANEOUS PERIPHERALS...
Страница 106: ...CHAPTER 12 DMA CONTROLLER...
Страница 115: ...CHAPTER 13 MEMORY CONTROLLER...
Страница 130: ...CHAPTER 14 BOOTING PROCEDURE...
Страница 140: ...CHAPTER 15 JTAG DEBUG INTERFACE...
Страница 142: ...CHAPTER 16 PACKAGE DEMENSION...