Trait Instance

Source
pub trait Instance: Sealed + Deref<Target = RegisterBlock> {
    const INTERRUPT: Interrupt;

    // Required method
    fn buffer() -> *mut [u16; 4];
}

Required Associated Constants§

Required Methods§

Source

fn buffer() -> *mut [u16; 4]

Provides access to the associated internal duty buffer for the instance.

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 Instance for PWM0

Source§

const INTERRUPT: Interrupt = Interrupt::PWM0

Source§

impl Instance for PWM1

Source§

const INTERRUPT: Interrupt = Interrupt::PWM1

Source§

impl Instance for PWM2

Source§

const INTERRUPT: Interrupt = Interrupt::PWM2

Source§

impl Instance for PWM3

Source§

const INTERRUPT: Interrupt = Interrupt::PWM3