|
Contiki 3.x
|
Driver for the SmartRF06EB buttons. More...
#include "contiki.h"#include "dev/nvic.h"#include "dev/ioc.h"#include "dev/gpio.h"#include "dev/button-sensor.h"#include "sys/timer.h"#include <stdint.h>#include <string.h>Go to the source code of this file.
Functions | |
| static void | config (uint32_t port_base, uint32_t pin_mask) |
| Common initialiser for all buttons. More... | |
| static void | btn_callback (uint8_t port, uint8_t pin) |
| Callback registered with the GPIO module. More... | |
| static int | config_select (int type, int value) |
| Init function for the select button. More... | |
| static int | config_left (int type, int value) |
| Init function for the left button. More... | |
| static int | config_right (int type, int value) |
| Init function for the right button. More... | |
| static int | config_up (int type, int value) |
| Init function for the up button. More... | |
| static int | config_down (int type, int value) |
| Init function for the down button. More... | |
| void | button_sensor_init () |
| Common initialiser for all SmartRF Buttons. | |
Driver for the SmartRF06EB buttons.
Definition in file button-sensor.c.
1.8.6