Default configuration for PIR devices. More...
Default configuration for PIR devices.
Definition in file pir_params.h.
 Include dependency graph for pir_params.h:
 Include dependency graph for pir_params.h:Go to the source code of this file.
| Variables | |
| 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. | |
| default configuration parameters for the PIR driver | |
| #define | PIR_PARAM_GPIO GPIO_PIN(0, 6) | 
| GPIO pin the PIR is connected to. | |
| #define | PIR_PARAM_ACTIVE_HIGH 1 | 
| Signal polarity: 1 means high on active, 0 means low on active. | |
| #define | PIR_PARAMS | 
| The PIR configuration parameters. | |
| #define | PIR_SAUL_INFO { .name = "PIR" } | 
| The SAUL information the PIR devices get registered with. | |
| #define PIR_PARAM_ACTIVE_HIGH 1 | 
Signal polarity: 1 means high on active, 0 means low on active.
Definition at line 43 of file pir_params.h.
| #define PIR_PARAM_GPIO GPIO_PIN(0, 6) | 
GPIO pin the PIR is connected to.
Definition at line 37 of file pir_params.h.
| #define PIR_PARAMS | 
The PIR configuration parameters.
Definition at line 50 of file pir_params.h.
| #define PIR_SAUL_INFO { .name = "PIR" } | 
The SAUL information the PIR devices get registered with.
Definition at line 58 of file pir_params.h.
| 
 | static | 
| 
 | static | 
Additional meta information to keep in the SAUL registry.
Definition at line 73 of file pir_params.h.