27 lines
462 B
C
27 lines
462 B
C
#ifndef BSP_HEAD_H_
|
|
#define BSP_HEAD_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "kit_macro.h"
|
|
#include "drv_flash.h"
|
|
|
|
typedef enum
|
|
{
|
|
kHeadStatus_Start = 0x00,
|
|
kHeadStatus_Finsih,
|
|
kHeadStatus_None,
|
|
kHeadStatus_Other,
|
|
kHeadStatus_End,
|
|
}HeadStatus;
|
|
|
|
HeadStatus bsp_head_get_status(flash_Item_t *item, uint32_t addr);
|
|
kit_ret_e bsp_head_set_status(flash_Item_t *item, uint32_t addr, HeadStatus st);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|