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