Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
led_hw.h File Reference

omap arch dependant LED macros. More...

#include <stdint.h>
+ Include dependency graph for led_hw.h:

Go to the source code of this file.

Macros

#define LED_INIT(i)   { led_hw_values &= ~(1<<i); }
 
#define LED_ON(i)   { led_hw_values |= (1<<i); }
 
#define LED_OFF(i)   { led_hw_values &= ~(1<<i); }
 
#define LED_TOGGLE(i)   { led_hw_values ^= (1<<i); }
 
#define LED_PERIODIC()   {}
 

Variables

uint32_t led_hw_values
 

Detailed Description

omap arch dependant LED macros.

Definition in file led_hw.h.

Macro Definition Documentation

#define LED_INIT (   i)    { led_hw_values &= ~(1<<i); }

Definition at line 35 of file led_hw.h.

#define LED_OFF (   i)    { led_hw_values &= ~(1<<i); }

Definition at line 37 of file led_hw.h.

#define LED_ON (   i)    { led_hw_values |= (1<<i); }

Definition at line 36 of file led_hw.h.

#define LED_PERIODIC ( )    {}

Definition at line 40 of file led_hw.h.

#define LED_TOGGLE (   i)    { led_hw_values ^= (1<<i); }

Definition at line 38 of file led_hw.h.

Variable Documentation

uint32_t led_hw_values

Definition at line 68 of file actuators_ardrone2_raw.c.

Referenced by actuators_ardrone_init(), and actuators_ardrone_led_run().