MSC8113 Reference Manual, Rev. 0
23-10
Freescale Semiconductor
GPIO
PODR indicates a normal or active low open drain mode for wired-OR configuration of the
outputs.
When a GPIO port has Ethernet functionality (see Table 23-1), PODRx does not influence its
driving mode.
A read of a PDAT register returns the data at the pin, independently of whether the port is defined
as an input or output. Thus, output conflicts at the pin can be detected by comparing the written
data with the data on the pin. A write to the PDATx is sampled in a register bit, and if the
equivalent PDIR bit is configured as an output, the value sampled for that bit is driven onto its
respective pin. PDAT can be read or written at any time.
If a pin is selected as GPIO, it is accessed through the PDAT. Data written to the PDAT register
is stored in an output register. If a port is configured as an output, the output register data is gated
onto the pin. When PDAT is read, the GPIO pin itself is read. If a GPIO port is configured as an
input, data written to the PDAT register is still stored in the output register, but it is prevented
from reaching the actual pin. When the PDAT register is read, the state of the actual pin is read.
PODR
Pin Open-Drain Register
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
OD31 OD30 OD29 OD28 OD27 OD26 OD25 OD24 OD23 OD22 OD21 OD20 OD19 OD18 OD17 OD16
Type
R/W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
OD15 OD14 OD13 OD12 OD11 OD10
OD9
OD8
OD7
OD6
OD5
OD4
OD3
OD2
OD1
OD0
Type
R/W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 23-3. PODR Bit Descriptions
Name
Reset
Description
Settings
OD[31–0]
0–31
0
Open-Drain Configuration
Determines whether the corresponding port is
actively driven as an output or is an open-drain
driver. As an open-drain driver, the port is
driven active-low. Otherwise, it is tri-stated
(high impedance).
0 The I/O port is actively driven as an output.
1 The I/O port is an open-drain driver.
PDAT
Pin Data Register
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
D31
D30
D29
D28
D27
D26
D25
D24
D23
D22
D21
D20
D19
D18
D17
D16
Type
R/W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
Type
R/W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Содержание MSC8113
Страница 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Страница 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Страница 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Страница 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Страница 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Страница 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Страница 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Страница 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Страница 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Страница 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Страница 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Страница 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Страница 544: ...MSC8113 Reference Manual Rev 0 16 46 Freescale Semiconductor Direct Memory Access DMA Controller ...
Страница 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Страница 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Страница 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Страница 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Страница 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Страница 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Страница 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Страница 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...