|
MC9S12HY64 Datasheet, PDF (121/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers | |||
|
◁ |
Port Integration Module (S12HYPIMV1)
2.3.81 Port V Data Register (PTV)
Address 0x0298
R
W
Altern.
Function
Reset
7
PTV7
â
â
â
â
M3C1P
0
6
PTV6
â
â
â
IOC1_3
M3C1M
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
M3C0P
M3C0M
M2C1P
M2C1M
0
0
0
0
Figure 2-79. Port V Data Register (PTV)
Access: User read/write1
1
0
PTV1
PTV0
â
PWM5
MOSI
â
MISO2
PWM4
SCL
IOC1_0
M2C0P
M2C0M
0
0
Table 2-68. PTV register Field Descriptions
Field
7,5
PTV
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 Motor driver PWM takes precedence over the general purpose I/O function.
6, 4 Port V general purpose input/output dataâData Register, Motor driver PWM output, TIM1 channel 3,2
PTV 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 Motor driver PWM 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
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Freescale Semiconductor
121
|
▷ |