defmt_parser

Function get_max_bitfield_range

Source
pub fn get_max_bitfield_range<'a, I>(params: I) -> Option<(u8, u8)>
where I: Iterator<Item = &'a Parameter> + Clone,
Expand description

Returns Some(smallest_bit_index, largest_bit_index) contained in params if params contains any bitfields. Otherwise None.