Function esp_idf_svc::sys::esp_rom_crc16_le

source ยท
pub unsafe extern "C" fn esp_rom_crc16_le(
    crc: u16,
    buf: *const u8,
    len: u32,
) -> u16
Expand description

@brief CRC16 value in little endian.

@param crc: Initial CRC value (result of last calculation or 0 for the first time) @param buf: Data buffer that used to calculate the CRC value @param len: Length of the data buffer @return CRC16 value