Freescale Semiconductor Demonstration Board for Freescale MC9S12XHY256 Microcontroller DEMO9S12XHY256 DEMO9S12XHY256 用户手册

产品代码
DEMO9S12XHY256
下载
页码 924
Port Integration Module (S12XHYPIMV1)
MC9S12XHY-Family Reference Manual, Rev. 1.04
134
Freescale Semiconductor
2.3.74
Port T Interrupt Flag Register (PIFT)
2.3.75
Port S Interrupt Enable Register (PIES)
Read: Anytime.
 Address 0x0289
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
PIFT7
PIFT6
PIFT5
PIFT4
PIFT3
PIFT2
PIFT1
PIFT0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-71. Port TInterrupt Flag Register (PIFT)
Table 2-59. PIFT Register Field Descriptions
Field
Description
6-5
PIFT
Port T 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 PPST register. To clear this flag, write logic level 1 to the corresponding bit in the PIFS register. Writing
a 0 has no effect.
1
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.
1
In order to enable the key wakup function, need to disable the LCD FP function first
 Address 0x028A
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
0
PIES6
PIES5
0
PIES3
PIES2
0
0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-72. Port S Interrupt Enable Register (PIES)
Table 2-60. PIES Register Field Descriptions
Field
Description
6-5 3-2
PIES
Port S interrupt enable
This register disables or enables on a per-pin basis the edge sensitive external interrupt associated with Port S.
1 Interrupt is enabled.
0 Interrupt is disabled (interrupt flag masked).