Struct stm32wlxx_hal::gpio::pins::C13

source ·
pub struct C13 { /* private fields */ }
Expand description

Port C pin 13

Trait Implementations§

source§

impl Debug for C13

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Exti for C13

source§

const INTERRUPT: Interrupt = pac::Interrupt::EXTI15_10

Interrupt number for the EXTI. Read more
source§

fn set_port(syscfg: &mut SYSCFG)

Set the current port as the interrupt source. Read more
source§

fn set_rising_trigger(exti: &mut EXTI, en: bool)

Set the rising trigger enable. Read more
source§

fn set_falling_trigger(exti: &mut EXTI, en: bool)

Set the falling trigger enable. Read more
source§

fn set_c1_mask(exti: &mut EXTI, unmask: bool)

Set the core 1 interrupt mask in the EXTI. Read more
source§

fn clear_exti()

Clear the pending EXTI interrupt. Read more
source§

fn is_pending() -> bool

Returns true if a trigger request occurred. Read more
source§

fn setup_exti_c1(exti: &mut EXTI, syscfg: &mut SYSCFG, trg: ExtiTrg)

Setup an input pin as an EXTI interrupt source on core 1. Read more
source§

unsafe fn unmask()

Unmask the interrupt in the NVIC. Read more
source§

fn mask()

Mask the interrupt in the NVIC. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for C13

§

impl Send for C13

§

impl Sync for C13

§

impl Unpin for C13

§

impl UnwindSafe for C13

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.