欢迎访问ic37.com |
会员登录 免费注册
发布采购

SN8P2742SDB 参数 Datasheet PDF下载

SN8P2742SDB图片预览
型号: SN8P2742SDB
PDF下载: 下载PDF文件 查看货源
内容描述: [ADC, OP-amp, Comparator 8-Bit Micro-Controller]
分类和应用:
文件页数/大小: 136 页 / 3074 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P2742SDB的Datasheet PDF文件第110页浏览型号SN8P2742SDB的Datasheet PDF文件第111页浏览型号SN8P2742SDB的Datasheet PDF文件第112页浏览型号SN8P2742SDB的Datasheet PDF文件第113页浏览型号SN8P2742SDB的Datasheet PDF文件第115页浏览型号SN8P2742SDB的Datasheet PDF文件第116页浏览型号SN8P2742SDB的Datasheet PDF文件第117页浏览型号SN8P2742SDB的Datasheet PDF文件第118页  
SN8P2740 Series  
ADC, OP-amp, Comparator 8-Bit Micro-Controller  
ADC CONVERTING OPERATION:  
; ADC Interrupt disable mode.  
@@:  
B0BTS1  
JMP  
FEOC  
@B  
; Check ADC processing flag.  
; EOC=0: ADC is processing.  
B0MOV  
B0MOV  
MOV  
AND  
B0MOV  
A, ADB  
BUF1,A  
A, #00001111b  
A, ADR  
BUF2,A  
; EOC=1: End of ADC processing. Process ADC result.  
; End of processing ADC result.  
CLR  
FEOC  
; Clear ADC processing flag for next ADC converting.  
; ADC Interrupt enable mode.  
ORG 8  
; Interrupt vector.  
INT_SR:  
PUSH  
B0BTS1  
JMP  
; Interrupt service routine.  
FADCIRQ  
EXIT_INT  
A, ADB  
BUF1,A  
A, #00001111b  
A, ADR  
; Check ADC interrupt flag.  
; ADCIRQ=0: Not ADC interrupt request.  
; ADCIRQ=1: End of ADC processing. Process ADC result.  
B0MOV  
B0MOV  
MOV  
AND  
B0MOV  
BUF2,A  
; End of processing ADC result.  
CLR  
FEOC  
; Clear ADC processing flag for next ADC converting.  
JMP  
INT_EXIT  
INT_EXIT:  
POP  
RETI  
; Exit interrupt service routine.  
Note: ADS is cleared when the end of ADC converting automatically. EOC bit indicates ADC processing  
status immediately and is cleared when ADS = 1. Users neednt to clear ADS bit by program.  
SONiX TECHNOLOGY CO., LTD  
Page 114  
Version 2.0  
 复制成功!