Struct esp32c2_hal::ledc::channel::Channel
source · pub struct Channel<'a, S, O>where
S: TimerSpeed,
O: OutputPin,{ /* private fields */ }
Expand description
Channel struct
Implementations§
Trait Implementations§
source§impl<'a, O> ChannelHW<O> for Channel<'a, LowSpeed, O>where
O: OutputPin,
impl<'a, O> ChannelHW<O> for Channel<'a, LowSpeed, O>where
O: OutputPin,
Channel HW interface for LowSpeed channels
source§fn set_duty_hw(&self, duty: u32)
fn set_duty_hw(&self, duty: u32)
Set duty in channel HW