Struct grand_central_m4::pwm::Tcc3Pwm [−][src]
Implementations
pub fn new<F>(
clock: &Tcc2Tcc3Clock,
freq: F,
tcc: TCC3,
pinout: TCC3Pinout<I, M>,
mclk: &mut MCLK
) -> Tcc3Pwm<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