Struct stm32f3xx_hal::pac::UART5

source ·
pub struct UART5 { /* private fields */ }
Expand description

Universal synchronous asynchronous receiver transmitter

Implementations§

source§

impl UART5

source

pub const PTR: *const RegisterBlock = {0x40005000 as *const stm32f3::stm32f303::usart1::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Trait Implementations§

source§

impl Debug for UART5

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Deref for UART5

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &<UART5 as Deref>::Target

Dereferences the value.
source§

impl Enable for UART5

source§

fn enable(bus: &mut Self::Bus)

Enables peripheral
source§

fn disable(bus: &mut Self::Bus)

Disables peripheral
source§

fn is_enabled() -> bool

Check if peripheral enabled
source§

fn is_disabled() -> bool

Check if peripheral disabled
source§

unsafe fn enable_unchecked()

Enables peripheral Read more
source§

unsafe fn disable_unchecked()

Disables peripheral Read more
source§

impl InterruptNumber for UART5

§

type Interrupt = Interrupt

The type used to represent the Interrupt Number. Read more
source§

const INTERRUPT: Interrupt = Interrupt::UART5_EXTI35

The assocaited constant of the interrupt
source§

impl RccBus for UART5

§

type Bus = APB1

The underlying bus peripheral
source§

impl Reset for UART5

source§

fn reset(bus: &mut Self::Bus)

Resets peripheral
source§

unsafe fn reset_unchecked()

Safety Read more
source§

impl Instance for UART5

source§

impl ReceiverTimeoutExt for UART5

source§

impl<Otype> RxPin<UART5> for PD2<AF5<Otype>>

source§

impl Send for UART5

source§

impl<Otype> TxPin<UART5> for PC12<AF5<Otype>>

Auto Trait Implementations§

§

impl RefUnwindSafe for UART5

§

impl !Sync for UART5

§

impl Unpin for UART5

§

impl UnwindSafe for UART5

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> BusClock for Twhere T: RccBus, <T as RccBus>::Bus: BusClock,

source§

fn clock(clocks: &Clocks) -> Hertz

Calculates frequency depending on Clock state
source§

impl<T> BusTimerClock for Twhere T: RccBus, <T as RccBus>::Bus: BusTimerClock,

source§

fn timer_clock(clocks: &Clocks) -> Hertz

Calculates base frequency of timer depending on Clock state
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.