Implement extended Channel trait to dma.rs

This commit is contained in:
Joshua Salzedo
2021-09-28 17:37:39 -07:00
committed by Dario Nieuwenhuis
parent 3272987d92
commit 2d2c6d0e01
2 changed files with 56 additions and 10 deletions

View File

@ -55,7 +55,7 @@ pub trait Channel: sealed::Channel {
fn stop<'a>(&'a mut self);
fn is_stopped<'a>(&self) -> bool;
fn remaining_transfers<'a>(&'a mut self) -> usize;
fn remaining_transfers<'a>(&'a mut self) -> u16;
fn set_waker(&mut self, waker: &Waker);
}