參數(shù)資料
型號(hào): AT90LS2343-1PI
廠商: Atmel
文件頁數(shù): 45/63頁
文件大?。?/td> 0K
描述: IC MCU 2K FLASH 1MHZ IND 8-DIP
標(biāo)準(zhǔn)包裝: 50
系列: AVR® 90LS
核心處理器: AVR
芯體尺寸: 8-位
速度: 1MHz
連通性: SPI
外圍設(shè)備: 欠壓檢測(cè)/復(fù)位,POR,WDT
輸入/輸出數(shù): 5
程序存儲(chǔ)器容量: 2KB(1K x 16)
程序存儲(chǔ)器類型: 閃存
EEPROM 大?。?/td> 128 x 8
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 6 V
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 8-DIP(0.300",7.62mm)
包裝: 管件
PIC16C433
DS41139B-page 48
Preliminary
2002 Microchip Technology Inc.
8.4
A/D Conversions
Example 8-2 shows how to perform an A/D conversion.
The GPIO pins are configured as analog inputs. The
analog reference (VREF) is the device VDD. The A/D
interrupt is enabled and the A/D conversion clock is
FRC. The conversion is performed on the GP0 channel.
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 2TAD wait
is required before the next acquisition is started. After
this 2TAD wait, an acquisition is automatically started on
the selected channel.
EXAMPLE 8-2:
DOING AN A/D CONVERSION
Note:
The GO/DONE bit should NOT be set in
the same instruction that turns on the A/D.
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.
相關(guān)PDF資料
PDF描述
AT90LS2343-1PC IC MCU 2K FLASH 1MHZ COM 8-DIP
AT89S52-24PI IC MCU 8K FLASH 24MHZ 40-DIP
DSPIC33FJ32MC202-I/SS IC DSPIC MCU/DSP 32K 28SSOP
PIC18LF46J13-I/ML IC PIC MCU 64KB FLASH 44QFN
52892-1890 CONN FFC 18POS .50MM R/A ZIF SMD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AT90LS2343-1SC 功能描述:IC MCU 2K FLASH 1MHZ COM 8-SOIC RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:AVR® 90LS 標(biāo)準(zhǔn)包裝:9 系列:87C 核心處理器:8051 芯體尺寸:8-位 速度:40/20MHz 連通性:UART/USART 外圍設(shè)備:POR,WDT 輸入/輸出數(shù):32 程序存儲(chǔ)器容量:32KB(32K x 8) 程序存儲(chǔ)器類型:OTP EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:- 振蕩器型:內(nèi)部 工作溫度:0°C ~ 70°C 封裝/外殼:40-DIP(0.600",15.24mm) 包裝:管件
AT90LS2343-1SI 功能描述:8位微控制器 -MCU 2k bit RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
AT90LS2343-4PC 功能描述:8位微控制器 -MCU 2k bit RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
AT90LS2343-4PI 功能描述:8位微控制器 -MCU 2k bit RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
AT90LS2343-4SC 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 2K Bytes of In-System Programmable Flash