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

📄 susp.a51

📁 fx2 slavefifo方式
💻 A51
字号:
NAME		SUSP
PUBLIC		EZUSB_SUSP

$include (..\..\inc\ezregs.inc)

EZUSB		segment	code

		rseg	EZUSB		
EZUSB_SUSP:	mov	dptr,#USBCS	; Clear the Wake Source bit in
		movx	a,@dptr		; the USBCS register
		orl	a,#80h
		movx	@dptr,a

		orl	PCON,#00000001b	; Place the processor in idle

		nop			; Insert some meaningless instruction
		nop			; fetches to insure that the processor
		nop			; suspends and resumes before RET
		nop
		nop
er_end:		ret
		end

⌨️ 快捷键说明

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