device descriptor for a PIR sensor
More...
device descriptor for a PIR sensor
Definition at line 54 of file pir.h.
#include <pir.h>
◆ accum_active_time
uint64_t pir_t::accum_active_time |
Accumulated active time.
Definition at line 56 of file pir.h.
◆ active
Indicate PIR is active or not.
Definition at line 59 of file pir.h.
◆ last_read_time
uint64_t pir_t::last_read_time |
Last time when PIR status is read.
Definition at line 57 of file pir.h.
◆ msg_thread_pid
thread to msg on irq
Definition at line 58 of file pir.h.
Configuration parameters.
Definition at line 60 of file pir.h.
◆ start_active_time
uint64_t pir_t::start_active_time |
Time when PIR starts to be active.
Definition at line 55 of file pir.h.
The documentation for this struct was generated from the following file: