mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 80

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1
Port Integration Module (S12VRPIMV2)
2.3.31
80
Address 0x025F
Read: Anytime
Write: Anytime, write 1 to clear
OCIE
OCIF
Field
PIEP
Field
PIFP
Reset
5-0
5-0
7
7
W
R
Over-Current Interrupt Enable register port P —
This bit enables or disables the over-current interrupt on PP2.
1 PP2 over-current interrupt enabled
0 PP2 over-current interrupt disabled (interrupt flag masked)
Pin Interrupt Enable register port P —
This bit enables or disables the edge sensitive pin interrupt on the associated pin. An interrupt can be generated if
the pin is operating in input or output mode when in use with the general-purpose or related peripheral function.
1 Interrupt is enabled
0 Interrupt is disabled (interrupt flag masked)
Over-Current Interrupt Flag register port P —
This flag asserts if an over-current condition is detected on PP2
1 PP2 Over-current event occurred
0 No PP2 over-current event occurred
Pin Interrupt Flag register port P —
This flag asserts after a valid active edge was detected on the related pin
a rising or a falling edge based on the state of the polarity select register. An interrupt will occur if the associated
interrupt enable bit is set.
1 Active edge on the associated bit has occurred
0 No active edge occurred
OCIF
Port P Interrupt Flag Register (PIFP)
0
7
0
0
6
Figure 2-30. Port P Interrupt Flag Register (PIFP)
Table 2-31. PIEP Register Field Descriptions
Table 2-32. PIFP Register Field Descriptions
MC9S12VR Family Reference Manual,
Preliminary - Subject to Change Without Notice
PIFP5
5
0
PIFP4
0
4
Description
Description
PIFP3
0
3
(Section 2.4.4.3, “Over-Current
Rev. 2.2
(Section 2.4.4,
PIFP2
0
2
Freescale Semiconductor
“Interrupts”). This can be
Access: User read/write
PIFP1
0
1
Interrupt”).
PIFP0
0
0
1

Related parts for mc9s12vr48