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

Go to the source code of this file.

Macros

#define CRC_INIT   0x0
 handling of arm7 inter mcu link More...
 
#define CrcLow(x)   ((x)&0xff)
 
#define CrcHigh(x)   ((x)>>8)
 

Functions

static uint16_t CrcUpdate (uint16_t crc, uint8_t data)
 

Macro Definition Documentation

#define CRC_INIT   0x0

handling of arm7 inter mcu link

Definition at line 31 of file link_mcu_hw.h.

#define CrcHigh (   x)    ((x)>>8)

Definition at line 33 of file link_mcu_hw.h.

Referenced by CrcUpdate().

#define CrcLow (   x)    ((x)&0xff)

Definition at line 32 of file link_mcu_hw.h.

Referenced by CrcUpdate().

Function Documentation

static uint16_t CrcUpdate ( uint16_t  crc,
uint8_t  data 
)
inlinestatic

Definition at line 35 of file link_mcu_hw.h.

References crc, CrcHigh, and CrcLow.