[−][src]Struct bl602_hal::gpio::pin::Pin11
Pin
Implementations
impl<MODE> Pin11<MODE>
[src][−]
pub fn into_floating_output(self) -> Pin11<Output<Floating>>
[src][−]
Configures the pin to operate as a Hi-Z floating output pin.
pub fn into_pull_up_output(self) -> Pin11<Output<PullUp>>
[src][−]
Configures the pin to operate as a pull-up output pin.
pub fn into_pull_down_output(self) -> Pin11<Output<PullDown>>
[src][−]
Configures the pin to operate as a pull-down output pin.
pub fn into_floating_input(self) -> Pin11<Input<Floating>>
[src][−]
Configures the pin to operate as a Hi-Z floating input pin.
pub fn into_pull_up_input(self) -> Pin11<Input<PullUp>>
[src][−]
Configures the pin to operate as a pull-up input pin.
pub fn into_pull_down_input(self) -> Pin11<Input<PullDown>>
[src][−]
Configures the pin to operate as a pull-down input pin.
impl<MODE> Pin11<Input<MODE>>
[src][−]
pub fn enable_smitter(&mut self)
[src][−]
Enable smitter GPIO input filter
pub fn disable_smitter(&mut self)
[src][−]
Enable smitter GPIO output filter
impl<MODE> Pin11<MODE>
[src][−]
pub fn into_af1(self) -> Pin11<Alternate<AF1>>
[src]
pub fn into_af2(self) -> Pin11<Alternate<AF2>>
[src]
pub fn into_af4(self) -> Pin11<Alternate<AF4>>
[src]
pub fn into_af6(self) -> Pin11<Alternate<AF6>>
[src]
pub fn into_uart_sig3(self) -> Pin11<Uart>
[src][−]
Configures the pin to UART alternate mode
pub fn into_af8(self) -> Pin11<Alternate<AF8>>
[src]
pub fn into_af9(self) -> Pin11<Alternate<AF9>>
[src]
pub fn into_analog(self) -> Pin11<Analog>
[src]
pub fn into_af14(self) -> Pin11<Alternate<AF14>>
[src]
impl<MODE> Pin11<Alternate<MODE>>
[src][−]
pub fn set_pull_up(&mut self)
[src]
pub fn set_pull_down(&mut self)
[src]
pub fn set_floating(&mut self)
[src]
Trait Implementations
impl<MODE> Default for Pin11<Output<MODE>>
[src]
impl<MODE> InputPin for Pin11<Input<MODE>>
[src][+]
impl<MODE> OutputPin for Pin11<Output<MODE>>
[src][+]
impl<MODE> StatefulOutputPin for Pin11<Output<MODE>>
[src][+]
Auto Trait Implementations
impl<MODE> Send for Pin11<MODE> where
MODE: Send,
MODE: Send,
impl<MODE> Sync for Pin11<MODE> where
MODE: Sync,
MODE: Sync,
impl<MODE> Unpin for Pin11<MODE> where
MODE: Unpin,
MODE: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<P> ToggleableOutputPin for P where
P: Default,
[src][+]
P: Default,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,