
TCC76x
Specification Rev. 0.07
February 23, 2005
32-bit RISC Microprocessor for Digital Media Player
GPIO PORT
Preliminary
7-4
GPIO_B Data Register (GDATA_B)
0x80000310
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
Data for GPIO_B[29:16] pin
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Data for GPIO_B[15:0] pin
If a certain GPIO_B pin is set to output mode and act as GPIO, the corresponding bit of
this register controls the status of GPIO_B pin; Low or High. If it is set to input mode and
act as GPIO, the corresponding bit represents the status of GPIO_B pin; Low or High.
GPIO_B Direction Control Register (GIOCON_B)
0x80000314
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
Direction control for GPIO_B[29:16] pin
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Direction control for GPIO_B[15:0] pin
If a bit is set to 1, the corresponding GPIO_B pin is set to output mode. If set to 0,
GPIO_B pin is set to input mode.
The GPIO_B[29:28] and GPIO_B[27:26] pin is unable to be set to different I/O mode.
That is, GPIO_B[29] have always same direction with GPIO_B[28], and it is same for
GPIO_B[27] and GPIO_B[26]. So to make GPIO_B[29:28] or GPIO_B[27:26] output
port you must set both GIOCON_B[29] and GIOCON_B[28] to 1 or both GPIO_B[27]
and GPIO_B[26] to 1 concurrently.
GPIO_B Function Select Register (GSEL_B)
0x80000318
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
USBH[1:0]
USB[1:0]
0
DAI[3:0]
LCD[3:0]
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
GS3[2:0]
0
UTX NWE IDE
CS[3:0]
SCS CKE
If a bit is set to 1, the corresponding GPIO_B pin is used by the other dedicated
peripherals. The dedicated peripherals for these GPIO_B pins are USB controller, DAI &
CDIF controller., UART, memory controller, and one of four GSIO ports.
USBH [29:28]
GPIO_B[29:28] Function Select
0
GPIO_B[29:28] pin is working as Normal GPIO Function
3
GPIO_B[29:28] pin are working as USBH D- / D+ Port
USB [27:26]
GPIO_B[27:26] Function Select
0
GPIO_B[27:26] pin is working as Normal GPIO Function
3
GPIO_B[27:26] pin are working as USB D- / D+ Port
DAI [24:21]
GPIO_B[24:21] Function Select
0
GPIO_B[24:21] pin is working as Normal GPIO Function
DAI[3] = 1
DAI[2] = 1
DAI[1] = 1
DAI[0] = 1
GPIO_B[24] pin is working as DAO signal of DAI block
GPIO_B[23] pin is working as MCLK signal of DAI block
GPIO_B[22] pin is working as LRCK signal of DAI block
GPIO_B[21] pin is working as BCLK signal of DAI block