Appiko
|
Stucture for passing the configuration for initializing the PIR Sense module. More...
#include <pir_sense.h>
Data Fields | |
uint32_t | pir_signal_analog_in |
The sampling interval in ms. | |
uint32_t | pir_offset_analog_in |
The analog input number of PIR signal. | |
uint32_t | threshold |
The analog input number of PIR offset. | |
uint32_t | irq_priority |
void(* | handler )(int32_t adc_val) |
The interrupt priority for calling the handler. | |
Definition at line 96 of file pir_sense.h.
uint32_t pir_sense_cfg::irq_priority |
The (+/-) threshold to be crossed for the handler to be called
Definition at line 102 of file pir_sense.h.