📄 isp932.inc.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 + -