sdspi_crc16() function
Return CRC16 of data, in the format used by SD protocol
Syntax
uint16_t sdspi_crc16(const uint8_t* data,
size_t size);
Arguments
data
array of data used to compute CRC
size
size of data in bytes
Return value
CRC16 value
sdspi_crc16() is called by 2 functions and calls 1 function:
![]()
sdspi_crc16()
sdspi_crc16():
![]()
sdspi_crc16()