buttons.h
来自「NXP LPC系列AMR7的开发程序源码(LCD」· C头文件 代码 · 共 29 行
H
29 行
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 2006
*
* File name : buttons.h
* Description :
*
* History :
* 1. Date: June 15th, 2006
* Author: Todor Atanasov
* Description: Created
*
* $Revision: 13147 $
**************************************************************************/
#include <NXP/iolpc2129.h>
#define BUT1_STATE IO0PIN_bit.P0_15
#define BUT2_STATE IO0PIN_bit.P0_9
#define PRESSED 0
#define RELEASED 1
#define ON_KEY_PRESSED 0
#define ON_KEY_RELEASED 1
// init buttons' port
void InitButtons(void);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?