English
Language : 

S912XHY128F0VLM Datasheet, PDF (143/802 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Port Integration Module (S12XHYPIMV1)
2.3.89 Port V Data Register (PTV)
Address 0x0298
7
R
PTV7
W
—
—
—
—
Altern.
Function
Reset
M3C1P
M3SINP
0
6
PTV6
—
—
—
IOC1_3
IOC0_7
M3C1M
M3SINM
0
1 Read: Anytime.
Write: Anytime
2 Special SPI/PWM&IIC priority
5
PTV5
4
PTV4
3
PTV3
2
PTV2
—
—
SS
—
—
—
PWM7
PWM6
—
—
SDA
SCK
—
IOC1_2
—
IOC1_1
IOC0_6
IOC0_5
M3C0P
M3C0M
M2C1P
M2C1M
M3COSP M3COSM M2SINP
M2SINM
0
0
0
0
Figure 2-86. Port V Data Register (PTV)
Access: User read/write1
1
0
PTV1
PTV0
—
PWM5
MOSI
—
MISO2
PWM4
SCL
IOC1_0
IOC0_4
M2C0P
M2C0M
M2COSP
0
M2COSM
0
Field
7,5
PTV
6, 4
PTV
Table 2-73. PTV register Field Descriptions
Description
Port V general purpose input/output data—Data Register, Motor driver PWM output
Port V pins are associated with the Motor PWM output.
When not used with the alternative functions, these pins can be used as general purpose I/O. If the associated data
direction bits of these pins are 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 and general purpose I/O function
• The Motor driver PWM takes precedence over the general purpose I/O function.
Port V general purpose input/output data—Data Register, Motor driver PWM output, TIM1 channel 3,2
Port V pins are associated with the Motor PWM output and TIM1 channels 3-2
When not used with the alternative functions, these pins can be used as general purpose I/O. If the associated data
direction bits of these pins are 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 and TIM0,TIM1 and general purpose I/O function
• The Motor driver PWM takes precedence over the TIM0, TIM1 and the general purpose I/O function.
• The TIM0 output compare function takes precedence over the TIM1 and the general purpose I/O function.
• The TIM1 output compare function takes precedence over the general purpose I/O function if the related channels
is enabled1
MC9S12XHY-Family Reference Manual, Rev. 1.01
Freescale Semiconductor
143