Data Structures | |
struct | ant_bpwr_page1_data_t |
Data structure for Bicycle Power data page 1. More... | |
Macros | |
#define | DEFAULT_ANT_BPWR_PAGE1() |
Initialize page 1. More... | |
#define | ANT_BPWR_GENERAL_CALIB_REQUEST() |
Initialize page 1 with the general request. More... | |
Enumerations | |
enum | ant_bpwr_calib_id_t { ANT_BPWR_CALIB_ID_NONE = 0x00, ANT_BPWR_CALIB_ID_MANUAL = 0xAA, ANT_BPWR_CALIB_ID_AUTO = 0xAB, ANT_BPWR_CALIB_ID_MANUAL_SUCCESS = 0xAC, ANT_BPWR_CALIB_ID_FAILED = 0xAF, ANT_BPWR_CALIB_ID_CTF = 0x10, ANT_BPWR_CALIB_ID_AUTO_SUPPORT = 0x12, ANT_BPWR_CALIB_ID_CUSTOM_REQ = 0xBA, ANT_BPWR_CALIB_ID_CUSTOM_REQ_SUCCESS = 0xBB, ANT_BPWR_CALIB_ID_CUSTOM_UPDATE = 0xBC, ANT_BPWR_CALIB_ID_CUSTOM_UPDATE_SUCCESS = 0xBD } |
BPWR Calibration ID. More... | |
enum | ant_bpwr_auto_zero_status_t { ANT_BPWR_AUTO_ZERO_NOT_SUPPORTED = 0xFF, ANT_BPWR_AUTO_ZERO_OFF = 0x00, ANT_BPWR_AUTO_ZERO_ON = 0x01 } |
BPWR Calibration Auto Zero Status. More... | |
Functions | |
void | ant_bpwr_page_1_encode (uint8_t *p_page_buffer, ant_bpwr_page1_data_t const *p_page_data) |
Function for encoding page 1. More... | |
void | ant_bpwr_page_1_decode (uint8_t const *p_page_buffer, ant_bpwr_page1_data_t *p_page_data) |
Function for decoding page 1. More... | |
#define ANT_BPWR_GENERAL_CALIB_REQUEST | ( | ) |
Initialize page 1 with the general request.
#define DEFAULT_ANT_BPWR_PAGE1 | ( | ) |
Initialize page 1.
enum ant_bpwr_calib_id_t |
BPWR Calibration ID.
void ant_bpwr_page_1_decode | ( | uint8_t const * | p_page_buffer, |
ant_bpwr_page1_data_t * | p_page_data | ||
) |
Function for decoding page 1.
[in] | p_page_buffer | Pointer to the data buffer. |
[out] | p_page_data | Pointer to the page data. |
void ant_bpwr_page_1_encode | ( | uint8_t * | p_page_buffer, |
ant_bpwr_page1_data_t const * | p_page_data | ||
) |
Function for encoding page 1.
[in] | p_page_data | Pointer to the page data. |
[out] | p_page_buffer | Pointer to the data buffer. |