Loading...
Searching...
No Matches
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
29extern "C" {
30#endif
31
35typedef 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
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* OPENWSN_DEBUGPINS_H */
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