#ifndef __HARDWARE_INIT_H__
#define __HARDWARE_INIT_H__
#include "Key.h"

#define Flash_Base_Addr        0x00007400
#define NO_FMC_WRITE           0xFFFFFFFF
#define OFFSET_ADDR            4
#define BYTE_ADDR              8
#define SAVE_INDEX_ADDR        0x000071F8     //504
#define SAVE_FLAGE             0xAA000000
#define ALARM_FLAGE            0x55555555
/***************************** 外部声明 ***********************************/
extern void hardware_init(void);
extern enum panel_type_e get_panel_type(void);
extern void  Timer1_Open(u16 input_time);
extern void  Timer1_Close(void);
extern void  Timer0_Close(void);
extern void EINT_start(void);
extern void UART1_Send_Byte(uint8_t byte);
extern void UART0_Send_Bytes(u8* bffs, u8 n);
#endif






