43 #ifndef BUTTON_SENSOR_H_
44 #define BUTTON_SENSOR_H_
46 #include "lib/sensors.h"
49 #define BUTTON_SENSOR "Button"
51 #define button_sensor button_select_sensor
53 extern const struct sensors_sensor button_left_sensor;
54 extern const struct sensors_sensor button_right_sensor;
55 extern const struct sensors_sensor button_up_sensor;
56 extern const struct sensors_sensor button_down_sensor;
Header file with register and macro declarations for the cc2538 GPIO module.
void button_sensor_init()
Common initialiser for all SmartRF Buttons.
struct sensors_sensor button_select_sensor
Exports a global symbol to be used by the sensor API.