All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Default configuration for IO1 Xplained. More...

Detailed Description

Default configuration for IO1 Xplained.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file io1_xplained_params.h.

#include "board.h"
#include "io1_xplained.h"
#include "io1_xplained_internals.h"
#include "saul_reg.h"
#include "saul/periph.h"
#include "periph/gpio.h"
+ Include dependency graph for io1_xplained_params.h:

Go to the source code of this file.

Variables

static const io1_xplained_params_t io1_xplained_params []
 Configure IO1 Xplained extension.
 
saul_reg_info_t io1_xplained_saul_info [][4]
 Allocate and configure entries to the SAUL registry.
 

Set default configuration parameters for the IO1 Xplained extension

#define IO1_XPLAINED_PARAM_ADDR   (0x07)
 
#define IO1_XPLAINED_PARAMS   { .addr = IO1_XPLAINED_PARAM_ADDR }
 
#define IO1_XPLAINED_SAUL_INFO
 

Macro Definition Documentation

◆ IO1_XPLAINED_PARAM_ADDR

#define IO1_XPLAINED_PARAM_ADDR   (0x07)

Definition at line 38 of file io1_xplained_params.h.

◆ IO1_XPLAINED_PARAMS

#define IO1_XPLAINED_PARAMS   { .addr = IO1_XPLAINED_PARAM_ADDR }

Definition at line 42 of file io1_xplained_params.h.

◆ IO1_XPLAINED_SAUL_INFO

#define IO1_XPLAINED_SAUL_INFO
Value:
{{ .name = "Temperature (IO1 Xplained)" }, \
{ .name = "LED (IO1 Xplained)" }, \
{ .name = "GPIO1 (IO1 Xplained)" }, \
{ .name = "GPIO2 (IO1 Xplained)" }}

Definition at line 45 of file io1_xplained_params.h.

Variable Documentation

◆ io1_xplained_params

const io1_xplained_params_t io1_xplained_params[]
static
Initial value:
=
{
IO1_XPLAINED_PARAMS
}

Configure IO1 Xplained extension.

Definition at line 55 of file io1_xplained_params.h.

◆ io1_xplained_saul_info

saul_reg_info_t io1_xplained_saul_info[][4]
Initial value:
=
{
IO1_XPLAINED_SAUL_INFO
}

Allocate and configure entries to the SAUL registry.

Definition at line 63 of file io1_xplained_params.h.