PORT memory map (continued)
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
30B0
Port A Output Enable Register (PORT_PTAOE)
8
R/W
00h
30B1
Port B Output Enable Register (PORT_PTBOE)
8
R/W
00h
30B2
Port C Output Enable Register (PORT_PTCOE)
8
R/W
00h
30B8
Port A Input Enable Register (PORT_PTAIE)
8
R/W
00h
30B9
Port B Input Enable Register (PORT_PTBIE)
8
R/W
00h
30BA
Port C Input Enable Register (PORT_PTCIE)
8
R/W
00h
30EC
Port Filter Register 0 (PORT_IOFLT0)
8
R/W
00h
30EE
Port Filter Register 2 (PORT_IOFLT2)
8
R/W
00h
30EF
Port Clock Division Register (PORT_FCLKDIV)
8
R/W
00h
30F0
Port A Pullup Enable Register (PORT_PTAPE)
8
R/W
00h
30F1
Port B Pullup Enable Register (PORT_PTBPE)
8
R/W
00h
30F2
Port C Pullup Enable Register (PORT_PTCPE)
8
R/W
00h
7.7.1 Port A Data Register (PORT_PTAD)
Address: 0h base + 0h offset = 0h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
PORT_PTAD field descriptions
Field
Description
7–6
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
PTAD
Port A Data Register Bits
For port A pins that are configured as inputs, a read returns the logic level on the pin.
For port A pins that are configured as outputs, a read returns the last value that was written to this register.
For port A pins that are configured as Hi-Z, a read returns uncertainty data.
Writes are latched into all bits of this register. For port A pins that are configured as outputs, the logic level
is driven out of the corresponding MCU pin.
Reset forces PTAD to all 0s, but these 0s are not driven out of the corresponding pins because reset also
configures all port pins as high-impedance inputs with pullups disabled.
Chapter 7 Parallel input/output
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
135
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...