pub trait StreamServer<'a> {
type Peripheral: StreamPeripheral + Copy + PartialEq + Into<StreamId> + Debug;
// Required method
fn registers(&self) -> &DmaRegisters;
}
pub trait StreamServer<'a> {
type Peripheral: StreamPeripheral + Copy + PartialEq + Into<StreamId> + Debug;
// Required method
fn registers(&self) -> &DmaRegisters;
}