Datasheet
PIC12F752/HV752
DS41576B-page 118 Preliminary 2011 Microchip Technology Inc.
14.8 DAC Control Registers
REGISTER 14-1: DACCON0: VOLTAGE REFERENCE CONTROL REGISTER 0
R/W-0/0 R/W-0/0 R/W-0/0 U-0 U-0 R/W-0/0 U-0 U-0
DACEN DACRNG DACOE — — DACPSS — —
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7 DACEN: DAC Enable bit
1 = DAC is enabled
0 = DAC is disabled
bit 6 DACRNG: DAC Range Selection bit
(1)
1 = DAC is operating in Full Range mode
0 = DAC is operating in Limited Range mode
bit 5 DACOE: DAC Voltage Output Enable bit
1 = DAC reference output is enabled to the DACOUT pin
(2)
0 = DAC reference output is disabled
bit 4-3 Unimplemented: Read as ‘0’
bit 2 DACPSS: DAC Positive Source Select bits
0 =V
DD
1 =VREF+ pin
bit 1-0 Unimplemented: Read as ‘0’
Note 1: Refer to Equation 14-1.
2: The DACOUT pin configuration requires additional control bits in the FVRCON register (see Figure 14-3).
REGISTER 14-2: DACCON1: VOLTAGE REFERENCE CONTROL REGISTER 1
U-0 U-0 U-0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
— — — DACR<4:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-5 Unimplemented: Read as ‘0’
bit 4-0 DACR<4:0>: DAC Voltage Output Select bits
1 1111 = DAC Voltage Maximum Output
0 0000 = DAC Voltage Minimum Output
Note 1: Refer to Equation 14-1 to calculate the value of the DAC Voltage Output.