pub struct Uart2Builder {
pub base: UartBase<USART2>,
pub tx: Uart2Tx,
pub rx: Uart2Rx,
pub rts_cts: Option<(Uart2Rts, Uart2Cts)>,
}Expand description
uart2 builder
Fields§
§base: UartBase<USART2>uart2 base data
tx: Uart2Txuart2 tx pin
rx: Uart2Rxuart2 rx pin
rts_cts: Option<(Uart2Rts, Uart2Cts)>use rts cts
Implementations§
Source§impl Uart2Builder
custom method
impl Uart2Builder
custom method
Auto Trait Implementations§
impl Freeze for Uart2Builder
impl RefUnwindSafe for Uart2Builder
impl Send for Uart2Builder
impl Sync for Uart2Builder
impl Unpin for Uart2Builder
impl UnwindSafe for Uart2Builder
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