PIC18F24J11 MICROCHIP [Microchip Technology], PIC18F24J11 Datasheet - Page 375

no-image

PIC18F24J11

Manufacturer Part Number
PIC18F24J11
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F24J11-I/ML
Manufacturer:
MICROCHIP
Quantity:
49 000
Part Number:
PIC18F24J11-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 960
24.2
To set up the HLVD module:
1.
2.
3.
4.
5.
6.
24.3
When the module is enabled, the HLVD comparator
and voltage divider are enabled and will consume static
current. The total current consumption, when enabled,
is specified in electrical specification parameter D022B
(I
Down and Supply Current PIC18F46J11 Family
(Industrial)”).
Depending on the application, the HLVD module does
not need to operate constantly. To decrease the current
requirements, the HLVD circuitry may only need to be
enabled for short periods where the voltage is checked.
After doing the check, the HLVD module may be
disabled.
 2011 Microchip Technology Inc.
HLVD
Disable the module by clearing the HLVDEN bit
(HLVDCON<4>).
Write the value to the HLVDL<3:0> bits that
selects the desired HLVD trip point.
Set the VDIRMAG bit to detect one of the
following:
• High voltage (VDIRMAG = 1)
• Low voltage (VDIRMAG = 0)
Enable the HLVD module by setting the
HLVDEN bit.
Clear
(PIR2<2>), which may have been set from a
previous interrupt.
If interrupts are desired, enable the HLVD
interrupt by setting the HLVDIE and GIE/GIEH
bits (PIE2<2> and INTCON<7>).
An interrupt will not be generated until the
IRVST bit is set.
)
HLVD Setup
Current Consumption
(Section 29.2 “DC Characteristics: Power-
the
HLVD
Interrupt
Flag,
LVDIF
PIC18F46J11 FAMILY
24.4
The internal reference voltage of the HLVD module,
specified in electrical specification parameter D420
(see
teristics”), may be used by other internal circuitry,
such as the Programmable Brown-out Reset (BOR).
If the HLVD or other circuits using the voltage reference
are disabled to lower the device’s current consumption,
the reference voltage circuit will require time to become
stable before a low or high-voltage condition can be
reliably detected. This start-up time, T
interval that is independent of device clock speed. It is
specified in electrical specification parameter 36
(Table
The HLVD interrupt flag is not enabled until T
expired and a stable reference voltage is reached. For
this reason, brief excursions beyond the set point may
not be detected during this interval. Refer to
or Figure 24-3.
Table 29-8
29-15).
HLVD Start-up Time
in
Section 29.0 “Electrical Charac-
DS39932D-page 375
IRVST
Figure 24-2
IRVST
, is an
has

Related parts for PIC18F24J11