MSC8144E Reference Manual, Rev. 3
22-8
Freescale
Semiconductor
GPIO
22.5.2 Pin Data Register (PDAT)
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.
When a GPIO port has Ethernet functionality (see Table 22-1), data written to PDATx is stored
in the output register, but it is prevented from reaching the external port. Read of PDATx returns
the data at the external port, independently of whether the port is defined as input or output in
Ethernet Controller.
PDAT
Pin Data Register
Offset 0x08
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
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
Содержание MSC8144E
Страница 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Страница 40: ...MSC8144E Reference Manual Rev 3 xl Freescale Semiconductor Contents 26 5 12 8 RNG Output FIFO 26 186 ...
Страница 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Страница 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Страница 167: ...OCE Event and JTAG Test Access Port Signals MSC8144E Reference Manual Rev 3 Freescale Semiconductor 3 59 ...
Страница 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Страница 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Страница 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Страница 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Страница 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Страница 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Страница 884: ...MSC8144E Reference Manual Rev 3 17 44 Freescale Semiconductor RapidIO Interface Dedicated DMA Controller ...
Страница 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...