pub struct BbqParts { /* private fields */ }Implementations§
Source§impl BbqParts
impl BbqParts
pub fn new<T: BbqInstance, Tx: TxPin<T>, Rx: RxPin<T>>( _inner: Peri<'static, T>, _irq: impl Binding<T::Interrupt, BbqInterruptHandler<T>> + 'static, tx_pin: Peri<'static, Tx>, tx_buffer: &'static mut [u8], tx_dma_ch: impl Into<DmaChannel<'static>>, rx_pin: Peri<'static, Rx>, rx_buffer: &'static mut [u8], rx_dma_ch: impl Into<DmaChannel<'static>>, ) -> Result<Self, BbqError>
Auto Trait Implementations§
impl Freeze for BbqParts
impl !RefUnwindSafe for BbqParts
impl Send for BbqParts
impl Sync for BbqParts
impl Unpin for BbqParts
impl !UnwindSafe for BbqParts
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