Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ CRC_INIT

#define CRC_INIT   0x0

handling of arm7 inter mcu link

Definition at line 31 of file link_mcu_hw.h.

◆ CrcHigh

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

Definition at line 33 of file link_mcu_hw.h.

◆ CrcLow

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

Definition at line 32 of file link_mcu_hw.h.

Function Documentation

◆ CrcUpdate()

static uint16_t CrcUpdate ( uint16_t  crc,
uint8_t  data 
)
inlinestatic

Definition at line 35 of file link_mcu_hw.h.

References b, crc, CrcHigh, and CrcLow.