pub struct Uart5RxBuilder {
pub base: UartBase<UART5>,
pub rx: PD2,
}Expand description
uart5 rx builder
Fields§
§base: UartBase<UART5>uart5 base device
rx: PD2rx pin
Implementations§
Source§impl Uart5RxBuilder
custom method
impl Uart5RxBuilder
custom method
Sourcepub fn new(uart: UART5, rx: PD2) -> Uart5RxBuilder
👎Deprecated: no any dma support RxDma<UART5>
pub fn new(uart: UART5, rx: PD2) -> Uart5RxBuilder
create builder
Auto Trait Implementations§
impl Freeze for Uart5RxBuilder
impl RefUnwindSafe for Uart5RxBuilder
impl Send for Uart5RxBuilder
impl Sync for Uart5RxBuilder
impl Unpin for Uart5RxBuilder
impl UnwindSafe for Uart5RxBuilder
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