aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/c_button.h
blob: abb1b2bf474722205a98ca8b4a88a20279c95b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// 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