English
Language : 

PIC16F1826-I Datasheet, PDF (154/400 Pages) Microchip Technology – 18/20/28-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16F/LF1826/27
REGISTER 16-1: DACCON0: VOLTAGE REFERENCE CONTROL REGISTER 0
R/W-0/0
R/W-0/0
R/W-0/0
U-0
R/W-0/0
R/W-0/0
U-0
DACEN
DACLPS
DACOE
—
DACPSS1 DACPSS0
—
bit 7
R/W-0/0
DACNSS
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6
bit 5
bit 4
bit 3-2
bit 1
bit 0
DACEN: DAC Enable bit
1 = DAC is enabled
0 = DAC is disabled
DACLPS: DAC Low-Power Voltage State Select bit
1 = DAC Positive reference source selected
0 = DAC Negative reference source selected
DACOE: DAC Voltage Output Enable bit
1 = DAC voltage level is also an output on the DACOUT pin
0 = DAC voltage level is disconnected from the DACOUT pin
Unimplemented: Read as ‘0’
DACPSS<1:0>: DAC Positive Source Select bits
00 = VDD
01 = VREF+
10 = FVR Buffer2 output
11 = Reserved, do not use
Unimplemented: Read as ‘0’
DACNSS: DAC Negative Source Select bits
1 = VREF-
0 = VSS
REGISTER 16-2: DACCON1: VOLTAGE REFERENCE CONTROL REGISTER 1
U-0
—
bit 7
U-0
U-0
R/W-0/0 R/W-0/0
R/W-0/0
R/W-0/0
—
—
DACR4
DACR3
DACR2
DACR1
R/W-0/0
DACR0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-5
bit 4-0
Unimplemented: Read as ‘0’
DACR<4:0>: DAC Voltage Output Select bits
VOUT = ((VSRC+) - (VSRC-))*(DACR<4:0>/(25)) + VSRC-
Note 1: The output select bits are always right justified to ensure that any number of bits can be used without
affecting the register layout.
DS41391B-page 154
Preliminary
© 2009 Microchip Technology Inc.