|
Contiki 3.x
|
Driver for the SmartRF06EB buttons when a CC13xx/CC26xxEM is mounted on it. More...
#include "contiki.h"#include "lib/sensors.h"#include "srf06/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 SmartRF 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_select (int type, int value) |
| Configuration function for the select button. 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 | config_up (int type, int value) |
| Configuration function for the up button. More... | |
| static int | config_down (int type, int value) |
| Configuration function for the down button. More... | |
| static int | status (int type, uint32_t key_io_id) |
| Status function for all buttons. More... | |
| static int | status_select (int type) |
| Status function for the select button. 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... | |
| static int | status_up (int type) |
| Status function for the up button. More... | |
| static int | status_down (int type) |
| Status function for the down button. More... | |
Driver for the SmartRF06EB buttons when a CC13xx/CC26xxEM is mounted on it.
Definition in file button-sensor.c.
1.8.6