Struct gd32f1x0_hal::pac::USART1
source · [−]pub struct USART1 { /* private fields */ }
Expand description
Universal synchronous asynchronous receiver transmitter
Implementations
sourceimpl USART1
impl USART1
sourcepub const PTR: *const RegisterBlock = {0x40004400 as *const gd32f1::gd32f130::usart0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40004400 as *const gd32f1::gd32f130::usart0::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
impl RxPin<USART1> for PA3<Alternate<AF1>>
impl RxPin<USART1> for PB0<Alternate<AF4>>
impl RxPin<USART1> for PA15<Alternate<AF1>>
impl Send for USART1
impl TxPin<USART1> for PA2<Alternate<AF1>>
impl TxPin<USART1> for PA8<Alternate<AF4>>
impl TxPin<USART1> for PA14<Alternate<AF1>>
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