PIC18C242 MICROCHIP [Microchip Technology], PIC18C242 Datasheet - Page 175

no-image

PIC18C242

Manufacturer Part Number
PIC18C242
Description
High-Performance Microcontrollers with 10-Bit A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C242-I/SO
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC18C242/JW
Manufacturer:
NS
Quantity:
10
17.0
In many applications, the ability to determine if the
device voltage (V
is a desirable feature. A window of operation for the
application can be created, where the application soft-
ware can do "housekeeping tasks" before the device
voltage exits the valid operating range. This can be
done using the Low Voltage Detect module.
This module is a software programmable circuitry,
where a device voltage trip point can be specified.
When the voltage of the device becomes lower then the
specified point, an interrupt flag is set. If the interrupt is
enabled, the program execution will branch to the inter-
rupt vector address and the software can then respond
to that interrupt source.
FIGURE 17-1: TYPICAL LOW VOLTAGE DETECT APPLICATION
7/99 Microchip Technology Inc.
LOW VOLTAGE DETECT
DD
V
V
) is below a specified voltage level
A
B
Time
T
A
Preliminary
T
B
The Low Voltage Detect circuitry is completely under
software control. This allows the circuitry to be "turned
off" by the software, which minimizes the current con-
sumption for the device.
Figure 17-1 shows a possible application voltage curve
(typically for batteries). Over time, the device voltage
decreases. When the device voltage equals voltage V
the LVD logic generates an interrupt. This occurs at
time T
the device voltage is no longer in valid operating range
to shut down the system. Voltage point V
mum valid operating voltage specification. This occurs
at time T
A
. The application software then has the time until
Legend:
B
. T
V
V
A
B
B
= LVD trip point
= Minimum valid device
- T
operating voltage
A
is the total time for shutdown.
PIC18CXX2
DS39026B-page 175
B
is the mini-
A
,

Related parts for PIC18C242