#ifndef __KEY_H
#define __KEY_H
#include “sys.h”
#define Key0 GPIO_ReadInputDataBit(GPIOE,GPIO_Pin_4)
#define Key1 GPIO_ReadInputDataBit(GPIOE,GPIO_Pin_3)
#define Key2 GPIO_ReadInputDataBit(GPIOE,GPIO_Pin_2)
#define Key3 GPIO_ReadInputDataBit(GPIOA,GPIO_Pin_0)
#define Key0_pres 1
#define Key1_pres 2
#define Key2_pres 3
#define Key3_pres 4
void Key_Init(void);
u8 KEY_S(u8);
#endif