pub struct USART1 { /* private fields */ }Expand description
Universal synchronous asynchronous receiver transmitter
Implementations§
Trait Implementations§
Source§impl Enable for USART1
impl Enable for USART1
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl Instance for USART1
impl Instance for USART1
fn ptr() -> *const RegisterBlock
fn select_sysclock(rcc: &RegisterBlock, sys: bool)
Source§impl LPEnable for USART1
impl LPEnable for USART1
Source§fn low_power_enable(bus: &mut Self::Bus)
fn low_power_enable(bus: &mut Self::Bus)
Enables peripheral
Source§fn low_power_disable(bus: &mut Self::Bus)
fn low_power_disable(bus: &mut Self::Bus)
Disables peripheral
Source§fn is_low_power_enabled() -> bool
fn is_low_power_enabled() -> bool
Check if peripheral enabled
Source§fn is_low_power_disabled() -> bool
fn is_low_power_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn low_power_enable_unchecked()
unsafe fn low_power_enable_unchecked()
Safety Read more
Source§unsafe fn low_power_disable_unchecked()
unsafe fn low_power_disable_unchecked()
Safety Read more
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 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