pub trait ChannelIFace<'a, S, O>where
    S: TimerSpeed + 'a,
    O: OutputPin + 'a,
    Channel<'a, S, O>: ChannelHW<O>,
{ fn configure(&mut self, config: Config<'a, S>) -> Result<(), Error>; fn set_duty(&self, duty_pct: u8) -> Result<(), Error>; }
Expand description

Channel interface

Required Methods§

Configure channel

Set channel duty HW

Implementors§