pub trait _esp_hal_ledc_channel_ChannelHW<O>where
    O: OutputPin,{
    // Required methods
    fn configure_hw(&mut self) -> Result<(), Error>;
    fn set_duty_hw(&self, duty: u32);
}
Expand description

Channel HW interface

Required Methods§

source

fn configure_hw(&mut self) -> Result<(), Error>

Configure Channel HW except for the duty which is set via Self::set_duty_hw.

source

fn set_duty_hw(&self, duty: u32)

Set channel duty HW

Implementors§

source§

impl<'a, O> ChannelHW<O> for Channel<'a, LowSpeed, O>where O: OutputPin,

Channel HW interface for LowSpeed channels