nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ AUDIO_MODULE_PARAMETERS

#define AUDIO_MODULE_PARAMETERS ( p,
dest,
stk,
stk_size,
pri,
fifo_rx,
fifo_tx,
slab,
slab_size )

#include <include/audio_module/audio_module.h>

Value:
(p).description = (dest); \
(p).thread.stack = (stk); \
(p).thread.stack_size = (stk_size); \
(p).thread.priority = (pri); \
(p).thread.msg_rx = (fifo_rx); \
(p).thread.msg_tx = (fifo_tx); \
(p).thread.data_slab = (slab); \
(p).thread.data_size = (slab_size);

Helper macro to configure the modules parameters.