參數(shù)資料
型號: PIC12C672-04/SM
廠商: Microchip Technology
文件頁數(shù): 76/129頁
文件大?。?/td> 0K
描述: IC MCU OTP 2KX14 A/D 8-SOIJ
產(chǎn)品培訓模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標準包裝: 90
系列: PIC® 12C
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
外圍設(shè)備: POR,WDT
輸入/輸出數(shù): 5
程序存儲器容量: 3.5KB(2K x 14)
程序存儲器類型: OTP
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 4x8b
振蕩器型: 內(nèi)部
工作溫度: 0°C ~ 70°C
封裝/外殼: 8-SOIC(0.209",5.30mm 寬)
包裝: 管件
配用: XLT08SO-1-ND - SOCKET TRANSITION 8SOIC 150/208
AC164312-ND - MODULE SKT FOR PM3 16SOIC
ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
309-1048-ND - ADAPTER 8-SOIC TO 8-DIP
309-1047-ND - ADAPTER 8-SOIC TO 8-DIP
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
PIC12C67X
DS30561B-page 50
1999 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.
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 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
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描述
PIC18F25K20-E/SS IC PIC MCU FLASH 16KX16 28-SSOP
PIC18F25J10T-I/SO IC PIC MCU FLASH 16KX16 28SOIC
PIC24F08KL301-I/P IC MCU 16BIT 8KB FLASH 20-PDIP
PIC18LF44J10-I/PT IC PIC MCU FLASH 8KX16 44TQFP
PIC18LF24J10T-I/SS IC PIC MCU FLASH 8KX16 28-SSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12C672-10 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller with A/D Converter
PIC12C672-10/JM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller with A/D Converter
PIC12C672-10/JW 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|PIC CPU|CMOS|DIP|8PIN|CERAMIC
PIC12C672-10/P 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 6 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
PIC12C672-10/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 12C672 DIP8