Type Alias esp_idf_sys::esp_crc32_le_t

source ·
pub type esp_crc32_le_t = Option<unsafe extern "C" fn(crc: u32, buf: *const u8, len: u32) -> u32>;
Expand description

@brief CRC32 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 CRC32 value

Aliased Type§

enum esp_crc32_le_t {
    None,
    Some(unsafe extern "C" fn(_: u32, _: *const u8, _: u32) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u32, _: *const u8, _: u32) -> u32)

Some value of type T.