PIC16F819 Datasheet

  • PIC16F819

  • 18/20-Pin Enhanced Flash Microcontrollers with nanoWatt Tech...

  • 68.31KB

  • 176页

  • MICROCHIP   MICROCHIP

扫码查看芯片数据手册

上传产品规格书

PDF预览

PIC16F818/819
11.0
ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
The A/D module has four registers:
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
A/D Result High Register (ADRESH)
A/D Result Low Register (ADRESL)
A/D Control Register 0 (ADCON0)
A/D Control Register 1 (ADCON1)
The Analog-to-Digital (A/D) converter module has five
inputs for 18/20 pin devices.
The conversion of an analog input signal results in a
corresponding 10-bit digital number. The A/D module
has a high and low-voltage reference input that is
software selectable to some combination of V
DD
, V
SS
,
RA2 or RA3.
The A/D converter has a unique feature of being able
to operate while the device is in Sleep mode. To oper-
ate in Sleep, the A/D conversion clock must be derived
from the A/D鈥檚 internal RC oscillator.
The ADCON0 register, shown in Register 11-1,
controls the operation of the A/D module. The
ADCON1 register, shown in Register 11-2, configures
the functions of the port pins. The port pins can be
configured as analog inputs (RA3 can also be a voltage
reference) or a digital I/O.
Additional information on using the A/D module can be
found in the PICmicro
Mid-Range MCU Family
Reference Manual (DS33023).
REGISTER 11-1:
ADCON0: A/D CONTROL REGISTER 0 (ADDRESS 1Fh)
R/W-0
ADCS1
bit 7
R/W-0
ADCS0
R/W-0
CHS2
R/W-0
CHS1
R/W-0
CHS0
R/W-0
GO/DONE
U-0
鈥?/div>
R/W-0
ADON
bit 0
bit 7-6
ADCS1:ADCS0:
A/D Conversion Clock Select bits
If ADSC2 =
0:
00
= F
OSC
/2
01
= F
OSC
/8
10
= F
OSC
/32
11
= F
RC
(clock derived from the internal A/D module RC oscillator)
If ADSC2 =
1:
00
= F
OSC
/4
01
= F
OSC
/16
10
= F
OSC
/64
11
= F
RC
(clock derived from the internal A/D module RC oscillator)
CHS2:CHS0:
Analog Channel Select bits
000
= Channel 0 (RA0/AN0)
001
= Channel 1 (RA1/AN1)
010
= Channel 2 (RA2/AN2)
011
= Channel 3 (RA3/AN3)
100
= Channel 4 (RA4/AN4)
GO/DONE:
A/D Conversion Status bit
If ADON =
1:
1
= A/D conversion in progress (setting this bit starts the A/D conversion)
0
= A/D conversion not in progress (this bit is automatically cleared by hardware when the
A/D conversion is complete)
Unimplemented:
Read as 鈥?鈥?/div>
ADON:
A/D On bit
1
= A/D converter module is operating
0
= A/D converter module is shut-off and consumes no operating current
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
鈥?鈥?= Bit is set
U = Unimplemented bit, read as 鈥?鈥?/div>
鈥?鈥?= Bit is cleared
x = Bit is unknown
bit 5-3
bit 2
bit 1
bit 0
铮?/div>
2003 Microchip Technology Inc.
Preliminary
DS39598D-page 81

PIC16F819 PDF文件相关型号

PIC16F83,PIC16F84,PIC16F85,PIC16F86

PIC16F819相关型号PDF文件下载

  • 型号
    版本
    描述
    厂商
    下载
  • 英文版
    8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontroller with EEPROM Data Memory
    MICROCHIP ...
  • 英文版
    8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...
    MICROCHIP ...
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP ...
  • 英文版
    8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    Microcontroller
    MICROCHIP
  • 英文版
    Microcontroller 
    Microchip
  • 英文版
    Microcontroller
    ETC
  • 英文版
    EPROM-Based 8-Bit CMOS Microcontroller
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    ETC
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP ...
  • 英文版
    28-Pin Programmable Mixed Signal Controller
    Microchip
  • 英文版
    EPROM Memory Programming Specification
    Microchip
  • 英文版
    Microcontroller
    ETC
  • 英文版
    Microcontroller
    ETC
  • 英文版
    EPROM/ROM-Based 8-Bit CMOS Microcontroller Series
    MICROCHIP

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!