38#define PIR_PARAM_GPIO GPIO_PIN(0, 6)
40#ifndef PIR_PARAM_ACTIVE_HIGH
44#define PIR_PARAM_ACTIVE_HIGH 1
51#define PIR_PARAMS { .gpio = PIR_PARAM_GPIO, \
52 .active_high = PIR_PARAM_ACTIVE_HIGH }
59#define PIR_SAUL_INFO { .name = "PIR" }
Device driver interface for the PIR motion sensor.
#define PIR_PARAMS
The PIR configuration parameters.
static const pir_params_t pir_params[]
PIR configuration.
static const saul_reg_info_t pir_saul_info[]
Additional meta information to keep in the SAUL registry.
#define PIR_SAUL_INFO
The SAUL information the PIR devices get registered with.
SAUL registry interface definition.
Parameters needed for device initialization.
Additional data to collect for each entry.