☰
Pins
Required Methods
restore_mode
set_alt_mode
Implementations on Foreign Types
(SCK, MISO, MOSI)
Implementors
In stm32f4xx_hal::spi
?
Trait
stm32f4xx_hal
::
spi
::
Pins
source
·
[
−
]
pub trait Pins<SPI> { 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<SPI, SCK, MISO, MOSI, const SCKA:
u8
, const MISOA:
u8
, const MOSIA:
u8
>
Pins
<SPI> for
(SCK, MISO, MOSI)
where
SCK: PinA<
Sck
, SPI, A = Const<SCKA>> + SetAlternate<SCKA,
PushPull
>,
MISO: PinA<
Miso
, SPI, A = Const<MISOA>> + SetAlternate<MISOA,
PushPull
>,
MOSI: PinA<
Mosi
, SPI, A = Const<MOSIA>> + SetAlternate<MOSIA,
PushPull
>,
source
fn
set_alt_mode
(&mut self)
source
fn
restore_mode
(&mut self)
Implementors