Modules | |
ANT+ common page 70 configuration | |
Data Structures | |
struct | ant_common_page70_data_t |
Data structure for ANT+ common data page 70. More... | |
Macros | |
#define | ANT_COMMON_PAGE_70 (70) |
ID value of common page 70. | |
#define | ANT_PAGE70_INVALID_DESCRIPTOR UINT16_MAX |
Invalid descriptor. | |
#define | DEFAULT_ANT_COMMON_PAGE70() |
Initialize page 70 with default values. More... | |
#define | ANT_COMMON_PAGE_DATA_REQUEST(PAGE_NUMBER) |
Initialize page 70 with the page request. More... | |
Enumerations | |
enum | ant_page70_command_t { ANT_PAGE70_COMMAND_PAGE_DATA_REQUEST = 0x01, ANT_PAGE70_COMMAND_ANT_FS_SESSION_REQUEST = 0x02 } |
Command type. More... | |
Functions | |
void | ant_common_page_70_encode (uint8_t *p_page_buffer, volatile ant_common_page70_data_t const *p_page_data) |
Function for encoding page 70. More... | |
void | ant_common_page_70_decode (uint8_t const *p_page_buffer, volatile ant_common_page70_data_t *p_page_data) |
Function for decoding page 70. More... | |
#define ANT_COMMON_PAGE_DATA_REQUEST | ( | PAGE_NUMBER | ) |
Initialize page 70 with the page request.
#define DEFAULT_ANT_COMMON_PAGE70 | ( | ) |
Initialize page 70 with default values.
enum ant_page70_command_t |
void ant_common_page_70_decode | ( | uint8_t const * | p_page_buffer, |
volatile ant_common_page70_data_t * | p_page_data | ||
) |
Function for decoding page 70.
[in] | p_page_buffer | Pointer to the data buffer. |
[out] | p_page_data | Pointer to the page data. |
void ant_common_page_70_encode | ( | uint8_t * | p_page_buffer, |
volatile ant_common_page70_data_t const * | p_page_data | ||
) |
Function for encoding page 70.
[in] | p_page_data | Pointer to the page data. |
[out] | p_page_buffer | Pointer to the data buffer. |