Contiki 3.x
Functions
button-sensor.c File Reference

Driver for the Sensortag-CC26xx buttons. More...

#include "contiki.h"
#include "lib/sensors.h"
#include "sensortag/button-sensor.h"
#include "gpio-interrupt.h"
#include "sys/timer.h"
#include "lpm.h"
#include "ti-lib.h"
#include <stdint.h>

Go to the source code of this file.

Functions

static void button_press_handler (uint8_t ioid)
 Handler for Sensortag-CC26XX button presses.
 
static void config_buttons (int type, int c, uint32_t key)
 Configuration function for the button sensor for all buttons. More...
 
static int config_left (int type, int value)
 Configuration function for the left button. More...
 
static int config_right (int type, int value)
 Configuration function for the right button. More...
 
static int status (int type, uint32_t key_io_id)
 Status function for all buttons. More...
 
static int status_left (int type)
 Status function for the left button. More...
 
static int status_right (int type)
 Status function for the right button. More...
 

Detailed Description

Driver for the Sensortag-CC26xx buttons.

Definition in file button-sensor.c.