Loading...
Searching...
No Matches
openwsn_leds.h File Reference

Provides an adaption of OpenWSN led handling to RIOTs handling of LEDs and/or GPIOs. More...

Detailed Description

Provides an adaption of OpenWSN led handling to RIOTs handling of LEDs and/or GPIOs.

Author
Peter Kietzmann peter.nosp@m..kie.nosp@m.tzman.nosp@m.n@ha.nosp@m.w-ham.nosp@m.burg.nosp@m..de
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr

Definition in file openwsn_leds.h.

#include "periph/gpio.h"
+ Include dependency graph for openwsn_leds.h:

Go to the source code of this file.

Data Structures

struct  leds_config
 OpenWSN leds pin configuration. More...
 

Enumerations

enum  { GPIO_LED_LOW = 0 , GPIO_LED_HIGH }
 Led on state values. More...
 

Functions

void ledpins_riot_init (const leds_config_t *user_config)
 Sets the led pins for a specific board for OpenWSN.
 
typedef struct leds_config leds_config_t
 OpenWSN leds pin configuration.
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Led on state values.

Definition at line 48 of file openwsn_leds.h.

Function Documentation

◆ ledpins_riot_init()

void ledpins_riot_init ( const leds_config_t user_config)

Sets the led pins for a specific board for OpenWSN.

Parameters
[in]user_configA configuration of GPIO pins used for debugging.
Note
Unused pins need to be defined as GPIO_UNDEF