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

📄 isp932.inc.bak

📁 P89LPC932的ISP使用
💻 BAK
字号:

; name: ISP_INI
; function: setup the UART and  open break detect,A break is detected 
;           when 11 consecutive bits are sensed low. The break detect
;           can be used to reset the device and force the device into 
;           ISP mode.
;           
; parameter: null
; note: 
ISP_INI:	
		ANL	SSTAT,#0FAH		; clr the BR, it is SSTAT.2
		MOV	BRGCON,#00H		

		ORL	AUXR1,#40H		; setb the EBRR
		MOV	SCON,#50H		; setup UART mode 1, enables serial reception.
		MOV	BRGR1,#90H	
		MOV	BRGR0,#00H
		MOV	BRGCON,#03H		; Baud Rate Generator Enable.
		RET

⌨️ 快捷键说明

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