|
MC9S12HY64 Datasheet, PDF (107/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers | |||
|
◁ |
Port Integration Module (S12HYPIMV1)
Table 2-47. PTR Register Field Descriptions
Field
7
PTR
Description
Port R general purpose input/output dataâData Register, LCD segment driver output
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
6
PTR
⢠The LCD segment driver output takes precedence over the general purpose I/O function
Port R general purpose input/output dataâData Register, LCD segment driver output, SCL of IIC
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
5
PTR
⢠The LCD segment driver output takes precedence over the IIC and general purpose I/O function
⢠The IIC function takes over the general purpose I/O function
Port R general purpose input/output dataâData Register, LCD segment driver output, SDA of IIC
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
4
PTR
⢠The LCD segment driver output takes precedence over the IIC and general purpose I/O function
⢠The IIC function takes over the general purpose I/O function
Port R general purpose input/output dataâData Register, LCD segment driver output
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
3-0
PTR
⢠The LCD segment driver output takes precedence over the general purpose I/O function
Port R general purpose input/output dataâData Register, TIM1/TIM0 channels
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
⢠The TIM1/TIM0 output compare function takes precedence over the general purpose I/O function1
1 In order TIM input capture to be function correctly, the corresponding DDRR bit should be set as input state
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Freescale Semiconductor
107
|
▷ |