Paparazzi UAS  v5.15_devel-50-g4d7045d
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
led.h File Reference

arch independent LED (Light Emitting Diodes) API More...

#include "led_hw.h"
+ Include dependency graph for led.h:

Go to the source code of this file.

Macros

#define _LED_AVAILABLE(i)   USE_LED_ ## i
 
#define LED_AVAILABLE(i)   _LED_AVAILABLE(i)
 

Functions

static void led_init (void)
 Automatic initialization of actived LED Set to OFF at startup. More...
 
static void led_disable (void)
 Automatic disabling of activated LED Usually by setting control GPIO in high impedance input mode. More...
 

Detailed Description

arch independent LED (Light Emitting Diodes) API

Definition in file led.h.

Macro Definition Documentation

#define _LED_AVAILABLE (   i)    USE_LED_ ## i

Definition at line 156 of file led.h.

#define LED_AVAILABLE (   i)    _LED_AVAILABLE(i)

Definition at line 157 of file led.h.

Function Documentation

static void led_disable ( void  )
inlinestatic

Automatic disabling of activated LED Usually by setting control GPIO in high impedance input mode.

Definition at line 105 of file led.h.

References LED_DISABLE.

static void led_init ( void  )
inlinestatic

Automatic initialization of actived LED Set to OFF at startup.

Definition at line 39 of file led.h.

References LED_INIT, and LED_OFF.

Referenced by main(), and mcu_init().

+ Here is the caller graph for this function: