|
Contiki 3.x
|
Driver for for the OpenMote-CC2538 user button. 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 "sys/ctimer.h"#include "sys/process.h"#include <stdint.h>#include <string.h>Go to the source code of this file.
Functions | |
| static int | value (int type) |
| Retrieves the value of the button pin. More... | |
| static void | btn_callback (uint8_t port, uint8_t pin) |
| Callback registered with the GPIO module. More... | |
| static int | config_user (int type, int value) |
| Init function for the User button. More... | |
Driver for for the OpenMote-CC2538 user button.
Definition in file button-sensor.c.
1.8.6