pub trait PwmPinOps<TC> {
    type Duty;

    // Required methods
    fn enable(&mut self);
    fn disable(&mut self);
    fn get_duty(&self) -> Self::Duty;
    fn get_max_duty(&self) -> Self::Duty;
    fn set_duty(&mut self, value: u8);
}
Expand description

Implement traits and types for PWM timers

Required Associated Types§

Required Methods§

source

fn enable(&mut self)

source

fn disable(&mut self)

source

fn get_duty(&self) -> Self::Duty

source

fn get_max_duty(&self) -> Self::Duty

source

fn set_duty(&mut self, value: u8)

Implementors§