33#ifndef DFPLAYER_PARAM_UART
34#define DFPLAYER_PARAM_UART (UART_DEV(0))
37#ifndef DFPLAYER_PARAM_BUSY_PIN
38#define DFPLAYER_PARAM_BUSY_PIN (GPIO_UNDEF)
41#ifndef DFPLAYER_PARAM_VOLUME
42#define DFPLAYER_PARAM_VOLUME (15)
45#ifndef DFPLAYER_PARAMS
49#define DFPLAYER_PARAMS {\
50 .uart = DFPLAYER_PARAM_UART, \
51 .busy_pin = DFPLAYER_PARAM_BUSY_PIN, \
52 .volume = DFPLAYER_PARAM_VOLUME, \
68#define DFPLAYER_NUMOF ARRAY_SIZE(dfplayer_params)
static const dfplayer_params_t dfplayer_params[]
DFPlayer Mini configuration.
#define DFPLAYER_PARAMS
Default initialization parameters of the DFPlayer Mini driver.
Types used in the DFPlayer Mini Device Driver.
Common macros and compiler attributes/pragmas configuration.
Initialization parameters of a DFPlayer Mini device descriptor.