Loading...
Searching...
No Matches
pir_params_t Struct Reference

Parameters needed for device initialization. More...

Detailed Description

Parameters needed for device initialization.

Definition at line 46 of file pir.h.

#include <pir.h>

Data Fields

gpio_t gpio
 GPIO device which is used.
 
bool active_high
 Active when GPIO pin is high or not.
 

Field Documentation

◆ active_high

bool pir_params_t::active_high

Active when GPIO pin is high or not.

Definition at line 48 of file pir.h.

◆ gpio

gpio_t pir_params_t::gpio

GPIO device which is used.

Definition at line 47 of file pir.h.


The documentation for this struct was generated from the following file: