Speeduino
Loading...
Searching...
No Matches
Typedefs | Functions
page_crc.cpp File Reference
#include "globals.h"
#include "page_crc.h"
#include "pages.h"
#include "table3d_axis_io.h"

Typedefs

using pCrcCalc = uint32_t(FastCRC32::*)(const uint8_t *, const uint16_t, bool)
 

Functions

static uint32_t compute_raw_crc (const page_iterator_t &entity, pCrcCalc calcFunc, FastCRC32 &crcCalc)
 
static uint32_t compute_row_crc (const table_row_iterator &row, pCrcCalc calcFunc, FastCRC32 &crcCalc)
 
static uint32_t compute_tablevalues_crc (table_value_iterator it, pCrcCalc calcFunc, FastCRC32 &crcCalc)
 
static uint32_t compute_tableaxis_crc (table_axis_iterator it, uint32_t crc, FastCRC32 &crcCalc)
 
static uint32_t compute_table_crc (const page_iterator_t &entity, pCrcCalc calcFunc, FastCRC32 &crcCalc)
 
static uint32_t pad_crc (uint16_t padding, uint32_t crc, FastCRC32 &crcCalc)
 
static uint32_t compute_crc (const page_iterator_t &entity, pCrcCalc calcFunc, FastCRC32 &crcCalc)
 
uint32_t calculatePageCRC32 (byte pageNum)
 

Typedef Documentation

◆ pCrcCalc

Function Documentation

◆ calculatePageCRC32()

uint32_t calculatePageCRC32 ( byte  pageNum)
Parameters
[in]pageNumThe page number to compute CRC for.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_crc()

static uint32_t compute_crc ( const page_iterator_t entity,
pCrcCalc  calcFunc,
FastCRC32 crcCalc 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_raw_crc()

static uint32_t compute_raw_crc ( const page_iterator_t entity,
pCrcCalc  calcFunc,
FastCRC32 crcCalc 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_row_crc()

static uint32_t compute_row_crc ( const table_row_iterator row,
pCrcCalc  calcFunc,
FastCRC32 crcCalc 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_table_crc()

static uint32_t compute_table_crc ( const page_iterator_t entity,
pCrcCalc  calcFunc,
FastCRC32 crcCalc 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_tableaxis_crc()

static uint32_t compute_tableaxis_crc ( table_axis_iterator  it,
uint32_t  crc,
FastCRC32 crcCalc 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_tablevalues_crc()

static uint32_t compute_tablevalues_crc ( table_value_iterator  it,
pCrcCalc  calcFunc,
FastCRC32 crcCalc 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pad_crc()

static uint32_t pad_crc ( uint16_t  padding,
uint32_t  crc,
FastCRC32 crcCalc 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function: