Rainbow Electronics AT89LP214 User Manual

Page 37

Advertising
background image

37

3538A–MICRO–7/06

AT89LP213/214 [Preliminary]

.

.

Table 16-2.

GPLS

– General-purpose Interrupt Level Select Register

GPLS = 9BH

Reset Value = 0000 0000B

Not Bit Addressable

GPLS7

GPLS6

GPLS5

GPLS4

GPLS3

GPLS2

GPLS1

GPLS0

Bit

7

6

5

4

3

2

1

0

GPMOD.x

0 = detect low level or negative edge on P1.x

1 = detect high level or positive edge on P1.x

Table 16-3.

GPIEN

– General-purpose Interrupt Enable Register

GPIEN = 9CH

Reset Value = 0000 0000B

Not Bit Addressable

GPIEN7

GPIEN6

GPIEN5

GPIEN4

GPIEN3

GPIEN2

GPIEN1

GPIEN0

Bit

7

6

5

4

3

2

1

0

GPIEN.x

0 = interrupt for P1.x disabled

1 = interrupt for P1.x enabled

Table 16-4.

GPIF

– General-purpose Interrupt Flag Register

GPIF = 9DH

Reset Value = 0000 0000B

Not Bit Addressable

GPIF7

GPIF6

GPIF5

GPIF4

GPIF3

GPIF2

GPIF1

GPIF0

Bit

7

6

5

4

3

2

1

0

GPIF.x

0 = interrupt on P1.x inactive

1 = interrupt on P1.x active. Must be cleared by software.

Advertising