pub struct SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>{ /* private fields */ }Implementations§
Source§impl<UART, TXPIN, RXPIN, CLOCKPIN> SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
impl<UART, TXPIN, RXPIN, CLOCKPIN> SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
pub fn new( uart: UART, pins: (TXPIN, RXPIN, CLOCKPIN), config: Config, ) -> Result<Self, ModeInitError<UART, (TXPIN, RXPIN, CLOCKPIN)>>
pub fn split( self, ) -> (Tx<UART, TXPIN, Owned>, Rx<UART, RXPIN, Borrowed>, CLOCKPIN)
pub fn release(self) -> (UART, (TXPIN, RXPIN, CLOCKPIN))
Auto Trait Implementations§
impl<UART, TXPIN, RXPIN, CLOCKPIN> Freeze for SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
impl<UART, TXPIN, RXPIN, CLOCKPIN> RefUnwindSafe for SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
impl<UART, TXPIN, RXPIN, CLOCKPIN> Send for SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
impl<UART, TXPIN, RXPIN, CLOCKPIN> Sync for SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
impl<UART, TXPIN, RXPIN, CLOCKPIN> Unpin for SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
impl<UART, TXPIN, RXPIN, CLOCKPIN> UnsafeUnpin for SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
impl<UART, TXPIN, RXPIN, CLOCKPIN> UnwindSafe for SynchronousSerial<UART, TXPIN, RXPIN, CLOCKPIN>
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