pub struct LEDC {
    pub timer0: TIMER0,
    pub timer1: TIMER1,
    pub timer2: TIMER2,
    pub timer3: TIMER3,
    pub channel0: CHANNEL0,
    pub channel1: CHANNEL1,
    pub channel2: CHANNEL2,
    pub channel3: CHANNEL3,
    pub channel4: CHANNEL4,
    pub channel5: CHANNEL5,
}Expand description
The LED Control device peripheral
Fields§
§timer0: TIMER0§timer1: TIMER1§timer2: TIMER2§timer3: TIMER3§channel0: CHANNEL0§channel1: CHANNEL1§channel2: CHANNEL2§channel3: CHANNEL3§channel4: CHANNEL4§channel5: CHANNEL5Implementations§
Source§impl LEDC
 
impl LEDC
Sourcepub unsafe fn new() -> LEDC
 
pub unsafe fn new() -> LEDC
Creates a new instance of the LEDC peripheral. Typically one wants
to use the instance ledc from
the device peripherals obtained via
peripherals::Peripherals::take().
§Safety
It is safe to instantiate the LEDC peripheral exactly one time. Care has to be taken that this has not already been done elsewhere.