openwsn_debugpins.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Hamburg University of Applied Sciences
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
23 #ifndef OPENWSN_DEBUGPINS_H
24 #define OPENWSN_DEBUGPINS_H
25 
26 #include "periph/gpio.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
35 typedef struct debugpins_config {
36  gpio_t frame;
37  gpio_t slot;
38  gpio_t fsm;
39  gpio_t task;
40  gpio_t isr;
41  gpio_t radio;
43 
50 void openwsn_debugpins_init(const debugpins_config_t *user_config);
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif /* OPENWSN_DEBUGPINS_H */
debugpins_config::task
gpio_t task
debug pin for tasks
Definition: openwsn_debugpins.h:39
debugpins_config
struct holding configuration of OpenWSN debug pins
Definition: openwsn_debugpins.h:35
debugpins_config::radio
gpio_t radio
debug pin for the radio
Definition: openwsn_debugpins.h:41
debugpins_config::fsm
gpio_t fsm
debug pin for fsm
Definition: openwsn_debugpins.h:38
openwsn_debugpins_init
void openwsn_debugpins_init(const debugpins_config_t *user_config)
Sets the debug pins for a specific board for OpenWSN.
gpio.h
Low-level GPIO peripheral driver interface definitions.
debugpins_config::isr
gpio_t isr
debug pin for interrupt service routines
Definition: openwsn_debugpins.h:40
debugpins_config_t
struct debugpins_config debugpins_config_t
struct holding configuration of OpenWSN debug pins
debugpins_config::slot
gpio_t slot
debug pin for slots
Definition: openwsn_debugpins.h:37
debugpins_config::frame
gpio_t frame
debug pin for frames
Definition: openwsn_debugpins.h:36