mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 156

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 4 Port Integration Module (PIM9HZ256V2)
4.3.8
Port V is associated with the stepper stall detect (SSD3 and SSD2) and motor controller (MC3 and MC2)
modules. Each pin is assigned to these modules according to the following priority: SSD3/SSD2 >
MC3/MC2 > general-purpose I/O.
If SSD3 module is enabled, the PV[7:4] pins are controlled by the SSD3 module. If SSD3 module is
disabled, the PV[7:4] pins are controlled by the motor control PWM channels 7 and 6 (MC3).
If SSD2 module is enabled, the PV[3:0] pins are controlled by the SSD2 module. If SSD2 module is
disabled, the PV[3:0] pins are controlled by the motor control PWM channels 5 and 4 (MC2).
Refer to the SSD and MC block description chapters for information on enabling and disabling the SSD
module and the motor control PWM channels respectively.
During reset, port V pins are configured as high-impedance inputs.
4.3.8.1
Read: Anytime. Write: anytime.
If the associated data direction bit (DDRVx) is set to 1 (output), a read returns the value of the I/O register
bit.
If the associated data direction bit (DDRVx) is set to 0 (input) and the slew rate is enabled, the associated
I/O register bit (PTVx) reads “1”.
If the associated data direction bit (DDRVx) is set to 0 (input) and the slew rate is disabled, a read returns
the value of the pin.
156
SSD3/
SSD2
Reset
MC:
W
R
M3SINP
M3C1P
Port V
PTV7
Port V I/O Register (PTV)
0
7
M3SINM
M3C1M
PTV6
0
6
Figure 4-49. Port V I/O Register (PTV)
M3COSP
M3C0P
PTV5
MC9S12HZ256 Data Sheet, Rev. 2.05
0
5
M3COSM
M3C0M
PTV4
0
4
M2SINP
M2C1P
PTV3
0
3
M2SINM
M2C1M
PTV2
0
2
M2COSP
M2C0P
Freescale Semiconductor
PTV1
0
1
M2COSM
M2C0M
PTV0
0
0

Related parts for mc9s12hz256v2