参数资料
型号: KSZ8864RMNI
厂商: Micrel Inc
文件页数: 95/111页
文件大小: 0K
描述: IC ETHERNET SWITCH 4PORT 64QFN
特色产品: KSZ8864RMN Ethernet Switches
标准包装: 348
系列: *
其它名称: 576-3995
PIC16C9XX
DS30444E - page 84
1997 Microchip Technology Inc.
12.4
A/D Conversions
Example 12-2 show 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
(channel0).
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 12-2: DOING AN A/D CONVERSION
BCF
STATUS, RP1
; Select Bank1
BSF
STATUS, RP0
;
CLRF
ADCON1
; Configure A/D inputs
BSF
PIE1,
ADIE
; Enable A/D interrupts
BCF
STATUS, RP0
; Select Bank0
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 acquisition 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描述
KSZ8873FLLI IC ETHERNET SWITCH 3PORT 64LQFP
KSZ8873MLLJ IC ETHERNET SWITCH 3PORT 64LQFP
KSZ8873MMLI IC ETHERNET SWITCH 3PORT 64LQFP
KSZ8893FQL IC SWITCH FAST ETH 3PORT 128PQFP
KSZ8895MQI IC ETHERNET SWITCH 5PORT 128PQFP
相关代理商/技术参数
参数描述
KSZ8864RMNU 功能描述:以太网 IC 4-Port 10/100BT Switch with MII/RMII (Automotive) RoHS:否 制造商:Micrel 产品:Ethernet Switches 收发器数量:2 数据速率:10 Mb/s, 100 Mb/s 电源电压-最大:1.25 V, 3.45 V 电源电压-最小:1.15 V, 3.15 V 最大工作温度:+ 85 C 封装 / 箱体:QFN-64 封装:Tray
KSZ8864RMNU TR 制造商:Micrel Inc 功能描述:IC ETHERNET SWITCH 4PORT 64MLF
KSZ8873FLL 功能描述:以太网 IC 3-Port Fast Ethernet Switch with 2x FX Ports - Lead free RoHS:否 制造商:Micrel 产品:Ethernet Switches 收发器数量:2 数据速率:10 Mb/s, 100 Mb/s 电源电压-最大:1.25 V, 3.45 V 电源电压-最小:1.15 V, 3.15 V 最大工作温度:+ 85 C 封装 / 箱体:QFN-64 封装:Tray
KSZ8873FLL-EVAL 功能描述:以太网开发工具 3-Port Fast Ethernet Switch with 2x FX Ports - Evaluation Board RoHS:否 制造商:Micrel 产品:Evaluation Boards 类型:Ethernet Transceivers 工具用于评估:KSZ8873RLL 接口类型:RMII 工作电源电压:
KSZ8873FLLI 功能描述:以太网 IC 3-Port Fast Ethernet Switch with 2x FX Ports (Industrial Grade) RoHS:否 制造商:Micrel 产品:Ethernet Switches 收发器数量:2 数据速率:10 Mb/s, 100 Mb/s 电源电压-最大:1.25 V, 3.45 V 电源电压-最小:1.15 V, 3.15 V 最大工作温度:+ 85 C 封装 / 箱体:QFN-64 封装:Tray