English
Language : 

S912XHY128F0VLM Datasheet, PDF (145/802 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Port Integration Module (S12XHYPIMV1)
Table 2-73. PTV register Field Descriptions
Field
1
PTV
Description
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 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 SSD takes precedence over the Motor Driver, SPI, PWM channel 5, IIC and general purpose I/O function
• 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
Port V general purpose input/output data—Data Register, Motor driver PWM output, TIM1 channel 0, MISO of
PTV 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 5 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 SSD takes precedence over the Motor Driver, TIM0, TIM1, SPI, PWM channel 4, IIC and general purpose
I/O function
• The Motor driver PWM takes precedence over the TIM0, TIM1, SPI, PWM channel 4, IIC and general purpose I/O
function.
• The TIM0 output compare function take 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 In order 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.
2.3.90 Port V Input Register (PTIV)
Address 0x0299
7
R PTIV7
6
PTIV6
5
PTIV5
4
PTIV4
3
PTIV3
2
PTIV2
W
Reset
u
u
u
u
u
u
= Unimplemented or Reserved
u = Unaffected by reset
Figure 2-87. Port V Input Register (PTIV)
1 Read: Anytime.
Write:Never, writes to this register have no effect.
Access: User read1
1
PTIV1
0
PTIV0
u
u
MC9S12XHY-Family Reference Manual, Rev. 1.01
Freescale Semiconductor
145