ANT Channel Config Library
Functions
-
ant_err_t ant_channel_init(ant_channel_config_t const *p_config)
Function for configuring the ANT channel.
- Parameters
p_config – [in] Pointer to the channel configuration structure.
- Return values
0 – If the channel was successfully configured. Otherwise, an error code is returned.
-
struct ant_channel_config_t
- #include <>
ANT channel configuration structure.
Public Members
-
uint8_t channel_number
Assigned channel number.
-
uint8_t channel_type
Channel type (see Assign Channel Parameters in ant_parameters.h: ANT Stack Parameters).
-
uint8_t ext_assign
Extended assign (see Ext. Assign Channel Parameters in ant_parameters.h: ANT Stack Parameters).
-
uint8_t rf_freq
Radio frequency offset from 2400 MHz (for example, 2466 MHz, rf_freq = 66).
-
uint8_t transmission_type
Transmission type.
-
uint8_t device_type
Device type.
-
uint16_t device_number
Device number.
-
uint16_t channel_period
The period in 32 kHz counts.
-
uint8_t network_number
Network number denoting the network key.
-
uint8_t channel_number