pub fn parse_dac_sequence<'a, 'wr>(
    input: &'a str,
    num_pins: usize,
    clock: Duration,
    accumulator: &'wr mut Vec<f32>
) -> Result<Box<[DacBangEntry<'wr>]>>
Expand description

This function parses the main string argument to opentitantool gpio dac-bang, producing a list of DacBangEntry corresponding to the parsed instructions. The slices in the entries will refer to the “accumulator vector” provided by the caller, which this function will clear out and resize according to need.