19#ifndef PULSE_COUNTER_PARAMS_H
20#define PULSE_COUNTER_PARAMS_H
34#ifndef PULSE_COUNTER_GPIO
38#define PULSE_COUNTER_GPIO GPIO_PIN(0, 18)
41#ifndef PULSE_COUNTER_GPIO_FLANK
45#define PULSE_COUNTER_GPIO_FLANK GPIO_FALLING
48#ifndef PULSE_COUNTER_PARAMS
52#define PULSE_COUNTER_PARAMS { .gpio = PULSE_COUNTER_GPIO, \
53 .gpio_flank = PULSE_COUNTER_GPIO_FLANK }
56#ifndef PULSE_COUNTER_SAUL_INFO
60#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.