33 #ifndef PULSE_COUNTER_GPIO 
   37 #define PULSE_COUNTER_GPIO GPIO_PIN(0, 18) 
   40 #ifndef PULSE_COUNTER_GPIO_FLANK 
   44 #define PULSE_COUNTER_GPIO_FLANK GPIO_FALLING 
   47 #ifndef PULSE_COUNTER_PARAMS 
   51 #define PULSE_COUNTER_PARAMS       { .gpio = PULSE_COUNTER_GPIO, \ 
   52                                      .gpio_flank = PULSE_COUNTER_GPIO_FLANK } 
   55 #ifndef PULSE_COUNTER_SAUL_INFO 
   59 #define PULSE_COUNTER_SAUL_INFO    { .name = "pulse counter" }
 
Driver for the pulse counter.
 
static const saul_reg_info_t pulse_counter_saul_info[]
Additional meta information to keep in the SAUL registry.
 
#define PULSE_COUNTER_PARAMS
The pulse counter parameters to initialize the driver with.
 
#define PULSE_COUNTER_SAUL_INFO
The SAUL info to use when registering the pulse counter instances.
 
static const pulse_counter_params_t pulse_counter_params[]
PULSE_COUNTER configuration.
 
SAUL registry interface definition.
 
Parameters needed for device initialization.
 
Additional data to collect for each entry.