openwsn_leds_params.h File Reference

Default configuration for the OpenWSN leds. More...

Detailed Description

Default configuration for the OpenWSN leds.

Author
Peter Kietzmann peter.nosp@m..kie.nosp@m.tzman.nosp@m.n@ha.nosp@m.w-ham.nosp@m.burg.nosp@m..de

Definition in file openwsn_leds_params.h.

#include "board.h"
+ Include dependency graph for openwsn_leds_params.h:

Go to the source code of this file.

Variables

static const leds_config_t openwsn_leds_params []
 OpenWSN leds configuration. More...
 

OpenWSN default leds pins configuration.

Default settings match OpenWSN openmote-b configuration.

Note
On Nucleo boards the LED pin is shared with SPI -> don't use it!
#define OPENWSN_LEDPIN_ERROR   GPIO_UNDEF
 
#define OPENWSN_LEDPIN_SYNC   GPIO_UNDEF
 
#define OPENWSN_LEDPIN_RADIO   GPIO_UNDEF
 
#define OPENWSN_LEDPIN_DEBUG   GPIO_UNDEF
 
#define OPENWSN_LED_ON_STATE   GPIO_LED_LOW
 
#define OPENWSN_LEDS_DEFAULT
 

Macro Definition Documentation

◆ OPENWSN_LEDS_DEFAULT

#define OPENWSN_LEDS_DEFAULT
Value:
{ .error = OPENWSN_LEDPIN_ERROR, \
.sync = OPENWSN_LEDPIN_SYNC, \
.radio = OPENWSN_LEDPIN_RADIO, \
.debug = OPENWSN_LEDPIN_DEBUG, \
.led_on = OPENWSN_LED_ON_STATE }

Definition at line 73 of file openwsn_leds_params.h.

Variable Documentation

◆ openwsn_leds_params

const leds_config_t openwsn_leds_params[]
static
Initial value:
=
{
OPENWSN_LEDS_DEFAULT,
}

OpenWSN leds configuration.

Definition at line 83 of file openwsn_leds_params.h.