参数资料
型号: PIC12C672-04/SM
厂商: Microchip Technology
文件页数: 76/129页
文件大小: 0K
描述: IC MCU OTP 2KX14 A/D 8-SOIJ
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 90
系列: PIC® 12C
核心处理器: PIC
芯体尺寸: 8-位
速度: 4MHz
外围设备: POR,WDT
输入/输出数: 5
程序存储器容量: 3.5KB(2K x 14)
程序存储器类型: OTP
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 3 V ~ 5.5 V
数据转换器: A/D 4x8b
振荡器型: 内部
工作温度: 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.
相关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
相关代理商/技术参数
参数描述
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 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 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