PIC16C781-I/SS Microchip Technology, PIC16C781-I/SS Datasheet - Page 81

IC MCU OTP 1KX14 W/AD COMP20SSOP

PIC16C781-I/SS

Manufacturer Part Number
PIC16C781-I/SS
Description
IC MCU OTP 1KX14 W/AD COMP20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C781-I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x8b; D/A 1x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Other names
PIC16C781I/SS
10.0
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/V
The voltage reference input
selected from:
• Analog supply AV
• Comparator C1 V
• Voltage reference V
REGISTER 10-1:
REGISTER 10-2:
2001 Microchip Technology Inc.
DIGITAL-TO-ANALOG
CONVERTER (DAC) MODULE
bit 7-0
bit 7
bit 6
bit 5-2
bit 1-0
REF
DD
R
DIGITAL-TO-ANALOG CONVERTER CONTROL REGISTER0 (DACON0: 11Fh)
DIGITAL-TO-ANALOG CONVERTER REGISTER (DAC: 11Eh)
DA<7:0>: Digital-to-Analog Converter Digital Input bits
bit 7
DAON: Digital-to-Analog Converter Enable bit
1 = DAC enabled
0 = DAC disabled
DAOE: Digital-to-Analog Converter Output Enable bit
1 = Output on the V
0 = Output is not available for external use
Unimplemented: Read as ’0’
DARS<1:0>: Digital-to-Analog Converter Voltage Reference Select bits, DAC
00 = Analog supply, AV
01 = Comparator reference, V
10 = Voltage reference, V
11 = Reserved, do not use
Legend:
R = Readable bit
- n = Value at POR
Legend:
R = Readable bit
- n = Value at POR
1
bit 7
DAON
R/W-0
R/W-0
DA7
to the DAC can be
R/W-0
DAOE
R/W-0
DA6
DAC
DAC
DD
pin
R
R/W-0
DA5
U-0
Preliminary
W = Writable bit
’1’ = Bit is set
W = Writable bit
’1’ = Bit is set
REF
1 pin
R/W-0
DA4
U-0
10.1
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/V
• Selects reference voltage
The DAC register, shown in Register 10-2, sets the out-
put of the DAC.
Control Registers
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
’0’ = Bit is cleared
R/W-0
DA3
U-0
PIC16C781/782
R/W-0
DA2
U-0
x = Bit is unknown
DAC
DARS1
R/W-0
R/W-0
DA1
DS41171A-page 79
REF
DARS0
R/W-0
R/W-0
DA0
bit 0
bit 0

Related parts for PIC16C781-I/SS