device descriptor for a PIR sensor More...
#include <pir.h>
Data Fields | |
uint64_t | start_active_time |
Time when PIR starts to be active. | |
uint64_t | accum_active_time |
Accumulated active time. | |
uint64_t | last_read_time |
Last time when PIR status is read. | |
kernel_pid_t | msg_thread_pid |
thread to msg on irq | |
bool | active |
Indicate PIR is active or not. | |
pir_params_t | p |
Configuration parameters. | |