PIC16C773 Microchip Technology, PIC16C773 Datasheet - Page 114

no-image

PIC16C773

Manufacturer Part Number
PIC16C773
Description
28/40-Pin/ 8-Bit CMOS Microcontrollers w/ 12-Bit A/D
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C773-E/SS
Quantity:
7
Part Number:
PIC16C773-I/SO
Quantity:
11
Part Number:
PIC16C773-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16C773-I/SO
Quantity:
8 700
Part Number:
PIC16C773/JW
Manufacturer:
Microchip
Quantity:
6
Part Number:
PIC16C773/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C773/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16C77X
FIGURE 10-2: REFCON: VOLTAGE REFERENCE CONTROL REGISTER
10.1
The bandgap module generates a stable voltage refer-
ence of 1.22V over a range of temperatures and device
supply voltages. This module is enabled anytime any of
the following are enabled:
• Brown-out Reset
• Low-voltage Detect
• Either of the internal analog references (VRH,
Whenever the above are all disabled, the bandgap
module is disabled and draws no current.
10.2
The bandgap output voltage is used to generate two
stable references for the A/D converter module. These
references are enabled in software to provide the user
with the means to turn them on and off in order to min-
imize current consumption. Each reference can be indi-
vidually enabled.
The 4.096V reference (VRH) is enabled with control bit
VRHEN (REFCON<7>). When this bit is set, the gain
amplifier is enabled. After a specified start-up time a
stable reference of 4.096V is generated and can be
used by the A/D converter as the VRH input.
The 2.048V reference (VRL) is enabled by setting con-
trol bit VRLEN (REFCON<6>). When this bit is set, the
gain amplifier is enabled. After a specified start up time
a stable reference of 2.048V is generated and can be
used by the A/D converter as the VRL input.
DS30275A-page 114
VRL)
bit7
bit 7:
bit 6:
bit 5:
bit 4:
bit 3-0: Unimplemented: Read as '0’
VRHEN
R/W-0
Bandgap Voltage Reference
Internal V
VRHEN: Voltage Reference High Enable bit (VRH = 4.096V)
1 = Enabled, powers up reference generator
0 = Disabled, powers down reference generator if unused by LVD, BOR, or VRL
VRLEN: Voltage Reference Low Enable bit (VRL = 2.048V)
1 = Enabled, powers up reference generator
0 = Disabled, powers down reference generator if unused by LVD, BOR, or VRH
VRHOEN: High Voltage Reference Output Enable bit
1 = Enabled, VRH analog reference is presented on RA3 if enabled (VRHEN = 1)
0 = Disabled, analog reference is used internally only
VRLOEN: Low Voltage Reference Output Enable bit
1 = Enabled, VRL analog reference is presented on RA2 if enabled (VRLEN = 1)
0 = Disabled, analog reference is used internally only
VRLEN
R/W-0
REF
for A/D Converter
VRHOEN
R/W-0
VRLOEN
R/W-0
Advance Information
U-0
U-0
Each voltage reference can source/sink up to 5 mA of
current.
Each reference, if enabled, can be presented on an
external pin by setting the VRHOEN (high reference
output enable) or VRLOEN (low reference output
enable) control bit. If the reference is not enabled, the
VRHOEN and VRLOEN bits will have no effect on the
corresponding pin. The device specific pin can then be
used as general purpose I/O.
Note:
U-0
If VRH or VRL is enabled and the other ref-
erence (VRL or VRH), the BOR, and the
LVD modules are not enabled, the band-
gap will require a start-up time of no more
than 50 s before the bandgap reference is
stable. Before using the internal VRH or
VRL reference, ensure that the bandgap
reference voltage is stable by monitoring
the BGST bit in the LVDCON register. The
voltage references will not be reliable until
the bandgap is stable as shown by BGST
being set.
U-0
bit0
1999 Microchip Technology Inc.
R = Readable bit
W = Writable bit
U = Unimplemented
- n =Value at POR
bit, read as ‘0’
reset

Related parts for PIC16C773