Struct stm32f103xx_hal::serial::Rx
[−]
[src]
pub struct Rx<USART> { /* fields omitted */ }
Serial receiver
Methods
impl Rx<USART1>
[src]
pub fn circ_read<B>(
self,
chan: C5,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, C5> where
B: Unsize<[u8]>,
[src]
self,
chan: C5,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, C5> where
B: Unsize<[u8]>,
pub fn read_exact<B>(
self,
chan: C5,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, C5, Self> where
B: Unsize<[u8]>,
[src]
self,
chan: C5,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, C5, Self> where
B: Unsize<[u8]>,
impl Rx<USART2>
[src]
pub fn circ_read<B>(
self,
chan: C6,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, C6> where
B: Unsize<[u8]>,
[src]
self,
chan: C6,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, C6> where
B: Unsize<[u8]>,
pub fn read_exact<B>(
self,
chan: C6,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, C6, Self> where
B: Unsize<[u8]>,
[src]
self,
chan: C6,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, C6, Self> where
B: Unsize<[u8]>,
impl Rx<USART3>
[src]
pub fn circ_read<B>(
self,
chan: C3,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, C3> where
B: Unsize<[u8]>,
[src]
self,
chan: C3,
buffer: &'static mut [B; 2]
) -> CircBuffer<B, C3> where
B: Unsize<[u8]>,
pub fn read_exact<B>(
self,
chan: C3,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, C3, Self> where
B: Unsize<[u8]>,
[src]
self,
chan: C3,
buffer: &'static mut B
) -> Transfer<W, &'static mut B, C3, Self> where
B: Unsize<[u8]>,
Trait Implementations
impl Read<u8> for Rx<USART1>
[src]
type Error = Error
Read error
fn read(&mut self) -> Result<u8, Error>
[src]
Reads a single word from the serial interface
impl Read<u8> for Rx<USART2>
[src]
type Error = Error
Read error
fn read(&mut self) -> Result<u8, Error>
[src]
Reads a single word from the serial interface