SNIU028D February 2016 – September 2020 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138A , UCD3138A64
Address FFF7EC2C – UART 0 I/O (SCLK) Control Register
Address FFF7ED2C – UART 1 I/O (SCLK) Control Register
Address FFF7EC30 – UART 0 I/O (RX) Control Register
Address FFF7ED30 – UART 1 I/O (RX) Control Register
Address FFF7EC34 – UART 0 I/O (TX) Control Register
Address FFF7ED34 – UART 1 I/O (TX) Control Register
3 | 2 | 1 | 0 |
DATA_IN | DATA_OUT | IO_FUNC | IO_DIR |
R-0 | R/W-0 | R/W-0 | R/W-0 |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
3 | DATA_IN | R | 0 | Data received from pin when configured as GPIO |
2 | DATA_OUT | R/W | 0 | Data transmitted to pin when configured as GPIO |
1 | IO_FUNC | R/W | 0 | Selects the function for UART pins 0 = GPIO mode (Default) 1 = Normal UART operation |
0 | IO_DIR | R/W | 0 | Pin direction when configured as GPIO 0 = Input (Default) 1 = Output |