⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adc42bsy.asm

📁 ADUC842 C程序集,包括ADC,DAC,PLL,PWM,WDT等程序.
💻 ASM
字号:
;File: adc42bsy.a51
;Author: Eckart Hartmann Date:05/10/2003
 ; Development progress: Adc842.df
;
;AdcBsy==========Get ADC status.
;C Function prototype: char AdcRdy(void);
;Description of Function: Gets the status of the ADC.
;User interface: Call AdcRdy().
;		Returns 0 if busy else 1.
;Robustness:
;Side effects: Overwrites a, P, c.
;
NAME ADCBSY
$NOMOD51
 $IC(..kei842.inc) ; Parameter passing registers for Keil .
 $IC(..kei842.dat) ; SFR definition for Keil .
;
public AdcBsy
;
?PR?AdcBsy?ADCBSY	SEGMENT CODE
	RSEG	?PR?AdcBsy?ADCBSY
;
AdcBsy:	mov	a,ADCCON3		;cP1l = ADCCON3.7.
	rlc	a
	clr	a
	rlc	a
	mov	cP1l,a
	ret
;
;Function End==========================================================Function End
END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -