Struct atmega32u4_hal::timer::Timer0Pwm [−][src]
pub struct Timer0Pwm { /* fields omitted */ }
PWM Timer
Methods
impl Timer0Pwm
[src]
impl Timer0Pwm
pub fn new(tim: TIMER0) -> Timer0Pwm
[src]
pub fn new(tim: TIMER0) -> Timer0Pwm
Initialize this PWM timer
Note: Right now, once a timer is configured for PWM, it can't be used for anything else afterwards.