Default configuration for PULSE_COUNTER devices. More...
Default configuration for PULSE_COUNTER devices.
Definition in file pulse_counter_params.h.
Go to the source code of this file.
GPIO pulse counter driver initialization parameters | |
#define | PULSE_COUNTER_GPIO GPIO_PIN(0, 18) |
The GPIO pin to count pulses of. | |
#define | PULSE_COUNTER_GPIO_FLANK GPIO_FALLING |
The signal flank to count pulses at. | |
#define | PULSE_COUNTER_PARAMS |
The pulse counter parameters to initialize the driver with. | |
#define | PULSE_COUNTER_SAUL_INFO { .name = "pulse counter" } |
The SAUL info to use when registering the pulse counter instances. | |
static const pulse_counter_params_t | pulse_counter_params [] |
PULSE_COUNTER configuration. | |
static const saul_reg_info_t | pulse_counter_saul_info [] |
Additional meta information to keep in the SAUL registry. | |
#define PULSE_COUNTER_GPIO GPIO_PIN(0, 18) |
The GPIO pin to count pulses of.
Definition at line 38 of file pulse_counter_params.h.
#define PULSE_COUNTER_GPIO_FLANK GPIO_FALLING |
The signal flank to count pulses at.
Definition at line 45 of file pulse_counter_params.h.
#define PULSE_COUNTER_PARAMS |
The pulse counter parameters to initialize the driver with.
Definition at line 52 of file pulse_counter_params.h.
#define PULSE_COUNTER_SAUL_INFO { .name = "pulse counter" } |
The SAUL info to use when registering the pulse counter instances.
Definition at line 60 of file pulse_counter_params.h.
|
static |
PULSE_COUNTER configuration.
Definition at line 66 of file pulse_counter_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 74 of file pulse_counter_params.h.