pub struct BbqHalfParts { /* private fields */ }Implementations§
Source§impl BbqHalfParts
impl BbqHalfParts
pub fn pin(&mut self) -> Peri<'_, AnyPin>
pub fn new_tx_half<T: BbqInstance, P: TxPin<T>>( _inner: Peri<'static, T>, _irq: impl Binding<T::Interrupt, BbqInterruptHandler<T>> + 'static, tx_pin: Peri<'static, P>, buffer: &'static mut [u8], dma_ch: impl Into<DmaChannel<'static>>, ) -> Self
pub fn new_rx_half<T: BbqInstance, P: RxPin<T>>( _inner: Peri<'static, T>, _irq: impl Binding<T::Interrupt, BbqInterruptHandler<T>> + 'static, tx_pin: Peri<'static, P>, buffer: &'static mut [u8], dma_ch: impl Into<DmaChannel<'static>>, ) -> Self
Auto Trait Implementations§
impl Freeze for BbqHalfParts
impl !RefUnwindSafe for BbqHalfParts
impl Send for BbqHalfParts
impl Sync for BbqHalfParts
impl Unpin for BbqHalfParts
impl !UnwindSafe for BbqHalfParts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more