subghz_protocol_blocks_set_bit_array

Function subghz_protocol_blocks_set_bit_array 

Source
pub unsafe extern "C" fn subghz_protocol_blocks_set_bit_array(
    bit_value: bool,
    data_array: *mut u8,
    set_index_bit: usize,
    max_size_array: usize,
)
Expand description

Set data bit when encoding HEX array.

ยงArguments

  • bit_value - The value of the bit to be set
  • data_array - Pointer to a HEX array
  • set_index_bit - Number set a bit in the array starting from the left
  • max_size_array - array size, check not to overflow