PIC16F819 Datasheet

  • PIC16F819

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

  • 68.31KB

  • 176页

  • MICROCHIP   MICROCHIP

扫码查看芯片数据手册

上传产品规格书

PDF预览

PIC16F818/819
The ADRESH:ADRESL registers contain the result of
the A/D conversion. When the A/D conversion is
complete, the result is loaded into the A/D Result register
pair, the GO/DONE bit (ADCON0<2>) is cleared and
A/D Interrupt Flag bit, ADIF, is set. The block diagram of
the A/D module is shown in Figure 11-1.
After the A/D module has been configured as desired,
the selected channel must be acquired before the con-
version is started. The analog input channels must
have their corresponding TRIS bits selected as inputs.
To determine sample time, see
Section 11.1 鈥淎/D
Acquisition Requirements鈥?
After this sample time
has elapsed, the A/D conversion can be started.
3.
4.
5.
These steps should be followed for doing an A/D
conversion:
1.
Configure the A/D module:
鈥?Configure analog pins/voltage reference and
digital I/O (ADCON1)
鈥?Select A/D input channel (ADCON0)
鈥?Select A/D conversion clock (ADCON0)
鈥?Turn on A/D module (ADCON0)
Configure A/D interrupt (if desired):
鈥?Clear ADIF bit
鈥?Set ADIE bit
鈥?Set GIE bit
Wait the required acquisition time.
Start conversion:
鈥?Set GO/DONE bit (ADCON0)
Wait for A/D conversion to complete by either:
鈥?Polling for the GO/DONE bit to be cleared
(with interrupts disabled); OR
鈥?Waiting for the A/D interrupt
Read A/D Result register pair
(ADRESH:ADRESL), clear bit ADIF if required.
For next conversion, go to step 1 or step 2 as
required. The A/D conversion time per bit is
defined as T
AD
. A minimum wait of 2 T
AD
is
required before the next acquisition starts.
2.
6.
7.
FIGURE 11-1:
A/D BLOCK DIAGRAM
CHS<3:0>
100
RA4/AN4
011
RA3/AN3/V
REF
+
010
V
IN
(Input Voltage)
AV
DD
A/D
Converter
V
REF
+
(Reference
Voltage)
PCFG<3:0>
001
RA1/AN1
000
RA0/AN0
RA2/AN2/V
REF
-
V
REF
-
(Reference
Voltage)
AV
SS
PCFG<3:0>
铮?/div>
2003 Microchip Technology Inc.
Preliminary
DS39598D-page 83

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

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

建议反馈

联系人:

联系方式:

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