UnassignFunction

Trait UnassignFunction 

Source
pub trait UnassignFunction<Function, Kind> {
    type Unassigned;

    // Required method
    fn unassign(self) -> Self::Unassigned;
}
Expand description

Internal trait used to unassign functions from pins

This trait is an internal implementation detail and should neither be implemented nor used outside of LPC8xx 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.

Required Associated Types§

Source

type Unassigned

The type of the pin after the function has been unassigned

Required Methods§

Source

fn unassign(self) -> Self::Unassigned

Internal method for unassigning a function from a pin

Implementors§

Source§

impl<T, F, Is> UnassignFunction<F, Output> for Pin<T, Swm<((),), Is>>
where T: Trait, F: FunctionTrait<T, Kind = Output>,

Source§

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

Source§

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

Source§

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