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 
9 #pragma once
10 
25 #include "periph/gpio.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
34 typedef struct debugpins_config {
35  gpio_t frame;
36  gpio_t slot;
37  gpio_t fsm;
38  gpio_t task;
39  gpio_t isr;
40  gpio_t radio;
42 
49 void openwsn_debugpins_init(const debugpins_config_t *user_config);
50 
51 #ifdef __cplusplus
52 }
53 #endif
Low-level GPIO peripheral driver interface definitions.
struct debugpins_config debugpins_config_t
struct holding configuration of OpenWSN debug pins
void openwsn_debugpins_init(const debugpins_config_t *user_config)
Sets the debug pins for a specific board for OpenWSN.
struct holding configuration of OpenWSN debug pins
gpio_t isr
debug pin for interrupt service routines
gpio_t frame
debug pin for frames
gpio_t radio
debug pin for the radio
gpio_t slot
debug pin for slots
gpio_t task
debug pin for tasks
gpio_t fsm
debug pin for fsm