Chapter 6 Parallel Input/Output Control

6.7.10.2KBI1 Interrupt Pin Select Register (KBI1PE)

R

W

Reset:

7

6

5

4

3

2

1

0

KBIPE7

KBIPE6

KBIPE5

KBIPE4

KBIPE3

KBIPE2

KBIPE1

KBIPE0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Figure 6-56. KBI1 Interrupt Pin Select Register (KBI1PE)

 

 

Table 6-54. KBI1PE Register Field Descriptions

 

 

 

Field

 

Description

 

 

7–0

KBI1 Interrupt Pin Selects. Each of the KBIPEn bits enable the corresponding KBI1 interrupt pin.

KBIPEn

0

Pin not enabled as interrupt.

 

1

Pin enabled as interrupt.

 

 

 

6.7.10.3KBI1 Interrupt Edge Select Register (KBI1ES)

R

W

Reset:

7

6

5

4

3

2

1

0

KBEDG7

KBEDG6

KBEDG5

KBEDG4

KBEDG3

KBEDG2

KBEDG1

KBEDG0

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Figure 6-57. KBI1 Edge Select Register (KBI1ES)

 

 

Table 6-55. KBI1ES Register Field Descriptions

 

 

 

Field

 

Description

 

 

7–0

KBI1 Edge Selects. Each of the KBEDGn bits serves a dual purpose by selecting the polarity of the active

KBEDGn

interrupt edge as well as selecting a pull-up or pull-down device if enabled.

 

0

A pull-up device is connected to the associated pin and detects falling edge/low level for interrupt generation.

 

1

A pull-down device is connected to the associated pin and detects rising edge/high level for interrupt

 

 

generation.

 

 

 

6.7.11Keyboard Interrupt 1 (KBI2) Registers

KBI2 is controlled by the registers listed below. Table 6-56shows KBI2 pin mapping to the port I/O pins.

Table 6-56. KBI2 Pin Mapping

Port pin

PTD7

PTD6

PTD5

PTD4

PTD3

PTD2

PTD1

PTD0

 

 

 

 

 

 

 

 

 

KBI2 pin

KBI2P7

KBI2P6

KBI2P5

KBI2P4

KBI2P3

KBI2P2

KBI2P1

KBI2P0

 

 

 

 

 

 

 

 

 

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

141

Get the latest version from freescale.com

Page 141
Image 141
Freescale Semiconductor MCF51QE128RM Keyboard Interrupt 1 KBI2 Registers, 10.2 KBI1 Interrupt Pin Select Register KBI1PE