embassy-nrf

Crates

git

Versions

nrf9161-ns

Flavors

embassy_nrf::saadc

Trait Input

source
pub trait Input:
    SealedInput
    + Into<AnyInput>
    + Peripheral<P = Self>
    + Sized
    + 'static {
    // Provided method
    fn degrade_saadc(self) -> AnyInput { ... }
}
Expand description

An input that can be used as either or negative end of a ADC differential in the SAADC periperhal.

Provided Methods§

source

fn degrade_saadc(self) -> AnyInput

Convert this SAADC input to a type-erased AnyInput.

This allows using several inputs in situations that might require them to be the same type, like putting them in an array.

Object Safety§

This trait is not object safe.

Implementors§