Struct stm32f407g_disc::stm32::UART4 [−]
pub struct UART4 { /* fields omitted */ }
Universal synchronous asynchronous receiver transmitter
Implementations
impl UART4
pub const fn ptr() -> *const RegisterBlock
Returns a pointer to the register block
Trait Implementations
impl DMASet<Stream2<DMA1>, Channel4, PeripheralToMemory> for UART4
[src]
impl DMASet<Stream4<DMA1>, Channel4, MemoryToPeripheral> for UART4
[src]
impl Deref for UART4
type Target = RegisterBlock
The resulting type after dereferencing.
pub fn deref(&self) -> &<UART4 as Deref>::Target
impl Instance for UART4
[src]
pub fn ptr() -> *const RegisterBlock
[src]
pub fn pclk_freq(clocks: &Clocks) -> u32
[src]
pub unsafe fn enable_clock(rcc: &RegisterBlock)
[src]
pub fn set_stopbits(&self, bits: StopBits)
[src]
impl PeriAddress for UART4
[src]
impl PinRx<UART4> for NoRx
[src]
impl PinRx<UART4> for PA1<Alternate<AF8>>
[src]
impl PinRx<UART4> for PC11<Alternate<AF8>>
[src]
impl PinTx<UART4> for PA0<Alternate<AF8>>
[src]
impl PinTx<UART4> for PC10<Alternate<AF8>>
[src]
impl PinTx<UART4> for NoTx
[src]
impl Send for UART4
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,