Struct alt_stm32f30x_hal::serial::Rx
source · [−]pub struct Rx<USART> { /* private fields */ }
Expand description
Serial receiver
Implementations
sourceimpl Rx<USART1>
impl Rx<USART1>
sourcepub fn clear_overrun_error(&mut self) -> u8
pub fn clear_overrun_error(&mut self) -> u8
clear overrun
sourcepub fn clear_framing_error(&mut self) -> u8
pub fn clear_framing_error(&mut self) -> u8
clear framing error
sourcepub fn clear_noise_error(&mut self) -> u8
pub fn clear_noise_error(&mut self) -> u8
clear noise error
sourceimpl Rx<USART2>
impl Rx<USART2>
sourcepub fn clear_overrun_error(&mut self) -> u8
pub fn clear_overrun_error(&mut self) -> u8
clear overrun
sourcepub fn clear_framing_error(&mut self) -> u8
pub fn clear_framing_error(&mut self) -> u8
clear framing error
sourcepub fn clear_noise_error(&mut self) -> u8
pub fn clear_noise_error(&mut self) -> u8
clear noise error
sourceimpl Rx<USART3>
impl Rx<USART3>
sourcepub fn clear_overrun_error(&mut self) -> u8
pub fn clear_overrun_error(&mut self) -> u8
clear overrun
sourcepub fn clear_framing_error(&mut self) -> u8
pub fn clear_framing_error(&mut self) -> u8
clear framing error
sourcepub fn clear_noise_error(&mut self) -> u8
pub fn clear_noise_error(&mut self) -> u8
clear noise error
Trait Implementations
sourceimpl<B> ReadDma<B> for Rx<USART1> where
B: AsMut<[u8]>,
impl<B> ReadDma<B> for Rx<USART1> where
B: AsMut<[u8]>,
sourcefn circ_read(
self,
chan: Self::Dma,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, Self::Dma>
fn circ_read(
self,
chan: Self::Dma,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, Self::Dma>
circ
sourcefn read_exact(
self,
chan: Self::Dma,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, Self::Dma, Self>
fn read_exact(
self,
chan: Self::Dma,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, Self::Dma, Self>
exact
Auto Trait Implementations
impl<USART> RefUnwindSafe for Rx<USART> where
USART: RefUnwindSafe,
impl<USART> Send for Rx<USART> where
USART: Send,
impl<USART> Sync for Rx<USART> where
USART: Sync,
impl<USART> Unpin for Rx<USART> where
USART: Unpin,
impl<USART> UnwindSafe for Rx<USART> where
USART: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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