English
Language : 

PIC18LF24K Datasheet, PDF (423/594 Pages) –
PIC18(L)F26/45/46K40
30.6 Register Definitions: DAC Control
Long bit name prefixes for the DAC peripheral is shown
in Table 30-1. Refer to Section 1.4.2.2 “Long Bit
Names” for more information.
TABLE 30-1:
Peripheral
Bit Name Prefix
DAC
DAC
l
REGISTER 30-1: DAC1CON0: DAC CONTROL REGISTER
R/W-0/0
U-0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
EN
—
OE1
OE2
PSS<1:0>
bit 7
U-0
R/W-0/0
—
NSS
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
EN: DAC Enable bit
1 = DAC is enabled
0 = DAC is disabled
Unimplemented: Read as ‘0’
OE1: DAC Voltage Output Enable bit
1 = DAC voltage level is output on the DAC1OUT1 pin
0 = DAC voltage level is disconnected from the DAC1OUT1 pin
OE2: DAC Voltage Output Enable bit
1 = DAC voltage level is output on the DAC1OUT2 pin
0 = DAC voltage level is disconnected from the DAC1OUT2 pin
PSS<1:0>: DAC Positive Source Select bit
11 = Reserved
10 = FVR buffer
01 = VREF+
00 = AVDD
Unimplemented: Read as ‘0’
NSS: DAC Negative Source Select bit
1 = VREF-
0 = AVSS
 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 423