key_api.s
来自「UART FOR uCOS and Capsensor Test」· S 代码 · 共 32 行
S
32 行
#include "asm.h"
#include "regdef.h"
#include "api.h"
//<><><><><><><><><><><><><><><><><><><><><><><><><><>
LEAF(matrix8_buttons_read)
.set noreorder
.text
matrix8_buttons_read:
li v1, KEYAPI_START
j apientry
nop
END (matrix8_buttons_read)
LEAF(is_bool_holdkey_pressed)
.set noreorder
.text
is_bool_holdkey_pressed:
li v1, KEYAPI_START+1
j apientry
nop
END (is_bool_holdkey_pressed)
LEAF(S_TranslateKeyMessage)
.set noreorder
.text
S_TranslateKeyMessage:
li v1, KEYAPI_START+2
j apientry
nop
END (S_TranslateKeyMessage)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?