English
Language : 

MC9S12HY64 Datasheet, PDF (116/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Port Integration Module (S12HYPIMV1)
Field
3-0
PIFR
Table 2-61. PIFR Register Field Descriptions
Description
Port R interrupt flag—
Each flag is set by an active edge on the associated input pin. This could be a rising or a falling edge based on the
state of the PPSR register. To clear this flag, write logic level 1 to the corresponding bit in the PIFR register. Writing
a 0 has no effect.
1 Active edge on the associated bit has occurred (an interrupt will occur if the associated enable bit is set).
0 No active edge pending.
2.3.73 Port U Data Register (PTU)
Address 0x0290
R
W
Altern.
Function
Reset
7
PTU7
—
M1C1P
0
1 Read: Anytime.
Write: Anytime.
6
PTU6
5
PTU5
4
PTU4
3
PTU3
2
PTU2
IOC0_3
—
IOC0_2
—
IOC0_1
M1C1M
M1C0P
M1C0M
M0C1P
M0C1M
0
0
0
0
0
Figure 2-71. Port U Data Register (PTU)
Access: User read/write1
1
0
PTU1
PTU0
—
M0C0P
0
IOC0_0
M0C0M
0
Table 2-62. PTU Register Field Descriptions
Field
Description
7,5,3,1
PTU
Port U general purpose input/output data—Data Register, Motor driver PWM output
Port U 7,5,3,1 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.
6,4,2,0
PTU
• The Motor driver PWM takes precedence over the general purpose I/O function.
Port U general purpose input/output data—Data Register, Motor driver PWM output, TIM0 channels 3-0
Port U 6,4,2,0 pins are associated with the Motor PWM output and TIM0 channels 3-0
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 TIM0 and the general purpose I/O function.
• The TIM0 output function takes precedence over the general purpose I/O function if related channel is enabled1
1 In order TIM input capture to be function correctly, all the output function on the corresponding port shoud be set to 0. Also the
corresponding SRRU bit should be set to 0.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
116
Freescale Semiconductor