30#ifndef DFPLAYER_PARAM_UART
31#define DFPLAYER_PARAM_UART (UART_DEV(0))
34#ifndef DFPLAYER_PARAM_BUSY_PIN
35#define DFPLAYER_PARAM_BUSY_PIN (GPIO_UNDEF)
38#ifndef DFPLAYER_PARAM_VOLUME
39#define DFPLAYER_PARAM_VOLUME (15)
42#ifndef DFPLAYER_PARAMS
46#define DFPLAYER_PARAMS {\
47 .uart = DFPLAYER_PARAM_UART, \
48 .busy_pin = DFPLAYER_PARAM_BUSY_PIN, \
49 .volume = DFPLAYER_PARAM_VOLUME, \
65#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.