beautypg.com

Rainbow Electronics W79E8213R User Manual

Page 24

background image

Preliminary W79E8213/W79E8213R Data Sheet

Publication Release Date: July 11, 2008

- 24 -

Revision A2

BIT NAME

FUNCTION

7

EA

Global enable. Enable/Disable all interrupts.

6

EADC

Enable ADC interrupt.

5

EBO

Enable Brown Out interrupt.

4 -

Reserved.

3

ET1

Enable Timer 1 interrupt.

2

EX1

Enable external interrupt 1.

1

ET0

Enable Timer 0 interrupt.

0

EX0

Enable external interrupt 0.

PORT 0 OUTPUT MODE 1

Bit:

7 6 5 4 3 2 1 0

P0M1.7 P0M1.6 P0M1.5 P0M1.4 P0M1.3 P0M1.2 P0M1.1 P0M1.0

Mnemonic: P0M1

Address: B1h

BIT NAME

FUNCTION

7-0

P0M1.[7:0] To control the output configuration of P0 bits [7:0]

PORT 0 OUTPUT MODE 2

Bit:

7 6 5 4 3 2 1 0

P0M2.7 P0M2.6 P0M2.5 P0M2.4 P0M2.3 P0M2.2 P0M2.1 P0M2.0

Mnemonic: P0M2

Address: B2h

BIT NAME

FUNCTION

7-0

P0M2.[7:0] To control the output configuration of P0 bits [7:0]

PORT 1 OUTPUT MODE 1

Bit:

7 6 5 4 3 2 1 0

P1M1.7 P1M1.6 -

P1M1.4 P1M1.3 P1M1.2 P1M1.1 P1M1.0

Mnemonic: P1M1

Address: B3h

BIT NAME

FUNCTION

7-0

P1M1.[7:0] To control the output configuration of P1 bits [7:0]

PORT 1 OUTPUT MODE 2

Bit:

7 6 5 4 3 2 1 0

P1M2.7 P1M2.6 -

P1M2.4 P1M2.3 P1M2.2 P1M2.1 P1M2.0

Mnemonic: P1M2

Address: B4h

BIT NAME

FUNCTION

7-0

P1M2.[7:0] To control the output configuration of P1 bits [7:0]