Trait attiny_hal::simple_pwm::PwmPinOps
source · 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