#ifndef __DIRECTKEY_H
#define __DIRECTKEY_H

#include<stdint.h>

enum {State0=0, State1, State2};

#define NoKey 0x0F
#define KeyPort GPIOC


#ifdef __cplusplus
extern "C" {
#endif

uint8_t ReadDirectKey(void);

#ifdef __cplusplus
}
#endif

#endif