Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lisa_overo_link.h File Reference
#include <inttypes.h>
#include "fms/fms_autopilot_msg.h"
#include "lisa_overo_link_arch.h"
+ Include dependency graph for lisa_overo_link.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  LisaOveroLink
 

Macros

#define OVERO_LINK_TIMEOUT   10
 
#define OveroLinkPeriodic(_timeout_handler)
 

Enumerations

enum  LisaOveroLinkStatus { IDLE, BUSY, DATA_AVAILABLE, LOST }
 

Functions

void overo_link_init (void)
 
void overo_link_periodic (void)
 
void overo_link_arch_init (void)
 
void overo_link_arch_prepare_next_transfert (void)
 

Variables

struct LisaOveroLink overo_link
 

Macro Definition Documentation

#define OVERO_LINK_TIMEOUT   10

Definition at line 10 of file lisa_overo_link.h.

Referenced by overo_link_init().

#define OveroLinkPeriodic (   _timeout_handler)
Value:
{ \
else { \
__disable_irq(); \
__enable_irq(); \
LED_OFF(OVERO_LINK_LED_OK); \
LED_ON(OVERO_LINK_LED_KO); \
_timeout_handler(); \
} \
__enable_irq(); \
} \
}
#define LED_ON(i)
Definition: led_hw.h:28
#define LED_OFF(i)
Definition: led_hw.h:29

Definition at line 59 of file lisa_overo_link.h.

Referenced by main_periodic(), and vi_impl_periodic().

Enumeration Type Documentation

Enumerator
IDLE 
BUSY 
DATA_AVAILABLE 
LOST 

Definition at line 8 of file lisa_overo_link.h.

Function Documentation

void overo_link_arch_init ( void  )

Definition at line 12 of file lisa_overo_link_arch.c.

References overo_link_arch_prepare_next_transfert(), and SPI1.

Referenced by overo_link_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void overo_link_arch_prepare_next_transfert ( void  )

Definition at line 57 of file lisa_overo_link_arch.c.

References __attribute__(), LisaOveroLink::array, LisaOveroLink::down, foo, overo_link, SPI1, and LisaOveroLink::up.

Referenced by overo_link_arch_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void overo_link_init ( void  )

Definition at line 5 of file lisa_overo_link.c.

References LisaOveroLink::crc_err_cnt, LisaOveroLink::crc_error, FALSE, IDLE, LisaOveroLink::msg_cnt, overo_link, overo_link_arch_init(), OVERO_LINK_TIMEOUT, LisaOveroLink::status, LisaOveroLink::timeout, and LisaOveroLink::timeout_cnt.

Referenced by main(), main_init(), and vi_impl_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void overo_link_periodic ( void  )

Variable Documentation