beautypg.com

Keypad interrupt (kbi) – Philips P89LPC903 User Manual

Page 81

background image

Philips Semiconductors

User’s Manual - Preliminary -

P89LPC901/902/903

KEYPAD INTERRUPT (KBI)

2003 Dec 8

81

Figure 11-6: Keypad Interrupt Mask Register (KBM)) - P89LPC902

Figure 11-7: Keypad Interrupt Mask Register (KBM)) - P89LPC903

KBMASK
Address: 86h

Not bit addressable
Reset Source(s): Any reset
Reset Value: 00000000B
BIT

SYMBOL

FUNCTION

KBMASK.7

-

Reserved.

KBMASK.6

-

When set, enables P0.6 as a cause of a Keypad Interrupt.

KBMASK.5

-

When set, enables P0.5 as a cause of a Keypad Interrupt.

KBMASK.4

-

When set, enables P0.4 as a cause of a Keypad Interrupt.

KBMASK.3

-

Reserved.

KBMASK.2

-

When set, enables P0.2 as a cause of a Keypad Interrupt.

KBMASK.1

-

Reserved.

KBMASK.0

-

When set, enables P0.0 as a cause of a Keypad Interrupt.

Note: the Keypad Interrupt must be enabled in order for the settings of the KBMASK register to be effective.

Bit positions KBMASK.7, KBMASK.3, and KBMASK.1 should always be written as a ’0’.

7

6

5

4

3

2

1

0

-

KBMASK.6 KBMASK.5 KBMASK.4

-

KBMASK.2

-

KBMASK.0

KBMASK
Address: 86h

Not bit addressable
Reset Source(s): Any reset
Reset Value: 00000000B
BIT

SYMBOL

FUNCTION

KBMASK.7:6

-

Reserved.

KBMASK.5

-

When set, enables P0.5 as a cause of a Keypad Interrupt.

KBMASK.4

-

When set, enables P0.4 as a cause of a Keypad Interrupt.

KBMASK.3

-

Reserved.

KBMASK.2

-

When set, enables P0.2 as a cause of a Keypad Interrupt.

KBMASK.1:0

-

Reserved.

Note: the Keypad Interrupt must be enabled in order for the settings of the KBMASK register to be effective.

Bit positions KBMASK.7, KBMASK.6, KBMASK.3, KBMASK.1, and KBMASK.0 should always be written as a ’0’.

7

6

5

4

3

2

1

0

-

-

KBMASK.5 KBMASK.4

-

KBMASK.2

-

-

This manual is related to the following products: