Struct stm32f4xx_hal::serial::URx
source · [−]pub struct URx<USART, RX, WORD = u8> { /* private fields */ }
Expand description
Serial receiver containing RX pin
Implementations
Methods from Deref<Target = Rx<USART, WORD>>
sourcepub fn listen(&mut self)
pub fn listen(&mut self)
Start listening for an rx not empty interrupt event
Note, you will also have to enable the corresponding interrupt in the NVIC to start receiving events.
sourcepub fn listen_idle(&mut self)
pub fn listen_idle(&mut self)
Start listening for a line idle interrupt event
Note, you will also have to enable the corresponding interrupt in the NVIC to start receiving events.
sourcepub fn unlisten_idle(&mut self)
pub fn unlisten_idle(&mut self)
Stop listening for the line idle interrupt event
Trait Implementations
Auto Trait Implementations
impl<USART, RX, WORD> RefUnwindSafe for URx<USART, RX, WORD>where
RX: RefUnwindSafe,
USART: RefUnwindSafe,
WORD: RefUnwindSafe,
impl<USART, RX, WORD> Send for URx<USART, RX, WORD>where
RX: Send,
USART: Send,
WORD: Send,
impl<USART, RX, WORD> Sync for URx<USART, RX, WORD>where
RX: Sync,
USART: Sync,
WORD: Sync,
impl<USART, RX, WORD> Unpin for URx<USART, RX, WORD>where
RX: Unpin,
USART: Unpin,
WORD: Unpin,
impl<USART, RX, WORD> UnwindSafe for URx<USART, RX, WORD>where
RX: UnwindSafe,
USART: UnwindSafe,
WORD: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more