Nxp semiconductors – NXP Semiconductors P89LPC9321 UM10310 User Manual

Page 36

Advertising
background image

UM10310

All information provided in this document is subject to legal disclaimers.

© NXP B.V. 2010. All rights reserved.

User manual

Rev. 2 — 1 November 2010

36 of 139

NXP Semiconductors

UM10310

P89LPC9321 User manual

Table 18.

Power Control register (PCON - address 87h) bit allocation

Bit

7

6

5

4

3

2

1

0

Symbol

SMOD1

SMOD0

-

BOI

GF1

GF0

PMOD1

PMOD0

Reset

0

0

-

0

0

0

0

0

Table 19.

Power Control register (PCON - address 87h) bit description

Bit

Symbol

Description

0

PMOD0

Power Reduction Mode (see

Section 5.3

)

1

PMOD1

2

GF0

General Purpose Flag 0. May be read or written by user software, but has no effect
on operation

3

GF1

General Purpose Flag 1. May be read or written by user software, but has no effect
on operation

4

BOI

Brownout Detect Interrupt Enable. When logic 1, Brownout Detection will generate a
interrupt.

5

-

Reserved.

6

SMOD0

Framing Error Location:

When logic 0, bit 7 of SCON is accessed as SM0 for the UART.

When logic 1, bit 7 of SCON is accessed as the framing error status (FE) for the
UART

7

SMOD1

Double Baud Rate bit for the serial port (UART) when Timer 1 is used as the baud
rate source. When logic 1, the Timer 1 overflow rate is supplied to the UART. When
logic 0, the Timer 1 overflow rate is divided by two before being supplied to the
UART. (See

Section 9

)

Table 20.

Power Control register A (PCONA - address B5h) bit allocation

Bit

7

6

5

4

3

2

1

0

Symbol

RTCPD

DEEPD

VCPD

-

I2PD

SPPD

SPD

CCUPD

Reset

0

0

0

0

0

0

0

0

Table 21.

Power Control register A (PCONA - address B5h) bit description

Bit

Symbol

Description

0

CCUPD

Compare/Capture Unit (CCU) power-down: When logic 1, the internal clock to the
CCU is disabled. Note that in either Power-down mode or Total Power-down mode,
the CCU clock will be disabled regardless of this bit. (Note: This bit is overridden by
the CCUDIS bit in FCFG1. If CCUDIS = 1, CCU is powered down.)

1

SPD

Serial Port (UART) power-down: When logic 1, the internal clock to the UART is
disabled. Note that in either Power-down mode or Total Power-down mode, the
UART clock will be disabled regardless of this bit.

2

SPPD

SPI power-down: When logic 1, the internal clock to the SPI is disabled. Note that in
either Power-down mode or Total Power-down mode, the SPI clock will be disabled
regardless of this bit.

3

I2PD

I

2

C power-down: When logic 1, the internal clock to the I

2

C-bus is disabled. Note

that in either Power-down mode or Total Power-down mode, the I

2

C clock will be

disabled regardless of this bit.

4

-

reserved

Advertising