參數(shù)資料
型號: PIC16C715
廠商: Microchip Technology Inc.
英文描述: 8-Bit CMOS Microcontroller with A/D Converter(每個I/O口有25mA驅動/吸收電流,微控制器)
中文描述: 8位CMOS微控制器與A / D轉換器(每個的I / O口有25毫安驅動/吸收電流,微控制器)
文件頁數(shù): 40/120頁
文件大?。?/td> 764K
代理商: PIC16C715
PIC16C715
DS30560A-page 40
Advance Information
1996 Microchip Technology Inc.
7.4
Example 7-2 show how to perform an A/D conversion.
The RA pins are configured as analog inputs. The ana-
log reference (V
REF
) is the device V
DD
. The A/D inter-
rupt is enabled, and the A/D conversion clock is F
RC
.
The conversion is performed on the RA0 channel.
A/D Conversions
Note:
The GO/DONE bit should
NOT
be set in
the same instruction that turns on the A/D.
Clearing the GO/DONE bit during a conversion will
abort the current conversion. The ADRES register will
NOT be updated with the partially completed A/D con-
version sample. That is, the ADRES register will con-
tinue to contain the value of the last completed
conversion (or the last value written to the ADRES reg-
ister). After the A/D conversion is aborted, a 2T
AD
wait
is required before the next acquisition is started. After
this 2T
AD
wait, an acquisition is automatically started
on the selected channel.
EXAMPLE 7-2:
DOING AN A/D CONVERSION
BSF STATUS, RP0 ; Select Page 1
CLRF ADCON1 ; Configure A/D inputs
BSF PIE1, ADIE ; Enable A/D interrupts
BCF STATUS, RP0 ; Select Page 0
MOVLW 0xC1 ; RC Clock, A/D is on, Channel 0 is selected
MOVWF ADCON0 ;
BCF PIR1, ADIF ; Clear A/D interrupt flag bit
BSF INTCON, PEIE ; Enable peripheral interrupts
BSF INTCON, GIE ; Enable all interrupts
;
; Ensure that the required sampling time for the selected input channel has elapsed.
; Then the conversion may be started.
;
BSF ADCON0, GO ; Start A/D Conversion
: ; The ADIF bit will be set and the GO/DONE bit
: ; is cleared upon completion of the A/D Conversion.
相關PDF資料
PDF描述
PIC16C717 8-Bit CMOS Microcontrollers(8位CMOS微控制器)
PIC16C770 8-Bit CMOS Microcontrollers(8位CMOS微控制器)
PIC16C771 8-Bit CMOS Microcontrollers(8位CMOS微控制器)
PIC16C73A 8-Bit CMOS Microcontrollers with A/D Converter
PIC16C76 8-Bit CMOS Microcontrollers with A/D Converter(每個I/O口有25mA驅動/吸收電流,并行從動口,2路捕捉/比較/PWM的微控制器)
相關代理商/技術參數(shù)
參數(shù)描述
PIC16C715/JW 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC16C715-04/P 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC16C715-04/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 16C715 DIP18
PIC16C715-04/P 制造商:Microchip Technology Inc 功能描述:Microcontroller IC Number of I/Os:13
PIC16C715-04/SO 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT