Contiki 2.5
Typedefs | Functions
led.h File Reference

Header for led APIs. More...

Go to the source code of this file.

Typedefs

typedef int8u HalBoardLed
 Ensures that the definitions from the BOARD_HEADER are always used as parameters to the LED functions.
 

Functions

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

Detailed Description

Header for led APIs.

Definition in file led.h.