pub struct Pin14<MODE> { /* private fields */ }Expand description
Pin
Implementations
sourceimpl<MODE> Pin14<MODE>
impl<MODE> Pin14<MODE>
sourcepub fn into_floating_output(self) -> Pin14<Output<Floating>>
pub fn into_floating_output(self) -> Pin14<Output<Floating>>
Configures the pin to operate as a Hi-Z floating output pin.
sourcepub fn into_pull_up_output(self) -> Pin14<Output<PullUp>>
pub fn into_pull_up_output(self) -> Pin14<Output<PullUp>>
Configures the pin to operate as a pull-up output pin.
sourcepub fn into_pull_down_output(self) -> Pin14<Output<PullDown>>
pub fn into_pull_down_output(self) -> Pin14<Output<PullDown>>
Configures the pin to operate as a pull-down output pin.
sourcepub fn into_floating_input(self) -> Pin14<Input<Floating>>
pub fn into_floating_input(self) -> Pin14<Input<Floating>>
Configures the pin to operate as a Hi-Z floating input pin.
sourcepub fn into_pull_up_input(self) -> Pin14<Input<PullUp>>
pub fn into_pull_up_input(self) -> Pin14<Input<PullUp>>
Configures the pin to operate as a pull-up input pin.
sourcepub fn into_pull_down_input(self) -> Pin14<Input<PullDown>>
pub fn into_pull_down_input(self) -> Pin14<Input<PullDown>>
Configures the pin to operate as a pull-down input pin.
sourceimpl<MODE> Pin14<Input<MODE>>
impl<MODE> Pin14<Input<MODE>>
sourcepub fn enable_smitter(&mut self)
pub fn enable_smitter(&mut self)
Enable smitter GPIO input filter
sourcepub fn disable_smitter(&mut self)
pub fn disable_smitter(&mut self)
Enable smitter GPIO output filter
sourceimpl<MODE> Pin14<MODE>
impl<MODE> Pin14<MODE>
sourcepub fn into_uart_sig6(self) -> Pin14<Uart>
pub fn into_uart_sig6(self) -> Pin14<Uart>
Configures the pin to UART alternate mode
sourcepub fn into_spi_ss(self) -> Pin14<Spi>
pub fn into_spi_ss(self) -> Pin14<Spi>
Configures the pin to SPI alternate mode
sourcepub fn into_i2c_scl(self) -> Pin14<I2c>
pub fn into_i2c_scl(self) -> Pin14<I2c>
Configures the pin to I2C alternate mode
Trait Implementations
sourceimpl<MODE> InterruptPin for Pin14<Input<MODE>>
impl<MODE> InterruptPin for Pin14<Input<MODE>>
fn trigger_on_event(&mut self, event: Event)
fn control_asynchronous(&mut self)
fn control_synchronous(&mut self)
fn enable_interrupt(&mut self)
fn disable_interrupt(&mut self)
fn clear_interrupt_pending_bit(&mut self)
fn check_interrupt(&self) -> bool
sourceimpl<MODE> StatefulOutputPin for Pin14<Output<MODE>>
impl<MODE> StatefulOutputPin for Pin14<Output<MODE>>
sourceimpl<MODE> StatefulOutputPin for Pin14<Output<MODE>>
impl<MODE> StatefulOutputPin for Pin14<Output<MODE>>
sourceimpl<MODE> ToggleableOutputPin for Pin14<Output<MODE>>
impl<MODE> ToggleableOutputPin for Pin14<Output<MODE>>
Auto Trait Implementations
impl<MODE> RefUnwindSafe for Pin14<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for Pin14<MODE>where
MODE: Send,
impl<MODE> Sync for Pin14<MODE>where
MODE: Sync,
impl<MODE> Unpin for Pin14<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for Pin14<MODE>where
MODE: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more