☰
Pins
Required Methods
restore_mode
set_alt_mode
Implementations on Foreign Types
(TX, RX)
Implementors
In stm32f4xx_hal::serial
?
Trait
stm32f4xx_hal
::
serial
::
Pins
source
·
[
−
]
pub trait Pins<USART> { fn
set_alt_mode
(&mut self);
fn
restore_mode
(&mut self); }
Required Methods
source
fn
set_alt_mode
(&mut self)
source
fn
restore_mode
(&mut self)
Implementations on Foreign Types
source
impl<USART, TX, RX, const TXA:
u8
, const RXA:
u8
>
Pins
<USART> for
(TX, RX)
where
TX: PinA<
TxPin
, USART, A = Const<TXA>> + SetAlternate<TXA,
PushPull
>,
RX: PinA<
RxPin
, USART, A = Const<RXA>> + SetAlternate<RXA,
PushPull
>,
source
fn
set_alt_mode
(&mut self)
source
fn
restore_mode
(&mut self)
Implementors