Contiki 2.6

led.c File Reference

LED manipulation routines; stack and example APIs. More...

#include "hal/micro/led.h"
#include "hal/micro/micro-common.h"
#include "hal/micro/cortexm3/micro-common.h"

Go to the source code of this file.

Functions

void halInitLed (void)
 Configures GPIOs pertaining to the control of LEDs.
void halSetLed (HalBoardLed led)
 Turns on (sets) a GPIO pin connected to an LED so that the LED turns on.
void halClearLed (HalBoardLed led)
 Turns off (clears) a GPIO pin connected to an LED, which turns off the LED.
void halToggleLed (HalBoardLed led)
 Atomically wraps an XOR or similar operation for a single GPIO pin attached to an LED.

Detailed Description

LED manipulation routines; stack and example APIs.

Definition in file led.c.