Struct stm32l4xx_hal::device::USART1
source · [−]pub struct USART1 { /* private fields */ }
Expand description
Universal synchronous asynchronous receiver transmitter
Implementations
sourceimpl USART1
impl USART1
sourcepub const PTR: *const RegisterBlock
pub const PTR: *const RegisterBlock
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Enable for USART1
impl Enable for USART1
sourcefn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
sourcefn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
sourceunsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
sourceunsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
sourceimpl SMEnable for USART1
impl SMEnable for USART1
sourcefn enable_in_sleep_mode(bus: &mut Self::Bus)
fn enable_in_sleep_mode(bus: &mut Self::Bus)
Enables peripheral
sourcefn disable_in_sleep_mode(bus: &mut Self::Bus)
fn disable_in_sleep_mode(bus: &mut Self::Bus)
Disables peripheral
sourcefn is_enabled_in_sleep_mode() -> bool
fn is_enabled_in_sleep_mode() -> bool
Check if peripheral enabled
sourcefn is_disabled_in_sleep_mode() -> bool
fn is_disabled_in_sleep_mode() -> bool
Check if peripheral disabled
sourceunsafe fn enable_in_sleep_mode_unchecked()
unsafe fn enable_in_sleep_mode_unchecked()
Safety Read more
sourceunsafe fn disable_in_sleep_mode_unchecked()
unsafe fn disable_in_sleep_mode_unchecked()
Safety Read more
impl CtsPin<USART1> for PA11<Alternate<PushPull, 7>>
impl CtsPin<USART1> for PB4<Alternate<PushPull, 7>>
impl RtsDePin<USART1> for PA12<Alternate<PushPull, 7>>
impl RtsDePin<USART1> for PB3<Alternate<PushPull, 7>>
impl RxPin<USART1> for PA10<Alternate<PushPull, 7>>
impl RxPin<USART1> for PB7<Alternate<PushPull, 7>>
impl Send for USART1
impl TxHalfDuplexPin<USART1> for PA9<Alternate<OpenDrain, 7>>
impl TxHalfDuplexPin<USART1> for PB6<Alternate<OpenDrain, 7>>
impl TxPin<USART1> for PA9<Alternate<PushPull, 7>>
impl TxPin<USART1> for PB6<Alternate<PushPull, 7>>
Auto Trait Implementations
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