Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
debug_led.h File Reference

Go to the source code of this file.

Functions

static void LED1_ON (void)
 
static void LED1_OFF (void)
 
static void LED2_ON (void)
 
static void LED2_OFF (void)
 
static void LED_INIT (void)
 
static void LED_ERROR (uint8_t base, uint8_t nr)
 
static void LED_SHOW_ACTIVE_BITS (I2C_TypeDef *regs)
 

Function Documentation

static void LED1_OFF ( void  )
inlinestatic

Definition at line 8 of file debug_led.h.

References GPIOB.

Referenced by i2c_irq(), i2c_setbitrate(), LED_ERROR(), LED_INIT(), LED_SHOW_ACTIVE_BITS(), PPRZ_I2C_SEND_START(), and PPRZ_I2C_SEND_STOP().

+ Here is the caller graph for this function:

static void LED1_ON ( void  )
inlinestatic

Definition at line 3 of file debug_led.h.

References GPIOB.

Referenced by i2c_irq(), i2c_setbitrate(), LED_ERROR(), LED_SHOW_ACTIVE_BITS(), PPRZ_I2C_SEND_START(), and PPRZ_I2C_SEND_STOP().

+ Here is the caller graph for this function:

static void LED2_OFF ( void  )
inlinestatic

Definition at line 18 of file debug_led.h.

References GPIOB.

Referenced by i2c_irq(), i2c_setbitrate(), i2c_submit(), LED_ERROR(), LED_INIT(), LED_SHOW_ACTIVE_BITS(), PPRZ_I2C_SEND_START(), and PPRZ_I2C_SEND_STOP().

+ Here is the caller graph for this function:

static void LED2_ON ( void  )
inlinestatic

Definition at line 13 of file debug_led.h.

References GPIOB.

Referenced by i2c_irq(), i2c_setbitrate(), i2c_submit(), LED_ERROR(), LED_SHOW_ACTIVE_BITS(), PPRZ_I2C_SEND_START(), and PPRZ_I2C_SEND_STOP().

+ Here is the caller graph for this function:

static void LED_ERROR ( uint8_t  base,
uint8_t  nr 
)
inlinestatic

Definition at line 37 of file debug_led.h.

References LED1_OFF(), LED1_ON(), LED2_OFF(), and LED2_ON().

Referenced by i2c_error().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void LED_INIT ( void  )
inlinestatic

Definition at line 23 of file debug_led.h.

References GPIOB, LED1_OFF(), and LED2_OFF().

+ Here is the call graph for this function:

static void LED_SHOW_ACTIVE_BITS ( I2C_TypeDef *  regs)
inlinestatic

Definition at line 47 of file debug_led.h.

References BIT_X_IS_SET_IN_REG, LED1_OFF(), LED1_ON(), LED2_OFF(), and LED2_ON().

Referenced by i2c_irq(), and PPRZ_I2C_SEND_START().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: