[][src]Trait avr_hal_generic::simple_pwm::PwmPinOps

pub trait PwmPinOps<TC> {
    type Duty;
    pub fn enable(&mut self);
pub fn disable(&mut self);
pub fn get_duty(&self) -> Self::Duty;
pub fn get_max_duty(&self) -> Self::Duty;
pub fn set_duty(&mut self, value: u8); }

Implement traits and types for PWM timers

Associated Types

type Duty[src]

Loading content...

Required methods

pub fn enable(&mut self)[src]

pub fn disable(&mut self)[src]

pub fn get_duty(&self) -> Self::Duty[src]

pub fn get_max_duty(&self) -> Self::Duty[src]

pub fn set_duty(&mut self, value: u8)[src]

Loading content...

Implementors

Loading content...