pub struct Ledc<'d> { /* private fields */ }Expand description
LEDC (LED PWM Controller)
Implementations§
Source§impl<'d> Ledc<'d>
 
impl<'d> Ledc<'d>
Sourcepub fn set_global_slow_clock(&mut self, clock_source: LSGlobalClkSource)
 
pub fn set_global_slow_clock(&mut self, clock_source: LSGlobalClkSource)
Set global slow clock source
Sourcepub fn timer<S: TimerSpeed>(&self, number: Number) -> Timer<'d, S>
 
pub fn timer<S: TimerSpeed>(&self, number: Number) -> Timer<'d, S>
Return a new timer
Sourcepub fn channel<S: TimerSpeed>(
    &self,
    number: Number,
    output_pin: impl PeripheralOutput<'d>,
) -> Channel<'d, S>
 
pub fn channel<S: TimerSpeed>( &self, number: Number, output_pin: impl PeripheralOutput<'d>, ) -> Channel<'d, S>
Return a new channel