Port Integration Module (S12HYPIMV1)
MC9S12HY/HA-Family Reference Manual, Rev. 1.05
122
Freescale Semiconductor
3
PTV
Port V general purpose input/output data—Data Register, Motor driver PWM output, SS of SPI, PWM channel 7,
SDA of IIC
Port V pin 3 is associated with the Motor PWM output, SPI and PWM channel 7 and IIC.
When not used with the alternative functions, this pin can be used as general purpose I/O. If the associated data
direction bit of this pins is set to 1, a read returns the value of the port register, otherwise the buffered pin input state
is read.
The Motor driver PWM takes precedence over the SPI, PWM channel 7, IIC and general purpose I/O function.
The SDA of IIC takes precedence over the PWM channel 7, SPI and general purpose I/O function
The PWM channel 7 takes precedence over the SPI and general purpose I/O function
The SS of SPI takes precedence over the general purpose I/O function
2
PTV
Port V general purpose input/output data—Data Register, Motor driver PWM output, TIM1 channel 1, SCK of SPI,
PWM channel 6
Port V pin 2 is associated with the Motor PWM output, SPI and PWM channel 6.
When not used with the alternative functions, this pin can be used as general purpose I/O. If the associated data
direction bit of this pins is set to 1, a read returns the value of the port register, otherwise the buffered pin input state
is read.
The Motor driver PWM takes precedence over the TIM1, SPI, PWM channel 6 and general purpose I/O function.
The TIM1 channel 1 output function takes precedence over the SPI, PWM channels 6 and the general purpose
I/O function if related channel is enabled
1 The SCK of SPI takes precedence over the PWM channel 6 and the general purpose I/O function
The PWM channel 6 takes precedence over the general purpose I/O function
1
PTV
Port V general purpose input/output data—Data Register, Motor driver PWM output, MOSI of SPI, PWM channel
5
Port V pin 1 is associated with the Motor PWM output, SPI and PWM channel 5.
When not used with the alternative functions, this pin can be used as general purpose I/O. If the associated data
direction bit of this pins is set to 1, a read returns the value of the port register, otherwise the buffered pin input state
is read.
The Motor driver PWM takes precedence over the SPI, PWM channel 5 and general purpose I/O function.
The MOSI of SPI takes precedence over the PWM channel 5 and the general purpose I/O function
The PWM channel 5 takes precedence over the general purpose I/O function
0
PTV
Port V general purpose input/output data—Data Register, Motor driver PWM output, TIM1 channel 0, MISO of
SPI, PWM channel 4, SCL of IIC
Port V pin 0 is associated with the Motor PWM output, TIM1 channel 0, SPI and PWM channel 4 and IIC.
When not used with the alternative functions, this pin can be used as general purpose I/O. If the associated data
direction bit of this pins is set to 1, a read returns the value of the port register, otherwise the buffered pin input state
is read.
The Motor driver PWM takes precedence over the TIM1, SPI, PWM channel 4, IIC and general purpose I/O
function.
The TIM1 output compare function take precedence over the SPI, PWM channel4, IIC and general purpose
I/O1 The SCL of IIC takes presentees over the PWM channel 4, SPI and general purpose I/O function
The PWM channel 4 takes precedence over the SPI and the general purpose I/O function
The MISO of SPI takes precedence over the general purpose I/O function
1 For the TIM1 input capture to be function correctly, need to disable all the output functions on the corresponding channel. Also
the corresponding SRRV bit should be set to 0.
Table 2-68. PTV register Field Descriptions
Field
Description