Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

9S12HY32 View Datasheet(PDF) - Freescale Semiconductor

Part Name
Description
MFG CO.
9S12HY32
Freescale
Freescale Semiconductor Freescale
'9S12HY32' PDF : 790 Pages View PDF
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.02
Freescale Semiconductor
121
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]