Struct stm32g0xx_hal::stm32::USART1 [−][src]
Universal synchronous asynchronous receiver transmitter
Implementations
impl USART1
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Trait Implementations
impl Deref for USART1
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
pub fn deref(&self) -> &<USART1 as Deref>::Target
[src]
impl<MODE> RxPin<USART1> for PA10<MODE>
[src]
impl<MODE> RxPin<USART1> for PB7<MODE>
[src]
impl<MODE> RxPin<USART1> for PC5<MODE>
[src]
impl Send for USART1
[src]
impl SerialExt<USART1, FullConfig> for USART1
[src]
fn usart<TX, RX>(
self,
tx: TX,
rx: RX,
config: FullConfig,
rcc: &mut Rcc
) -> Result<Serial<USART1, FullConfig>, InvalidConfig> where
TX: TxPin<USART1>,
RX: RxPin<USART1>,
[src]
self,
tx: TX,
rx: RX,
config: FullConfig,
rcc: &mut Rcc
) -> Result<Serial<USART1, FullConfig>, InvalidConfig> where
TX: TxPin<USART1>,
RX: RxPin<USART1>,
impl<MODE> TxPin<USART1> for PA9<MODE>
[src]
impl<MODE> TxPin<USART1> for PB6<MODE>
[src]
impl<MODE> TxPin<USART1> for PC4<MODE>
[src]
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, 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>,