Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
link_mcu_hw.h File Reference
+ This graph shows which files directly or indirectly include this file:

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.