nRF5 SDK v17.1.0
Data Structures | Macros | Functions
Bicycle Power profile page 16

Data Structures

struct  ant_bpwr_page16_data_t
 Data structure for Bicycle Power data page 16. More...
 

Macros

#define DEFAULT_ANT_BPWR_PAGE16()
 Initialize page 16. More...
 

Functions

void ant_bpwr_page_16_encode (uint8_t *p_page_buffer, ant_bpwr_page16_data_t const *p_page_data)
 Function for encoding page 16. More...
 
void ant_bpwr_page_16_decode (uint8_t const *p_page_buffer, ant_bpwr_page16_data_t *p_page_data)
 Function for decoding page 16. More...
 

Detailed Description

Macro Definition Documentation

#define DEFAULT_ANT_BPWR_PAGE16 ( )
Value:
{ \
.update_event_count = 0, \
.pedal_power.items.distribution = 0, \
.pedal_power.items.differentiation = 0, \
.accumulated_power = 0, \
.instantaneous_power = 0, \
}

Initialize page 16.

Function Documentation

void ant_bpwr_page_16_decode ( uint8_t const *  p_page_buffer,
ant_bpwr_page16_data_t p_page_data 
)

Function for decoding page 16.

Parameters
[in]p_page_bufferPointer to the data buffer.
[out]p_page_dataPointer to the page data.
void ant_bpwr_page_16_encode ( uint8_t *  p_page_buffer,
ant_bpwr_page16_data_t const *  p_page_data 
)

Function for encoding page 16.

Parameters
[in]p_page_dataPointer to the page data.
[out]p_page_bufferPointer to the data buffer.

Documentation feedback | Developer Zone | Subscribe | Updated