Contiki-NG

Digital motion sensor header file. More...

#include "lib/sensors.h"

Go to the source code of this file.

Macros

Motion sensor return and operation values
#define MOTION_ACTIVE   SENSORS_ACTIVE
 
#define MOTION_SUCCESS   0
 
#define MOTION_ERROR   (-1)
 

Motion sensor interrupt callback macro

#define MOTION_REGISTER_INT(ptr)   presence_int_callback = ptr;
 
void(* presence_int_callback )(uint8_t value)
 

Detailed Description

Digital motion sensor header file.

Author
Antonio Lignan alina.nosp@m.n@zo.nosp@m.lerti.nosp@m.a.co.nosp@m.m

Definition in file motion-sensor.h.