Contiki-NG
Macros

Header file for the nRF52dk button driver. More...

#include "lib/sensors.h"

Go to the source code of this file.

Macros

#define BUTTON_SENSOR_VALUE_STATE   0
 Can be passed to value() function to get current button state.
 
#define BUTTON_SENSOR_VALUE_DURATION   1
 Can be passed to value() function to get low state duration.
 

Detailed Description

Header file for the nRF52dk button driver.

Author
Wojciech Bober wojci.nosp@m.ech..nosp@m.bober.nosp@m.@nor.nosp@m.dicse.nosp@m.mi.n.nosp@m.o

Definition in file button-sensor.h.