dfplayer_params.h File Reference

Default configuration for the DFPlayer Mini driver. More...

Detailed Description

Default configuration for the DFPlayer Mini driver.

Author
Marian Buschsieweke maria.nosp@m.n.bu.nosp@m.schsi.nosp@m.ewek.nosp@m.e@ovg.nosp@m.u.de

Definition in file dfplayer_params.h.

#include "board.h"
#include "dfplayer_types.h"
#include "kernel_defines.h"
+ Include dependency graph for dfplayer_params.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DFPLAYER_NUMOF   ARRAY_SIZE(dfplayer_params)
 Number of DFPlayer descriptors present.
 

Variables

static const dfplayer_params_t dfplayer_params []
 DFPlayer Mini configuration. More...
 

Default configuration parameters for the DFPlayer Mini driver

#define DFPLAYER_PARAM_UART   (UART_DEV(0))
 The UART device connected to the DFPlayer Mini.
 
#define DFPLAYER_PARAM_BUSY_PIN   (GPIO_UNDEF)
 The GPIO connected to the busy pin of the DFPlayer Mini.
 
#define DFPLAYER_PARAM_VOLUME   (15)
 The volume to set during initialization.
 
#define DFPLAYER_PARAMS
 

Macro Definition Documentation

◆ DFPLAYER_PARAMS

#define DFPLAYER_PARAMS
Value:
{\
.busy_pin = DFPLAYER_PARAM_BUSY_PIN, \
.volume = DFPLAYER_PARAM_VOLUME, \
}

Definition at line 47 of file dfplayer_params.h.

Variable Documentation

◆ dfplayer_params

const dfplayer_params_t dfplayer_params[]
static
Initial value:
=
{
DFPLAYER_PARAMS
}

DFPlayer Mini configuration.

Definition at line 58 of file dfplayer_params.h.

DFPLAYER_PARAM_BUSY_PIN
#define DFPLAYER_PARAM_BUSY_PIN
The GPIO connected to the busy pin of the DFPlayer Mini.
Definition: dfplayer_params.h:39
DFPLAYER_PARAM_VOLUME
#define DFPLAYER_PARAM_VOLUME
The volume to set during initialization.
Definition: dfplayer_params.h:43
DFPLAYER_PARAM_UART
#define DFPLAYER_PARAM_UART
The UART device connected to the DFPlayer Mini.
Definition: dfplayer_params.h:35