參數(shù)資料
型號: AT90S8535-8PI
廠商: Atmel
文件頁數(shù): 65/127頁
文件大?。?/td> 0K
描述: IC MCU 8K FLSH 8MHZ A/D IT 40DIP
標準包裝: 18
系列: AVR® 90S
核心處理器: AVR
芯體尺寸: 8-位
速度: 8MHz
連通性: SPI,UART/USART
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數(shù): 32
程序存儲器容量: 8KB(4K x 16)
程序存儲器類型: 閃存
EEPROM 大小: 512 x 8
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 4 V ~ 6 V
數(shù)據(jù)轉換器: A/D 8x10b
振蕩器型: 內部
工作溫度: -40°C ~ 85°C
封裝/外殼: 40-DIP(0.600",15.24mm)
包裝: 管件
PIC16C71X
DS30272A-page 42
1997 Microchip Technology Inc.
7.4
A/D Conversions
Example 7-2 shows how to perform an A/D conversion.
The RA pins are congured as analog inputs. The ana-
log reference (VREF) is the device VDD. The A/D inter-
rupt is enabled, and the A/D conversion clock is FRC.
The conversion is performed on the RA0 pin (channel
0).
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.
Note:
The GO/DONE bit should NOT be set in
the same instruction that turns on the A/D.
EXAMPLE 7-2:
A/D CONVERSION
BSF
STATUS, RP0
; Select Bank 1
CLRF
ADCON1
; Configure A/D inputs
BCF
STATUS, RP0
; Select Bank 0
MOVLW
0xC1
; RC Clock, A/D is on, Channel 0 is selected
MOVWF
ADCON0
;
BSF
INTCON, ADIE
; Enable A/D Interrupt
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描述
AT90USB1287-16AUR IC MCU AVR 128K ISP USB TQFP64
AT90USB162-16AUR IC AVR MCU 16K FLASH 32TQFP
AT91FR40162SB-CU-999 IC MCU 32BIT RISC 121BGA
AT91M40800-33AI SL383 IC ARM MCU 16BIT 100TQFP
AT91M42800A-33CJ IC ARM7 MCU 144 BGA
相關代理商/技術參數(shù)
參數(shù)描述
AT90SA7-MLTU 功能描述:程序設計器 - 基于通用和內存 ASICS RoHS:否 制造商:Xeltek 產品:Universal Device Programmers 工具用于評估:EPROM, Parallel/Serial EEPROM, FPGA, PROM, Flash, BPROM, MCUs, PLD Devices 接口類型:Parallel, USB 工作電源電壓:90 VAC to 250 VAC
AT90SC12036RU 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Secure Microcontroller for Smart Cards
AT90SC128112RU 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Secure Microcontroller for Smart Cards
AT90SC12836RCFT 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Secure Microcontrollers for Smart Cards
AT90SC12836RCFT_07 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Secure Microcontrollers for Smart Cards