ANT Parameters Reference
ANT serial message structure
Defines for accesssing ANT_MESSAGE members variables
Baudrate enum.
Must be in sequential ascending order
BAUDRATE_TYPE used as index in asBaudLookup[] array BAUDRATE_TYPE used as left bitshift into BAUD_SUPPORTED_BITFIELD bitfield
-
struct ANT_TIME_STAMP_CONFIG
- #include <ant_parameters.h>
Time stamp configuration structure.
-
struct ANT_TIME_SYNC_CONFIG
- #include <ant_parameters.h>
Time synchronization configuration structure.
-
struct ANT_HIGH_DUTY_SEARCH_CONFIG
- #include <ant_parameters.h>
Used with the get/set high duty search config commands.
Public Members
-
uint8_t bEnable
Enable or disable high duty search. See HIGH_DUTY_SEARCH defines in ant_parameters.h.
-
uint8_t ucSearchSuppressionWindows
Number of windows to apply suppression for. See HIGH_DUTY_SEARCH defines in ant_parameters.h.
-
uint16_t usRestartInterval
Restart interval is reset back to default when high duty search is disabled.
Restart interval. Use default value of HIGH_DUTY_SEARCH_RESTART_INTERVAL_DEFAULT unless otherwise specified. See HIGH_DUTY_SEARCH defines in ant_parameters.h
-
uint8_t bEnable
-
struct ANT_PA_LNA_CONFIG
- #include <ant_parameters.h>
The structure that holds configuration for PA/LNA GPIO outputs during radio events.
Public Members
-
bool bEnabled
Indicates that PA pin toggling is enabled.
Indicates that LNA pin toggling is enabled.
-
uint8_t ucGPIO
Selects the GPIO used to control the PA.
Selects the GPIO used to control the LNA.
-
bool bActiveState
Active state. 1 - Active high, 0 - Active low.
-
struct ANT_PA_LNA_CONFIG PA_CONFIG
-
struct ANT_PA_LNA_CONFIG LNA_CONFIG
-
uint8_t ucGPIOTECh
GPIOTE channel used to control PA and LNA pins.
-
uint8_t ucPPIChEnable
PPI channel used to control the PA/LNA signal before EVENTS_READY. Must be different from ucPPIChDisable.
-
uint8_t ucPPIChDisable
PPI channel used to control the PA/LNA signal during EVENTS_DISABLED. Must be different from ucPPIChEnable.
-
bool bEnabled
-
union ANT_MESSAGE
- #include <ant_parameters.h>
The structure that holds ANT messages.
Public Members
-
uint32_t ulForceAlign
-
uint8_t aucMessage[(((uint8_t)1) + ((uint8_t)1) + ((uint8_t)1) + (((uint8_t)8) + ((uint8_t)1) + (((uint8_t)4) + ((uint8_t)3) + ((uint8_t)4) + ((uint8_t)17))) + ((uint8_t)1))]
-
uint8_t ucSize
-
uint8_t aucFramedData[(((uint8_t)1) + ((uint8_t)1) + (((uint8_t)8) + ((uint8_t)1) + (((uint8_t)4) + ((uint8_t)3) + ((uint8_t)4) + ((uint8_t)17))))]
-
uint8_t ucMesgID
-
uint8_t aucMesgData[((((uint8_t)8) + ((uint8_t)1) + (((uint8_t)4) + ((uint8_t)3) + ((uint8_t)4) + ((uint8_t)17))) + ((uint8_t)1))]
-
uint8_t ucChannel
-
uint8_t ucSubID
-
union ANT_MESSAGE uData0
-
uint8_t aucPayload[((uint8_t)8)]
-
EXT_MESG_BF sExtMesgBF
-
uint8_t aucExtData[(((uint8_t)4) + ((uint8_t)3) + ((uint8_t)4) + ((uint8_t)17))]
-
struct ANT_MESSAGE stMesgData
-
union ANT_MESSAGE uMesgData
-
struct ANT_MESSAGE stFramedData
-
union ANT_MESSAGE uFramedData
-
uint8_t ucCheckSum
-
struct ANT_MESSAGE stMessage
-
uint32_t ulForceAlign