Port Integration Module (S12PPIMV1)
2.3.56 Port J Interrupt Flag Register (PIFJ)
Address 0x026F
Access: User read/write(1)
7
6
5
4
3
2
1
0
R
W
0
0
0
PIFJ7
PIFJ6
PIFJ2
PIFJ1
PIFJ0
Reset
0
0
0
0
0
0
0
0
Figure 2-54. Port J Interrupt Flag Register (PIFJ)
1. Read: Anytime
Write: Anytime
Table 2-50. PIFJ Register Field Descriptions
Description
Field
7-6, 2-0 Port J interrupt flag—
PIFJ
The flag bit is set after an active edge was applied to the associated input pin. This can be a rising or a falling edge
based on the state of the polarity select register.
Writing a logic “1” to the corresponding bit field clears the flag.
1 Active edge on the associated bit has occurred (an interrupt will occur if the associated enable bit is set)
0 No active edge occurred
2.3.57 Port AD Data Register (PT0AD)
Address 0x0270
Access: User read/write(1)
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
PT0AD1
PT0AD0
W
Altern.
Function
—
0
—
0
—
0
—
0
—
0
—
0
AN9
0
AN8
0
Reset
Figure 2-55. Port AD Data Register (PT0AD)
1. Read: Anytime. The data source is depending on the data direction value.
Write: Anytime
Table 2-51. PT0AD Register Field Descriptions
Field
Description
Port AD general purpose input/output data—Data Register, ATD AN analog input
1-0
PT0AD
When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin.
If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the buffered
pin input state is read.
S12P-Family Reference Manual, Rev. 1.13
96
Freescale Semiconductor