Freescale Semiconductor Demonstration Board for MC9RS08KA2 von Freescale DEMO9RS08KA2 DEMO9RS08KA2 Ficha De Dados

Códigos do produto
DEMO9RS08KA2
Página de 136
Chapter 7 Keyboard Interrupt (RS08KBIV1)
MC9RS08KA2 Series Data Sheet, Rev. 4
54
Freescale Semiconductor
 
7.3.2
KBI Pin Enable Register (KBIPE)
KBIPE contains the pin enable control bits.
7.3.3
KBI Edge Select Register (KBIES)
KBIES contains the edge select control bits.
1
KBIE
Keyboard Interrupt Enable — KBIE enables keyboard interrupt requests.
0 Keyboard interrupt request not enabled.
1 Keyboard interrupt request enabled.
0
KBMOD
Keyboard Detection Mode — KBMOD (along with the KBEDG bits) controls the detection mode of the keyboard 
interrupt pins.
0 Keyboard detects edges only.
1 Keyboard detects both edges and levels.
 
7
6
5
4
3
2
1
0
R
0
0
KBIPE5
KBIPE4
0
KBIPE2
KBIPE1
KBIPE0
W
Reset:
0
0
0
0
0
0
0
0
Figure 7-4. KBI Pin Enable Register (KBIPE)
Table 7-4. KBIPE Register Field Descriptions
Field
Description
5,4, 2:0
KBIPEn
Keyboard Pin Enables — Each of the KBIPEn bits enables the corresponding keyboard interrupt pin.
0 Corresponding pin not enabled as keyboard interrupt.
1 Corresponding pin enabled as keyboard interrupt.
 
7
6
5
4
3
2
1
0
R
0
0
KBEDG5
KBEDG4
0
KBEDG2
KBEDG1
KBEDG0
W
Reset:
0
0
0
0
0
0
0
0
Figure 7-5. KBI Edge Select Register (KBIES)
Table 7-5. KBIES Register Field Descriptions
Field
Description
5,4, 2:0
KBEDGn
Keyboard Edge Selects — Each of the KBEDGn bits selects the falling edge/low level or rising edge/high level 
function of the corresponding pin.
0 Falling edge/low level.
1 Rising edge/high level.
Table 7-3. KBISC Register Field Descriptions (continued)
Field
Description