#ifndef __GLOBAL_H__
#define __GLOBAL_H__

#include <stm32f10x.h>



extern u8 sysClk_10ms;
extern u8 init_SysClk_10s;
extern u8 sysClk_200us;

#define SYSTEM_COUNT   200         
#define COUNT_100HZ   10
#define COUNT_50HZ    20
#define COUNT_25HZ    40
#define COUNT_20HZ    50
#define COUNT_10HZ    100
#define COUNT_5HZ    200
extern uint8_t Com_100Hz;
extern uint8_t Com_50Hz;
extern uint8_t Com_25Hz;
extern uint8_t Com_20Hz;
extern uint8_t Com_10Hz;
extern uint8_t Com_5Hz;



extern u8 X_Data[2];
extern u8 Y_Data[2];
extern float X_Pitch;
extern float Y_ROLL;


#endif
