Port Integration Module (S12HYPIMV1)
MC9S12HY/HA-Family Reference Manual, Rev. 1.05
Freescale Semiconductor
71
2.3.3
Port A Data Register (PORTA)
Address 0x0000 (PRR)
Access: User read/write1
1 Read: Anytime. The data source is depending on the data direction value.
Write: Anytime
76543210
R
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA7
W
————
API_EXTCLK
—
XIRQ
IRQ
Altern.
Function
FP36
FP35
FP34
FP33
FP32
FP31
FP30
FP29
Reset
00000000
Figure 2-1. Port A Data Register (PORTA)
Table 2-4. PORTA Register Field Descriptions
Field
Description
7-4,2
PA
Port A general purpose input/output data—Data Register, LCD segment driver output
The associated pin can be used as general purpose I/O when not used as alternative function. 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 LCD segment driver output takes precedence over the general purpose I/O function if the related LCD
segment is enabled.
3
PA
Port A general purpose input/output data—Data Register, LCD segment driver output, API_EXTCLK
The associated pin can be used as general purpose I/O when not used as alternative function. 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 LCD segment driver output takes precedence over the API_EXTCLK and general purpose I/O function if the
related LCD segment is enabled.
The API_EXTCLK takes precedence over the general purpose I/O function if the API_EXTCLK function is enabled
1
PA
Port A general purpose input/output data—Data Register, LCD segment driver output, XIRQ
The associated pin can be used as general purpose I/O when not used as alternative function. 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 LCD segment driver output takes precedence over the XIRQ and general purpose I/O function if the related
LCD segment is enabled.
The XIRQ takes precedence over the general purpose I/O function if the XIRQ function is enabled
0
PA
Port A general purpose input/output data—Data Register, LCD segment driver output, IRQ
The associated pin can be used as general purpose I/O when not used as alternative function. 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 LCD segment driver output takes precedence over the IRQ and general purpose I/O function if the related
LCD segment is enabled.
The IRQ takes precedence over the general purpose I/O function if the IRQ function is enabled