Struct grand_central_m4::pwm::Tcc0Pwm [−][src]
Implementations
pub fn new<F>(
clock: &Tcc0Tcc1Clock,
freq: F,
tcc: TCC0,
pinout: TCC0Pinout<I, M>,
mclk: &mut MCLK
) -> Tcc0Pwm<I, M> where
F: Into<Hertz>,
Trait Implementations
Returns the current PWM period
Returns the current duty cycle
Returns the maximum duty cycle value
Sets a new duty cycle