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

📄 key_api.s

📁 UART FOR uCOS and Capsensor Test
💻 S
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -