Contiki-NG
|
Implementation of the platform-independent aspects of the LED HAL. More...
#include "contiki.h"
#include "dev/gpio-hal.h"
#include "dev/leds.h"
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Functions | |
void | leds_init () |
Initialise the LED HAL. More... | |
void | leds_single_on (leds_num_t led) |
Turn a single LED on. More... | |
void | leds_single_off (leds_num_t led) |
Turn a single LED off. More... | |
void | leds_single_toggle (leds_num_t led) |
Toggle a single LED. More... | |
void | leds_on (leds_mask_t leds) |
Turn on multiple LEDs. More... | |
void | leds_off (leds_mask_t leds) |
Turn off multiple LEDs. More... | |
void | leds_toggle (leds_mask_t leds) |
Toggle multiple LEDs. More... | |
void | leds_set (leds_mask_t leds) |
Set all LEDs to a specific state. More... | |
leds_mask_t | leds_get () |
Get the status of LEDs. More... | |
Implementation of the platform-independent aspects of the LED HAL.
Definition in file leds.c.