atsamd_hal::gpio::pin

Trait InterruptConfig

Source
pub trait InterruptConfig: Sealed {
    const DYN: DynInterrupt;
}
Expand description

Type-level enum for Interrupt configurations

Required Associated Constants§

Source

const DYN: DynInterrupt

Corresponding DynInterrupt

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl InterruptConfig for Floating

Source§

const DYN: DynInterrupt = DynInterrupt::Floating

Source§

impl InterruptConfig for PullDown

Source§

const DYN: DynInterrupt = DynInterrupt::PullDown

Source§

impl InterruptConfig for PullUp

Source§

const DYN: DynInterrupt = DynInterrupt::PullUp