beautypg.com

Registers – Rainbow Electronics T89C5115 User Manual

Page 20

background image

20

T89C5115

4128A–8051–04/02

Registers

PCON (S:87h)
Table 14. PCON Register

Power Configuration Register

Reset Value = XXXX 0000b

7

6

5

4

3

2

1

0

GF1

GF0

PD

IDL

Bit

Number

Bit

Mnemonic

Description

7-4

Reserved
The value read from these bits is indeterminate. Do not set these bits.

3

GF1

General-purpose flag 1
One use is to indicate whether an interrupt occurred during normal operation or
during Idle mode.

2

GF0

General-purpose flag 0
One use is to indicate whether an interrupt occurred during normal operation or
during Idle mode.

1

PD

Power-down Mode bit
Cleared by hardware when an interrupt or reset occurs.
Set to activate the Power-down mode.
If IDL and PD are both set, PD takes precedence.

0

IDL

Idle Mode bit
Cleared by hardware when an interrupt or reset occurs.
Set to activate the Idle mode.
If IDL and PD are both set, PD takes precedence.