ATAVRBFLY_FILES/button.h
Go to the documentation of this file.00001
00022
#ifndef BUTTON_H_INCLUDED
00023
#define BUTTON_H_INCLUDED
00024
00025
00026 #define PINB_MASK ((1<<PINB4)|(1<<PINB6)|(1<<PINB7))
00027 #define PINE_MASK ((1<<PINE2)|(1<<PINE3))
00028
00029 #define BUTTON_A 6 // UP
00030 #define BUTTON_B 7 // DOWN
00031 #define BUTTON_C 2 // LEFT
00032 #define BUTTON_D 3 // RIGHT
00033 #define BUTTON_O 4 // PUSH
00034
00035
void PinChangeInterrupt(
void);
00036
void Button_Init(
void);
00037
char getkey(
void);
00038
char ButtonBouncing(
void);
00039
00040
#endif
Generated on Tue Nov 1 16:21:39 2005 for AVR323 Interfacing GSM modems by
1.3.7