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