Contiki 2.6
|
Button sensor. More...
#include "dev/button-sensor.h"
#include "hal/micro/micro-common.h"
#include "hal/micro/cortexm3/micro-common.h"
Go to the source code of this file.
Defines | |
#define | BUTTON_S1 PORTA_PIN(7) |
Port and pin for BUTTON0. | |
#define | BUTTON_S1_SEL() do { GPIO_IRQCSEL = BUTTON_S1; } while(0) |
Point the proper IRQ at the desired pin for BUTTON0. | |
#define | BUTTON_S1_ISR halIrqCIsr |
The interrupt service routine for BUTTON_S1. | |
#define | BUTTON_S1_INTCFG GPIO_INTCFGC |
The interrupt configuration register for BUTTON_S1. | |
#define | BUTTON_S1_INT_EN_BIT INT_IRQC |
The interrupt bit for BUTTON_S1. | |
#define | BUTTON_S1_FLAG_BIT INT_IRQCFLAG |
The interrupt bit for BUTTON_S1. | |
#define | BUTTON_S1_MISS_BIT INT_MISSIRQC |
The missed interrupt bit for BUTTON_S1. |
Button sensor.
Definition in file button-sensor.c.