pub unsafe extern "C" fn bit_lib_crc16(
    data: *const u8,
    data_size: usize,
    polynom: u16,
    init: u16,
    ref_in: bool,
    ref_out: bool,
    xor_out: u16
) -> u16
Expand description

@brief Slow, but generic CRC16 implementation

@param data @param data_size @param polynom CRC polynom @param init init value @param ref_in true if the right bit is older @param ref_out true to reverse output @param xor_out xor output with this value @return uint16_t