Struct stm32h7xx_hal::device::USART1
source · pub struct USART1 { /* private fields */ }
Expand description
Universal synchronous asynchronous receiver transmitter
Implementations§
Trait Implementations§
source§impl SerialExt<USART1> for USART1
impl SerialExt<USART1> for USART1
type Rec = Usart1
fn serial<P: Pins<USART1>>( self, _pins: P, config: impl Into<Config>, prec: Usart1, clocks: &CoreClocks ) -> Result<Serial<USART1>, InvalidConfig>
fn serial_unchecked( self, config: impl Into<Config>, prec: Usart1, clocks: &CoreClocks, synchronous: bool ) -> Result<Serial<USART1>, InvalidConfig>
source§fn usart(
self,
pins: impl Pins<USART>,
config: impl Into<Config>,
prec: Self::Rec,
clocks: &CoreClocks
) -> Result<Serial<USART>, InvalidConfig>
fn usart( self, pins: impl Pins<USART>, config: impl Into<Config>, prec: Self::Rec, clocks: &CoreClocks ) -> Result<Serial<USART>, InvalidConfig>
👎Deprecated since 0.7.0: Deprecated in favour of .serial(..)
source§fn usart_unchecked(
self,
config: impl Into<Config>,
prec: Self::Rec,
clocks: &CoreClocks,
synchronous: bool
) -> Result<Serial<USART>, InvalidConfig>
fn usart_unchecked( self, config: impl Into<Config>, prec: Self::Rec, clocks: &CoreClocks, synchronous: bool ) -> Result<Serial<USART>, InvalidConfig>
👎Deprecated since 0.7.0: Deprecated in favour of .serial_unchecked(..)
source§impl TargetAddress<MemoryToPeripheral> for USART1
impl TargetAddress<MemoryToPeripheral> for USART1
source§impl TargetAddress<PeripheralToMemory> for USART1
impl TargetAddress<PeripheralToMemory> for USART1
impl PinCk<USART1> for NoCk
impl PinCk<USART1> for PA8<Alternate<7>>
impl PinRx<USART1> for NoRx
impl PinRx<USART1> for PA10<Alternate<7>>
impl PinRx<USART1> for PB15<Alternate<4>>
impl PinRx<USART1> for PB7<Alternate<7>>
impl PinTx<USART1> for NoTx
impl PinTx<USART1> for PA9<Alternate<7>>
impl PinTx<USART1> for PB14<Alternate<4>>
impl PinTx<USART1> for PB6<Alternate<7>>
impl Send for USART1
Auto Trait Implementations§
impl Freeze for USART1
impl RefUnwindSafe for USART1
impl !Sync for USART1
impl Unpin for USART1
impl UnwindSafe for USART1
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