📄 evm5509_keypad.h
字号:
/*
* Copyright 2004 by Spectrum Digital Incorporated.
* All rights reserved. Property of Spectrum Digital Incorporated.
*/
/*
* ======== evm5509_keypad.h ========
*
* Keypad interface module on the 5509 EVM
*/
#ifndef EVM5509_KEYPAD_
#define EVM5509_KEYPAD_
#ifdef __cplusplus
extern "C" {
#endif
#include <csl.h>
/* Keypad defines */
#define EVM5509_KEYPAD_I2CADDR 0x48
/* Initialize the keypad module */
void EVM5509_KEYPAD_init();
/* Read the value of a potentiometer */
Uint16 EVM5509_KEYPAD_readPot(Int16 potnum);
/* Read the value of a key switch */
Uint16 EVM5509_KEYPAD_readKey();
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -