subghz_protocol_blocks_parity8

Function subghz_protocol_blocks_parity8 

Source
pub unsafe extern "C" fn subghz_protocol_blocks_parity8(
    byte: u8,
) -> u8
Expand description

Compute bit parity of a single byte (8 bits)

§Arguments

  • byte - single byte to check

§Returns

1 odd parity, 0 even parity