c_button.h

来自「乐高机器人的源码,开发平台是IAR_for_AVR.」· C头文件 代码 · 共 38 行

H
38 行
字号
//
// Date init       14.12.2004
//
// Revision date   $Date:: 16-05-06 9:58                                     $
//
// Filename        $Workfile:: c_button.h                                    $
//
// Version         $Revision:: 6                                             $
//
// Archive         $Archive:: /LMS2006/Sys01/Main/Firmware/Source/c_button.h $
//
// Platform        C
//

#ifndef   C_BUTTON
#define   C_BUTTON

#ifdef    INCLUDE_OS
extern    const HEADER cButton;
#endif

#include  "c_button.iom"


typedef   struct
{
  UWORD   Cnt[NO_OF_BTNS];
  UBYTE   OldState;
}VARSBUTTON;

void      cButtonInit(void* pHeader);
void      cButtonCtrl(void);
void      cButtonExit(void);

extern    const HEADER cButton;

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?