![]() |
IoT Drivers
v3.3.0 (S2022)
Engineering in Software Technology
|
Driver to PIR Motion Detector Module. More...
#include <stdbool.h>
Go to the source code of this file.
Typedefs | |
typedef struct hcsr501_struct * | hcsr501_p |
Functions | |
hcsr501_p | hcsr501_create (volatile uint8_t *port, uint8_t portPin) |
Create the HC-SR501 driver. More... | |
void | hcsr501_destroy (hcsr501_p instance) |
Destroy the HC-SR501 driver. More... | |
bool | hcsr501_isDetecting (hcsr501_p instance) |
Tell if the sensor is detecting something. More... | |
Driver to PIR Motion Detector Module.
typedef struct hcsr501_struct* hcsr501_p |