pub fn set_length(&mut self, len: usize) {
        unwrap!(self.set_length_fallible(len, self.burst));
    }
Reset the descriptors to only receive `len` amount of bytes into this
buf.

The number of bytes in data must be less than or equal to the buffer
size.
esp-hal/src/dma/buffers.rs