English
Language : 

S9S12XS256J0CAL Datasheet, PDF (103/738 Pages) Freescale Semiconductor, Inc – Microcontrollers
Port Integration Module (S12XSPIMV1)
Field
7
PTP
6-3
PTP
2
PTP
Table 2-39. PTP Register Field Descriptions
Description
Port P general purpose input/output data—Data Register, PWM input/output, pin interrupt input/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.
• The PWM function takes precedence over the general purpose I/O function if the related channel or the
emergency shut-down feature is enabled.
• Pin interrupts can be generated if enabled in input or output mode.
Port P general purpose input/output data—Data Register, PWM output, pin interrupt input/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.
• The PWM function takes precedence over the general purpose I/O function if the related channel is enabled.
• Pin interrupts can be generated if enabled in input or output mode.
Port P general purpose input/output data—Data Register, PWM output, routed TIM output, routed SCI1 TXD
output, pin interrupt input/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.
• The PWM function takes precedence over the TIM, SCI1 and general purpose I/O function if the related channel
is enabled.
• The TIM function takes precedence over SCI1 and the general purpose I/O function if the related channel is
enabled.
• The SCI1 function takes precedence over the general purpose I/O function if enabled.
• Pin interrupts can be generated if enabled in input or output mode.
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
103