Module ledc

Source
Expand description

LED Control PWM (Pulse Width Modulation)

Re-exports§

pub use self::ch::CH;
pub use self::timer::TIMER;

Modules§

ch
Cluster Cluster CH%s, containing CH?_CONF0, CH?_HPOINT, CH?_DUTY, CH?_CONF1, CH?_DUTY_R
ch_gamma_conf
Ledc ch%s gamma config register.
conf
LEDC global configuration register
date
Version control register
evt_task_en0
Ledc event task enable bit register0.
evt_task_en1
Ledc event task enable bit register1.
evt_task_en2
Ledc event task enable bit register2.
int_clr
Interrupt clear register
int_ena
Interrupt enable register
int_raw
Interrupt raw status register
int_st
Interrupt masked status register
timer
Cluster Cluster TIMER%s, containing TIMER?_CONF, TIMER?_VALUE
timer_cmp
Ledc timer%s compare value register.
timer_cnt_cap
Ledc timer%s captured count value register.

Structs§

RegisterBlock
Register block

Type Aliases§

CH_GAMMA_CONF
CH_GAMMA_CONF (rw) register accessor: Ledc ch%s gamma config register.
CONF
CONF (rw) register accessor: LEDC global configuration register
DATE
DATE (rw) register accessor: Version control register
EVT_TASK_EN0
EVT_TASK_EN0 (rw) register accessor: Ledc event task enable bit register0.
EVT_TASK_EN1
EVT_TASK_EN1 (rw) register accessor: Ledc event task enable bit register1.
EVT_TASK_EN2
EVT_TASK_EN2 (rw) register accessor: Ledc event task enable bit register2.
INT_CLR
INT_CLR (w) register accessor: Interrupt clear register
INT_ENA
INT_ENA (rw) register accessor: Interrupt enable register
INT_RAW
INT_RAW (rw) register accessor: Interrupt raw status register
INT_ST
INT_ST (r) register accessor: Interrupt masked status register
TIMER_CMP
TIMER_CMP (rw) register accessor: Ledc timer%s compare value register.
TIMER_CNT_CAP
TIMER_CNT_CAP (r) register accessor: Ledc timer%s captured count value register.