| Electronic Components Datasheet Search |
|
PIC16C781 Datasheet(PDF) 81 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C781 Datasheet(HTML) 81 Page - Microchip Technology |
|
81 / 186 page ![]() 2001 Microchip Technology Inc. Preliminary DS41171A-page 79 PIC16C781/782 10.0 DIGITAL-TO-ANALOG CONVERTER (DAC) MODULE The Digital-to-Analog Converter (DAC) module gener- ates an output voltage proportional to the value in the 8-bit DAC register (see Figure 10-1). The output of the DAC module can be configured to drive: • The reference input to the ADC module • The reference input to Comparators C1 and C2 • An analog output on pin RB1/AN5/VDAC The voltage reference input to the DAC can be selected from: • Analog supply AVDD • Comparator C1 VREF1 • Voltage reference VR 10.1 Control Registers The DAC module is controlled via two special function registers: DACON0 and DAC. The DACON0 register, shown in Register 10-1: • Enables DAC • Enables output on RB1/AN5/VDAC • Selects reference voltage The DAC register, shown in Register 10-2, sets the out- put of the DAC. REGISTER 10-1: DIGITAL-TO-ANALOG CONVERTER CONTROL REGISTER0 (DACON0: 11Fh) REGISTER 10-2: DIGITAL-TO-ANALOG CONVERTER REGISTER (DAC: 11Eh) R/W-0 R/W-0 U-0 U-0 U-0 U-0 R/W-0 R/W-0 DAON DAOE — — — — DARS1 DARS0 bit 7 bit 0 bit 7 DAON: Digital-to-Analog Converter Enable bit 1 = DAC enabled 0 = DAC disabled bit 6 DAOE: Digital-to-Analog Converter Output Enable bit 1 = Output on the VDAC pin 0 = Output is not available for external use bit 5-2 Unimplemented: Read as ’0’ bit 1-0 DARS<1:0>: Digital-to-Analog Converter Voltage Reference Select bits, DACREF 00 = Analog supply, AVDD 01 = Comparator reference, VREF1 pin 10 = Voltage reference, VR 11 = Reserved, do not use 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 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 bit 7 bit 0 bit 7-0 DA<7:0>: Digital-to-Analog Converter Digital Input bits Legend: R = Readable bit W = Writable bit - n = Value at POR ’1’ = Bit is set ’0’ = Bit is cleared |
|
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 |
| 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 |