mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 75

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor
Field
PTP
PTP
PTP
PTP
5
4
3
2
PorT data register port P — General-purpose input/output data, PWM output, ETRIG input, pin interrupt
input/output, IRQ input
The IRQ signal is mapped to this pin when used with the IRQ interrupt function. If enabled
(IRQCR[IRQEN]=1) the I/O state of the pin is forced to be an input.
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
synchronized pin input state is read.
PorT data register port P — General-purpose input/output data, PWM output, ETRIG input, pin interrupt
input/output
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
synchronized pin input state is read.
PorT data register port P — General-purpose input/output data, PWM output, pin interrupt input/output
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
synchronized pin input state is read.
PorT data register port P — General-purpose input/output data, PWM output, switchable high-current capable
external supply with over-current protection (EVDD)
The associated pin can be used as general-purpose I/O or as a supply for external devices such as Hall sensors
(see
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the
synchronized pin input state is read.
• The IRQ function takes precedence over the PWM and the general-purpose I/O function if enabled.
• 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.
• The ETRIG function has no effect on the I/O state.
• 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.
• The ETRIG function has no effect on the I/O state.
• 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.
• 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.
• An over-current interrupt can be generated if enabled. Refer to
Section 2.5.3, “Over-Current Protection on
Table 2-25. PTP Register Field Descriptions
MC9S12VR Family Reference Manual, Rev. 2.2
Preliminary - Subject to Change Without Notice
EVDD”. In output mode the register bit value is driven to the pin.
Description
Section 2.4.4.3, “Over-Current
Port Integration Module (S12VRPIMV2)
Interrupt”
75

Related parts for mc9s12vr48