Struct stm32l0x1_hal::gpio::PC13 [−][src]
pub struct PC13<MODE>(_);
Specific Pin
Methods
impl<MODE> PC13<MODE>
[src]
impl<MODE> PC13<MODE>
pub fn into_input<Mode: InputMode>(
self,
moder: &mut MODER<GPIOC>,
pupdr: &mut PUPDR<GPIOC>
) -> PC13<Input<Mode>>
[src]
pub fn into_input<Mode: InputMode>(
self,
moder: &mut MODER<GPIOC>,
pupdr: &mut PUPDR<GPIOC>
) -> PC13<Input<Mode>>
Configures the PIN to operate as Input Pin according to Mode.
pub fn set_pin_speed(&self, spd: PinSpeed, ospeedr: &mut OSPEEDR<GPIOC>)
[src]
pub fn set_pin_speed(&self, spd: PinSpeed, ospeedr: &mut OSPEEDR<GPIOC>)
pub fn into_output<OMode: OutputMode, PUMode: InputMode>(
self,
moder: &mut MODER<GPIOC>,
otyper: &mut OTYPER<GPIOC>,
pupdr: &mut PUPDR<GPIOC>
) -> PC13<Output<OMode, PUMode>>
[src]
pub fn into_output<OMode: OutputMode, PUMode: InputMode>(
self,
moder: &mut MODER<GPIOC>,
otyper: &mut OTYPER<GPIOC>,
pupdr: &mut PUPDR<GPIOC>
) -> PC13<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<GPIOC>,
afr: &mut AFRH<GPIOC>
) -> PC13<AF>
[src]
pub fn into_alt_fun<AF: AltFun>(
self,
moder: &mut MODER<GPIOC>,
afr: &mut AFRH<GPIOC>
) -> PC13<AF>
Configures the PIN to operate as Alternate Function.
Trait Implementations
impl<OMODE, PUMODE> OutputPin for PC13<Output<OMODE, PUMODE>>
[src]
impl<OMODE, PUMODE> OutputPin for PC13<Output<OMODE, PUMODE>>
impl<OMODE, PUMODE> StatefulOutputPin for PC13<Output<OMODE, PUMODE>>
[src]
impl<OMODE, PUMODE> StatefulOutputPin for PC13<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.