susp.c

来自「Xilinx USB JTAG 下載端程式」· C语言 代码 · 共 17 行

C
17
字号
#include "c4sdcc.h"void EZUSB_Susp(void){  SUSPEND  = 0x26; // Write any byte to this reg to init suspend  _asm    orl  PCON,#1       ; 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  _endasm;}

⌨️ 快捷键说明

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