36 #ifndef MOTION_CLICK_H
37 #define MOTION_CLICK_H
42 #ifndef MOTION_USE_INTERRUPT
43 #define MOTION_USE_INTERRUPT 0
63 #ifndef MOTION_T_TONMIN
64 #define MOTION_T_TONMIN 1000
motion_status
Definition: motion_click.h:57
@ MOTION_ST_OK
Definition: motion_click.h:58
@ MOTION_ST_FAIL
Definition: motion_click.h:59
void MIKROSDK_MOTION_Disable(void)
Definition: motion.c:151
void MIKROSDK_MOTION_pin_mapping(uint8_t enable, uint8_t output)
Definition: motion.c:157
uint8_t MIKROSDK_MOTION_Acquire(uint8_t *detection_state, uint32_t *detection_time)
Definition: motion.c:197
motion_detect_state_changes_t
Definition: motion_click.h:48
@ MOTION_CH_PRESENT
Definition: motion_click.h:52
@ MOTION_CH_NO_DETECT
Definition: motion_click.h:49
@ MOTION_CH_ERROR
Definition: motion_click.h:53
@ MOTION_CH_DETECTED
Definition: motion_click.h:50
@ MOTION_CH_NOT_PRESENT
Definition: motion_click.h:51
void MIKROSDK_MOTION_Enable(void)
Definition: motion.c:145
uint8_t MIKROSDK_MOTION_alarm_triggered(void)
Definition: motion.c:95
motion_detect_state_changes_t MIKROSDK_MOTION_get_detected(void)
Definition: motion.c:103
uint8_t MIKROSDK_MOTION_Reinitialise(void)
Definition: motion.c:185
uint8_t MIKROSDK_MOTION_Initialise(void)
Definition: motion.c:164
FILE * output
Definition: sniffer.c:194