pub struct USART2 { /* private fields */ }
Expand description
USART2 peripheral
Implementations§
Trait Implementations§
Source§impl CkPin<USART2, AfioRemapBool<false>> for PA4
impl CkPin<USART2, AfioRemapBool<false>> for PA4
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as CkPin
Source§impl CkPin<USART2, AfioRemapBool<true>> for PD7
impl CkPin<USART2, AfioRemapBool<true>> for PD7
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as CkPin
Source§impl CtsPin<USART2, AfioRemapBool<false>> for PA0
impl CtsPin<USART2, AfioRemapBool<false>> for PA0
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as CtsPin
Source§impl CtsPin<USART2, AfioRemapBool<true>> for PD3
impl CtsPin<USART2, AfioRemapBool<true>> for PD3
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as CtsPin
Source§impl RtsPin<USART2, AfioRemapBool<false>> for PA1
impl RtsPin<USART2, AfioRemapBool<false>> for PA1
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as RtsPin
Source§impl RtsPin<USART2, AfioRemapBool<true>> for PD4
impl RtsPin<USART2, AfioRemapBool<true>> for PD4
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as RtsPin
Source§impl RxPin<USART2, AfioRemapBool<false>> for PA3
impl RxPin<USART2, AfioRemapBool<false>> for PA3
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as RxPin
Source§impl RxPin<USART2, AfioRemapBool<true>> for PD6
impl RxPin<USART2, AfioRemapBool<true>> for PD6
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as RxPin
Source§impl TxPin<USART2, AfioRemapBool<false>> for PA2
impl TxPin<USART2, AfioRemapBool<false>> for PA2
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TxPin
Source§impl TxPin<USART2, AfioRemapBool<true>> for PD5
impl TxPin<USART2, AfioRemapBool<true>> for PD5
Source§fn afio_remap(&self)
fn afio_remap(&self)
Configures AFIO_MAPR to use this pin as TxPin
impl Copy for USART2
impl PeripheralType for USART2
impl RccPeripheral for USART2
Auto Trait Implementations§
impl Freeze for USART2
impl RefUnwindSafe for USART2
impl Send for USART2
impl Sync for USART2
impl Unpin for USART2
impl UnwindSafe for USART2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more