34 #error Please specify the pins to use with the dbgpin module (DBGPIN_PINS) 
   45     static const gpio_t dbgpin_pins[] = { DBGPIN_PINS };
 
   57     static const gpio_t dbgpin_pins[] = { DBGPIN_PINS };
 
   69     static const gpio_t dbgpin_pins[] = { DBGPIN_PINS };
 
   94     for (
unsigned i = 0; i < num; i++) {
 
  106     static const gpio_t dbgpin_pins[] = { DBGPIN_PINS };
 
  115     static const gpio_t dbgpin_pins[] = { DBGPIN_PINS };
 
  116     for (
unsigned i = 0; i < 
ARRAY_SIZE(dbgpin_pins); i++) {
 
@ GPIO_OUT
select GPIO MASK as output
 
Common macros and compiler attributes/pragmas configuration.
 
#define ARRAY_SIZE(a)
Calculate the number of elements in a static array.
 
Low-level GPIO peripheral driver interface definitions.
 
void gpio_toggle(gpio_t pin)
Toggle the value of the given pin.
 
void gpio_clear(gpio_t pin)
Set the given pin to LOW.
 
void gpio_set(gpio_t pin)
Set the given pin to HIGH.
 
int gpio_init(gpio_t pin, gpio_mode_t mode)
Initialize the given pin as general purpose input or output.
 
static void dbgpin_init(void)
Initialize the configured input pins.
 
static void dbgpin_signal(unsigned pin, unsigned num)
Output a specified number of pulses on the given debug pin.
 
static size_t dbgpin_count(void)
Get the number of configured debug pins.
 
static void dbgpin_set(unsigned pin)
Set the given debug pin to HIGH.
 
static void dbgpin_toggle(unsigned pin)
Toggle the given debug pin.
 
static void dbgpin_clear(unsigned pin)
Set the given debug pin to LOW.
 
static void dbgpin_pulse(unsigned pin)
Output a pulse on the given debug pin (toggles the pin twice)