yincheng.zhong
2024-08-27 fc78430a35be252a1cd5a29b5b66290a68cd9ca3
keil/dw_app_anchor.h
@@ -3,6 +3,11 @@
#include "stdint.h"
void SetANCTimestap(uint8_t i,uint8_t* pollrx,uint8_t* resptx,uint32_t resprx,uint8_t* distoffset,int32_t anc_clockoffset);
void CalculateDists(int64_t poll_tx_ts);
typedef enum
{      UN_BIND=0,
        LINK_SUCCESS,
        SEARCH_DEV,
} Operation_step;
#define MBX_RESPONSE  0x21
#define MBX_POLL                          0x20
#define MBX_RESPONSE                        0x21