PORT_PTGD field descriptions (continued)
Field
Description
For port G pins that are configured as Hi-Z, a read returns uncertainty data.
Writes are latched into all bits of this register. For port G pins that are configured as outputs, the logic level
is driven out of the corresponding MCU pin.
Reset forces PTGD 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.
7.7.8 Port H Data Register (PORT_PTHD)
For port H pins that are configured as inputs, a read returns the logic level on the pin.
For port H pins that are configured as outputs, a read returns the last value that was
written to this register.
For port H pins that are configured as Hi-Z, a read returns uncertainty data.
Writes are latched into all bits of this register. For port H pins that are configured as
outputs, the logic level is driven out of the corresponding MCU pin.
Reset forces PTHD 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.
Address: 0h base + 7h offset = 7h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
PORT_PTHD field descriptions
Field
Description
7
PTHD7
Port H Data Register Bit 7
6
PTHD6
Port H Data Register Bit 6
5–3
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
2
PTHD2
Port H Data Register Bit 2
1
PTHD1
Port H Data Register Bit 1
0
PTHD0
Port H Data Register Bit 0
Port data registers
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
166
Freescale Semiconductor, Inc.
Содержание MC9S08PT60
Страница 2: ...MC9S08PT60 Reference Manual Rev 4 08 2014 2 Freescale Semiconductor Inc...
Страница 34: ...MC9S08PT60 Reference Manual Rev 4 08 2014 34 Freescale Semiconductor Inc...
Страница 40: ...System clock distribution MC9S08PT60 Reference Manual Rev 4 08 2014 40 Freescale Semiconductor Inc...
Страница 120: ...Flash and EEPROM registers descriptions MC9S08PT60 Reference Manual Rev 4 08 2014 120 Freescale Semiconductor Inc...
Страница 200: ...Port data registers MC9S08PT60 Reference Manual Rev 4 08 2014 200 Freescale Semiconductor Inc...
Страница 228: ...System clock gating control registers MC9S08PT60 Reference Manual Rev 4 08 2014 228 Freescale Semiconductor Inc...
Страница 262: ...Human machine interfaces HMI MC9S08PT60 Reference Manual Rev 4 08 2014 262 Freescale Semiconductor Inc...
Страница 298: ...Functional Description MC9S08PT60 Reference Manual Rev 4 08 2014 298 Freescale Semiconductor Inc...
Страница 396: ...FTM Interrupts MC9S08PT60 Reference Manual Rev 4 08 2014 396 Freescale Semiconductor Inc...
Страница 440: ...Functional description MC9S08PT60 Reference Manual Rev 4 08 2014 440 Freescale Semiconductor Inc...
Страница 468: ...Initialization Application Information MC9S08PT60 Reference Manual Rev 4 08 2014 468 Freescale Semiconductor Inc...
Страница 570: ...Application information MC9S08PT60 Reference Manual Rev 4 08 2014 570 Freescale Semiconductor Inc...
Страница 648: ...Memory map and register description MC9S08PT60 Reference Manual Rev 4 08 2014 648 Freescale Semiconductor Inc...
Страница 676: ...Resets MC9S08PT60 Reference Manual Rev 4 08 2014 676 Freescale Semiconductor Inc...