Trait nrf52840_hal::pwm::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.

Object Safety§

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