Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F4520E/MLQTP Datasheet(PDF) 245 Page - Microchip Technology

Part # PIC18F4520E/MLQTP
Description  28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PDF  390 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4520E/MLQTP Datasheet(HTML) 245 Page - Microchip Technology

Back Button PIC18F4520E/MLQTP Datasheet HTML 241Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 242Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 243Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 244Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 245Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 246Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 247Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 248Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 249Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 245 / 390 page
background image
 2004 Microchip Technology Inc.
DS39631A-page 243
PIC18F2420/2520/4420/4520
22.0
HIGH/LOW-VOLTAGE
DETECT (HLVD)
PIC18F2420/2520/4420/4520
devices
have
a
High/Low-Voltage Detect module (HLVD). This is a pro-
grammable 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.
The
High/Low-Voltage
Detect
Control
register
(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.
REGISTER 22-1:
HLVDCON REGISTER (HIGH/LOW-VOLTAGE DETECT CONTROL)
R/W-0
U-0
R-0
R/W-0
R/W-0
R/W-1
R/W-0
R/W-1
VDIRMAG
—
IRVST
HLVDEN HLVDL3(1) HLVDL2(1) HLVDL1(1) HLVDL0(1)
bit 7
bit 0
bit 7
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)
bit 6
Unimplemented: Read as ‘0’
bit 5
IRVST: Internal Reference Voltage Stable Flag bit
1
= Indicates that the voltage detect logic will generate the interrupt flag at the specified voltage
range
0
= Indicates that the voltage detect logic will not generate the interrupt flag at the specified
voltage range and the HLVD interrupt should not be enabled
bit 4
HLVDEN: High/Low-Voltage Detect Power Enable bit
1
= HLVD enabled
0
= HLVD disabled
bit 3-0
HLVDL3:HLVDL0: Voltage Detection Limit bits(1)
1111
= External analog input is used (input comes from the HLVDIN pin)
1110
= Maximum setting
.
.
.
0000
= Minimum setting
Note 1: See Table 26-4 for specifications.
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com