Struct grand_central_m4::thumbv7em::pwm::Tcc1Pwm [−][src]
Implementations
pub fn new<F>(
clock: &Tcc0Tcc1Clock,
freq: F,
tcc: TCC1,
pinout: TCC1Pinout<I, M>,
mclk: &mut MCLK
) -> Tcc1Pwm<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