Go to the documentation of this file.
19 #ifndef PULSE_COUNTER_PARAMS_H
20 #define PULSE_COUNTER_PARAMS_H
30 #ifndef PULSE_COUNTER_GPIO
31 #define PULSE_COUNTER_GPIO GPIO_PIN(0,18)
34 #ifndef PULSE_COUNTER_GPIO_FLANK
35 #define PULSE_COUNTER_GPIO_FLANK GPIO_FALLING
38 #ifndef PULSE_COUNTER_PARAMS
39 #define PULSE_COUNTER_PARAMS { .gpio = PULSE_COUNTER_GPIO, \
40 .gpio_flank = PULSE_COUNTER_GPIO_FLANK }
43 #ifndef PULSE_COUNTER_SAUL_INFO
44 #define PULSE_COUNTER_SAUL_INFO { .name = "pulse counter" }
60 PULSE_COUNTER_SAUL_INFO
static const saul_reg_info_t pulse_counter_saul_info[]
Additional meta information to keep in the SAUL registry.
Parameters needed for device initialization.
Additional data to collect for each entry.
Driver for the pulse counter.
SAUL registry interface definition.
static const pulse_counter_params_t pulse_counter_params[]
PULSE_COUNTER configuration.