evm5509_keypad.h
来自「dsp 5509a MMC 卡 ID号读取 12Mhzx16=192M」· C头文件 代码 · 共 38 行
H
38 行
/*
* 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 + =
减小字号Ctrl + -
显示快捷键?