APM:Libraries
Functions | Variables
edc.cpp File Reference
#include "edc.h"
#include <inttypes.h>
Include dependency graph for edc.cpp:

Go to the source code of this file.

Functions

uint16_t crc16_ccitt (const uint8_t *buf, uint32_t len, uint16_t crc)
 

Variables

static const uint16_t crc16tab [256]
 

Function Documentation

◆ crc16_ccitt()

uint16_t crc16_ccitt ( const uint8_t *  buf,
uint32_t  len,
uint16_t  crc 
)

Definition at line 52 of file edc.cpp.

Referenced by AP_GPS_SBP2::_detect(), AP_GPS_SBP::_detect(), AP_GPS_SBP::_sbp_process(), AP_GPS_SBP2::_sbp_process(), HALSITL::SITL_State::_sbp_send_message(), and AP_GPS_SBF::parse().

Here is the caller graph for this function:

Variable Documentation

◆ crc16tab

const uint16_t crc16tab[256]
static

Definition at line 17 of file edc.cpp.

Referenced by crc16_ccitt().