Struct stm32l0x1_hal::gpio::PA15 [−][src]
pub struct PA15<MODE>(_);
Specific Pin
Methods
impl<MODE> PA15<MODE>
[src]
impl<MODE> PA15<MODE>
pub fn into_input<Mode: InputMode>(
self,
moder: &mut MODER<GPIOA>,
pupdr: &mut PUPDR<GPIOA>
) -> PA15<Input<Mode>>
[src]
pub fn into_input<Mode: InputMode>(
self,
moder: &mut MODER<GPIOA>,
pupdr: &mut PUPDR<GPIOA>
) -> PA15<Input<Mode>>
Configures the PIN to operate as Input Pin according to Mode.
pub fn set_pin_speed(&self, spd: PinSpeed, ospeedr: &mut OSPEEDR<GPIOA>)
[src]
pub fn set_pin_speed(&self, spd: PinSpeed, ospeedr: &mut OSPEEDR<GPIOA>)
pub fn into_output<OMode: OutputMode, PUMode: InputMode>(
self,
moder: &mut MODER<GPIOA>,
otyper: &mut OTYPER<GPIOA>,
pupdr: &mut PUPDR<GPIOA>
) -> PA15<Output<OMode, PUMode>>
[src]
pub fn into_output<OMode: OutputMode, PUMode: InputMode>(
self,
moder: &mut MODER<GPIOA>,
otyper: &mut OTYPER<GPIOA>,
pupdr: &mut PUPDR<GPIOA>
) -> PA15<Output<OMode, PUMode>>
Configures the PIN to operate as Output Pin according to Mode.
pub fn into_alt_fun<AF: AltFun>(
self,
moder: &mut MODER<GPIOA>,
afr: &mut AFRH<GPIOA>
) -> PA15<AF>
[src]
pub fn into_alt_fun<AF: AltFun>(
self,
moder: &mut MODER<GPIOA>,
afr: &mut AFRH<GPIOA>
) -> PA15<AF>
Configures the PIN to operate as Alternate Function.
Trait Implementations
impl<OMODE, PUMODE> OutputPin for PA15<Output<OMODE, PUMODE>>
[src]
impl<OMODE, PUMODE> OutputPin for PA15<Output<OMODE, PUMODE>>
impl<OMODE, PUMODE> StatefulOutputPin for PA15<Output<OMODE, PUMODE>>
[src]
impl<OMODE, PUMODE> StatefulOutputPin for PA15<Output<OMODE, PUMODE>>
fn is_set_high(&self) -> bool
[src]
fn is_set_high(&self) -> bool
Returns whether high bit is set.
fn is_set_low(&self) -> bool
[src]
fn is_set_low(&self) -> bool
Returns whether low bit is set.