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

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
22.0
PIC18F2480/2580/4480/4580
High/Low-Voltage Detect module (HLVD). This is a
programmable circuit that allows the user to specify
both a device voltage trip point and the direction of
change from that point. If the device experiences an
excursion past the trip point in that direction, an
interrupt flag is set. If the interrupt is enabled, the
program execution will branch to the interrupt vector
address and the software can then respond to the
interrupt.
REGISTER 22-1:
 2004 Microchip Technology Inc.
HIGH/LOW-VOLTAGE DETECT
(HLVD)
bit 7
bit 6
bit 5
bit 4
bit 3-0
HLVDCON: HIGH/LOW-VOLTAGE DETECT CONTROL REGISTER
VDIRMAG: Voltage Direction Magnitude Select bit
1 = Event occurs when voltage equals or exceeds trip point (HLVDL3:HLDVL0)
0 = Event occurs when voltage equals or falls below trip point (HLVDL3:HLVDL0)
Unimplemented: Read as ‘0’
IRVST: Internal Reference Voltage Stable Flag bit
1 = Indicates that the Voltage Detect logic will generate the interrupt flag at the specified
0 = Indicates that the Voltage Detect logic will not generate the interrupt flag at the specified
HLVDEN: High/Low-Voltage Detect Power Enable bit
1 = HLVD enabled
0 = HLVD disabled
HLVDL3:HLVDL0: Voltage Detection Limit bits
1111 = External analog input is used (input comes from the HLVDIN pin)
1110 = 4.48V-4.69V
1101 = 4.23V-4.43V
1100 = 4.01V-4.20V
1011 = 3.81V-3.99V
1010 = 3.63V-3.80V
1001 = 3.46V-3.63V
1000 = 3.31V-3.47V
0111 = 3.05V-3.19V
0110 = 2.82V-2.95V
0101 = 2.72V-2.85V
0100 = 2.54V-2.66V
0011 = 2.38V-2.49V
0010 = 2.31V-2.42V
0001 = 2.18V-2.28V
0000 = 2.12V-2.22V
bit 7
VDIRMAG
Legend:
R = Readable bit
-n = Value at POR
R/W-0
Note 1: HLVDL3:HLVDL0 modes that result in a trip point below the valid operating voltage
voltage range
voltage range and the HLVD interrupt should not be enabled
devices
of the device are not tested.
U-0
have
PIC18F2480/2580/4480/4580
IRVST
R-0
Preliminary
W = Writable bit
‘1’ = Bit is set
a
HLVDEN HLVDL3
R/W-0
The
(Register 22-1) completely controls the operation of the
HLVD module. This allows the circuitry to be “turned
off” by the user under software control, which
minimizes the current consumption for the device.
The block diagram for the HLVD module is shown in
Figure 22-1.
(1)
High/Low-Voltage
R/W-0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
(1)
HLVDL2
R/W-1
(1)
Detect
HLVDL1
R/W-0
x = Bit is unknown
DS39637A-page 267
Control
(1)
HLVDL0
R/W-1
register
bit 0
(1)

Related parts for PIC18F2480