Power Monitoring Functions; Brownout Detection - Philips P89LPC938 User Manual

Single-chip microcontroller
Table of Contents

Advertisement

Philips Semiconductors
Table 25:
Port pin
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P3.0
P3.1

6. Power monitoring functions

The P89LPC938 incorporates power monitoring functions designed to prevent incorrect
operation during initial power-on and power loss or reduction during operation. This is
accomplished with two hardware functions: Power-on Detect and Brownout Detect.

6.1 Brownout detection

The Brownout Detect function determines if the power supply voltage drops below a
certain level. The default operation for a Brownout Detection is to cause a processor reset.
However, it may alternatively be configured to generate an interrupt by setting the BOI
(PCON.4) bit and the EBO (IEN0.5) bit.
User manual
Port output configuration
Configuration SFR bits
PxM1.y
PxM2.y
P0M1.0
P0M2.0
P0M1.1
P0M2.1
P0M1.2
P0M2.2
P0M1.3
P0M2.3
P0M1.4
P0M2.4
P0M1.5
P0M2.5
P0M1.6
P0M2.6
P0M1.7
P0M2.7
P1M1.0
P1M2.0
P1M1.1
P1M2.1
P1M1.2
P1M2.2
P1M1.3
P1M2.3
P1M1.4
P1M2.4
P1M1.5
P1M2.5
P1M1.6
P1M2.6
P1M1.7
P1M2.7
P1M1.0
P1M2.0
P1M1.1
P1M2.1
P1M1.2
P1M2.2
P1M1.3
P1M2.3
P1M1.4
P1M2.4
P1M1.5
P1M2.5
P1M1.6
P1M2.6
P1M1.7
P1M2.7
P3M1.0
P3M2.0
P3M1.1
P3M2.1
Rev. 03 — 7 June 2005
Alternate usage
Notes
KBIO, CMP2, AD05
KBI1, CIN2B, AD00 Refer to
Analog Comparator functions"
KBI2, CIN2A, AD01
usage as analog inputs.
KBI3, CIN1B, AD02
KBI4, CIN1A, AD03
KBI5, CMPREF
KBI6, CMP1
KBI7, T1
TXD
RXD
T0, SCL
Input-only or open-drain
INTO, SDA
input-only or open-drain
INT1
RST
OCB
OCC, AD04
ICB, AD07
OCD, AD06
MOSI
MISO
SS
SPICLK
OCA
ICA
CLKOUT, XTAL2
XTAL1
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
UM10119
P89LPC938 User manual
Section 5.6 "Port 0 and
for
38 of 139

Advertisement

Table of Contents
loading

Table of Contents