| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ANT stack configuration
This information applies to the following SoftDevices: S212, S332

This module configures the channel resources of the ANT stack:

- Total number of ANT channels
- Number of encrypted channels
- Transmit burst queue size
- Event queue size

The API for this module is available here: ANT stack configuration

The following code example shows how to use the module:

void user_ant_initialization(void)
{
sd_softdevice_enable(); // The SoftDevice must be enabled before configuring the stack.
ant_stack_static_config(); // Configure and enable the ANT stack.
/*
Other ANT calls (must be called after the configuration).
*/
}