40static volatile uint8_t gs_flag;
64static void a_receive_callback(
bpc_t *data)
66 const char week[][10] =
86 week[data->
week > 7 ? 7 : data->
week]);
169 for (i = 0; i < times; i++)
driver bpc receive test header file
uint8_t bpc_irq_handler(bpc_handle_t *handle)
irq handler
uint8_t bpc_info(bpc_info_t *info)
get chip's information
uint8_t bpc_init(bpc_handle_t *handle)
initialize the chip
struct bpc_handle_s bpc_handle_t
bpc handle structure definition
struct bpc_s bpc_t
bpc structure definition
struct bpc_info_s bpc_info_t
bpc information structure definition
uint8_t bpc_deinit(bpc_handle_t *handle)
close the chip
@ BPC_STATUS_FRAME_INVALID
uint8_t bpc_interface_timestamp_read(bpc_time_t *t)
interface timestamp read
void bpc_interface_delay_ms(uint32_t ms)
interface delay ms
void bpc_interface_debug_print(const char *const fmt,...)
interface print format data
#define DRIVER_BPC_LINK_INIT(HANDLE, STRUCTURE)
initialize bpc_handle_t structure
#define DRIVER_BPC_LINK_DEBUG_PRINT(HANDLE, FUC)
link debug_print function
#define DRIVER_BPC_LINK_TIMESTAMP_READ(HANDLE, FUC)
link timestamp_read function
#define DRIVER_BPC_LINK_DELAY_MS(HANDLE, FUC)
link delay_ms function
#define DRIVER_BPC_LINK_RECEIVE_CALLBACK(HANDLE, FUC)
link receive_callback function
uint8_t bpc_receive_test_irq_handler(void)
receive test irq
uint8_t bpc_receive_test(uint32_t times)
receive test
float supply_voltage_max_v
char manufacturer_name[32]
float supply_voltage_min_v