PIC18F2480 MICROCHIP [Microchip Technology], PIC18F2480 Datasheet - Page 272

no-image

PIC18F2480

Manufacturer Part Number
PIC18F2480
Description
28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2480-E/ML
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F2480-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F2480-I/SO
Manufacturer:
Microchi
Quantity:
9 999
Part Number:
PIC18F2480-I/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC18F2480-I/SO
0
Part Number:
PIC18F2480-I/SP
Manufacturer:
TDK
Quantity:
64
Part Number:
PIC18F2480-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18F2480/2580/4480/4580
FIGURE 22-3:
22.5
In many applications, the ability to detect a drop below,
or rise above a particular threshold is desirable. For
example, the HLVD module could be periodically
enabled to detect Universal Serial Bus (USB) attach or
detach. This assumes the device is powered by a lower
voltage source than the USB when detached. An attach
would indicate a high-voltage detect from, for example,
3.3V to 5V (the voltage on USB) and vice versa for a
detach. This feature could save a design a few extra
components and an attach signal (input pin).
For general battery applications, Figure 22-4 shows a
possible voltage curve. Over time, the device voltage
decreases. When the device voltage reaches voltage
V
The interrupt could cause the execution of an ISR,
which would allow the application to perform “house-
keeping tasks” and perform a controlled shutdown
before the device voltage exits the valid operating
range at T
tion a time window, represented by the difference
between T
DS39637A-page 270
A
, the HLVD logic generates an interrupt at time T
CASE 1:
CASE 2:
Applications
Enable HLVD
A
Enable HLVD
B
. The HLVD, thus, would give the applica-
and T
HLVDIF
HLVDIF
IRVST
IRVST
B
V
V
, to safely exit.
DD
DD
HIGH-VOLTAGE DETECT OPERATION (VDIRMAG =
HLVDIF may not be set
Internal Reference is stable
Internal Reference is stable
Preliminary
A
T
T
.
IVRST
IVRST
FIGURE 22-4:
HLVDIF cleared in software,
HLVDIF remains set since HLVD condition still exists
V
V
A
B
Legend:
V
V
HLVDIF cleared in software
A
B
1
= HLVD trip point
= Minimum valid device
)
TYPICAL LOW-VOLTAGE
DETECT APPLICATION
operating voltage
 2004 Microchip Technology Inc.
Time
HLVDIF cleared in software
T
A
V
V
LVD
LVD
T
B

Related parts for PIC18F2480