mikrosdk interface
More...
#include <stdint.h>
Go to the source code of this file.
◆ MOTION_T_TONMIN
| #define MOTION_T_TONMIN 1000 /* 1 second minimum on time */ |
◆ MOTION_USE_INTERRUPT
| #define MOTION_USE_INTERRUPT 0 |
◆ motion_detect_state_changes_t
| Enumerator |
|---|
| MOTION_CH_NO_DETECT | |
| MOTION_CH_DETECTED | |
| MOTION_CH_NOT_PRESENT | |
| MOTION_CH_PRESENT | |
| MOTION_CH_ERROR | |
◆ motion_status
| Enumerator |
|---|
| MOTION_ST_OK | |
| MOTION_ST_FAIL | |
◆ MIKROSDK_MOTION_Acquire()
| uint8_t MIKROSDK_MOTION_Acquire |
( |
uint8_t * |
detection_state, |
|
|
uint32_t * |
detection_time |
|
) |
| |
◆ MIKROSDK_MOTION_alarm_triggered()
| uint8_t MIKROSDK_MOTION_alarm_triggered |
( |
void |
| ) |
|
◆ MIKROSDK_MOTION_Disable()
| void MIKROSDK_MOTION_Disable |
( |
void |
| ) |
|
◆ MIKROSDK_MOTION_Enable()
| void MIKROSDK_MOTION_Enable |
( |
void |
| ) |
|
◆ MIKROSDK_MOTION_get_detected()
◆ MIKROSDK_MOTION_Initialise()
| uint8_t MIKROSDK_MOTION_Initialise |
( |
void |
| ) |
|
◆ MIKROSDK_MOTION_pin_mapping()
| void MIKROSDK_MOTION_pin_mapping |
( |
uint8_t |
enable, |
|
|
uint8_t |
output |
|
) |
| |
◆ MIKROSDK_MOTION_Reinitialise()
| uint8_t MIKROSDK_MOTION_Reinitialise |
( |
void |
| ) |
|