Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ _LED_AVAILABLE

#define _LED_AVAILABLE (   i)    USE_LED_ ## i

Definition at line 156 of file led.h.

◆ LED_AVAILABLE

#define LED_AVAILABLE (   i)    _LED_AVAILABLE(i)

Definition at line 157 of file led.h.

Function Documentation

◆ led_disable()

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.

◆ led_init()

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: