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.
ch_gamma_rd_addr
Ledc ch%s gamma ram read address register.
ch_gamma_rd_data
Ledc ch%s gamma ram read data register.
ch_gamma_wr
Ledc ch%s gamma ram write register.
ch_gamma_wr_addr
Ledc ch%s gamma ram write address register.
conf
Global ledc 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 bits
int_ena
Interrupt enable bits
int_raw
Raw interrupt status
int_st
Masked interrupt status
timer
Cluster Cluster TIMER%s, containing TIMER?_CONF, TIMER?_VALUE
timer_cmp
Ledc timer%s compare value register.
timer_cnt_cap
Ledc timer%s count value capture register.

Structs§

RegisterBlock
Register block

Type Aliases§

CH_GAMMA_CONF
CH_GAMMA_CONF (rw) register accessor: Ledc ch%s gamma config register.
CH_GAMMA_RD_ADDR
CH_GAMMA_RD_ADDR (rw) register accessor: Ledc ch%s gamma ram read address register.
CH_GAMMA_RD_DATA
CH_GAMMA_RD_DATA (r) register accessor: Ledc ch%s gamma ram read data register.
CH_GAMMA_WR
CH_GAMMA_WR (rw) register accessor: Ledc ch%s gamma ram write register.
CH_GAMMA_WR_ADDR
CH_GAMMA_WR_ADDR (rw) register accessor: Ledc ch%s gamma ram write address register.
CONF
CONF (rw) register accessor: Global ledc 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 bits
INT_ENA
INT_ENA (rw) register accessor: Interrupt enable bits
INT_RAW
INT_RAW (rw) register accessor: Raw interrupt status
INT_ST
INT_ST (r) register accessor: Masked interrupt status
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 count value capture register.