Function flipperzero_sys::bit_lib_get_bits
source · pub unsafe extern "C" fn bit_lib_get_bits(
data: *const u8,
position: usize,
length: u8
) -> u8Expand description
Get the bits of a data, as uint8_t.
Returns:
- The bits.
Arguments
data- The data to get the bits from.position- The position of the first bit.length- The length of the bits.