[−][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]
type Error = Infallible
Error type
fn try_is_high(&self) -> Result<bool, Self::Error>
[src]
fn try_is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> OutputPin for Pin11<Output<MODE>>
[src]
type Error = Infallible
Error type
fn try_set_high(&mut self) -> Result<(), Self::Error>
[src]
fn try_set_low(&mut self) -> Result<(), Self::Error>
[src]
fn try_set_state(&mut self, state: PinState) -> Result<(), Self::Error>
[src]
impl<MODE> StatefulOutputPin for Pin11<Output<MODE>>
[src]
fn try_is_set_high(&self) -> Result<bool, Self::Error>
[src]
fn try_is_set_low(&self) -> Result<bool, Self::Error>
[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,
fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Error = <P as OutputPin>::Error
Error type
fn try_toggle(&mut self) -> Result<(), <P as ToggleableOutputPin>::Error>
[src]
Toggle pin output
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,