[][src]Trait lpc8xx_hal::swm::UnassignFunction

pub trait UnassignFunction<Function, Kind> {
    type Unassigned;
    fn unassign(self) -> Self::Unassigned;
}

Internal trait used to unassign functions from pins

This trait is an internal implementation detail and should neither be implemented nor used outside of LPC82x HAL. Any changes to this trait won't be considered breaking changes.

Please refer to Function::unassign for the public API that uses this trait.

Associated Types

type Unassigned

The type of the pin after the function has been unassigned

Loading content...

Required methods

fn unassign(self) -> Self::Unassigned

Internal method for unassigning a function from a pin

Loading content...

Implementors

impl<T, F, Is> UnassignFunction<F, Output> for Pin<T, Swm<((),), Is>> where
    T: PinTrait,
    F: FunctionTrait<T, Kind = Output>, 
[src]

type Unassigned = Pin<T, Swm<(), Is>>

impl<T, F, O, Is> UnassignFunction<F, Input> for Pin<T, Swm<O, (Is,)>> where
    T: PinTrait,
    F: FunctionTrait<T, Kind = Input>, 
[src]

type Unassigned = Pin<T, Swm<O, Is>>

Loading content...