33 #ifndef PIR_PARAM_GPIO 
   37 #define PIR_PARAM_GPIO             GPIO_PIN(0, 6) 
   39 #ifndef PIR_PARAM_ACTIVE_HIGH 
   43 #define PIR_PARAM_ACTIVE_HIGH      1 
   50 #define PIR_PARAMS                 { .gpio = PIR_PARAM_GPIO, \ 
   51                                      .active_high = PIR_PARAM_ACTIVE_HIGH } 
   58 #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.