Type Alias esp32h2::ledc::evt_task_en2::W

source ·
pub type W = W<EVT_TASK_EN2_SPEC>;
Expand description

Register EVT_TASK_EN2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn task_gamma_restart_ch0_en( &mut self ) -> TASK_GAMMA_RESTART_CH0_EN_W<'_, EVT_TASK_EN2_SPEC, 0>

Bit 0 - Ledc ch0 gamma restart task enable register, write 1 to enable this task.

source

pub fn task_gamma_restart_ch1_en( &mut self ) -> TASK_GAMMA_RESTART_CH1_EN_W<'_, EVT_TASK_EN2_SPEC, 1>

Bit 1 - Ledc ch1 gamma restart task enable register, write 1 to enable this task.

source

pub fn task_gamma_restart_ch2_en( &mut self ) -> TASK_GAMMA_RESTART_CH2_EN_W<'_, EVT_TASK_EN2_SPEC, 2>

Bit 2 - Ledc ch2 gamma restart task enable register, write 1 to enable this task.

source

pub fn task_gamma_restart_ch3_en( &mut self ) -> TASK_GAMMA_RESTART_CH3_EN_W<'_, EVT_TASK_EN2_SPEC, 3>

Bit 3 - Ledc ch3 gamma restart task enable register, write 1 to enable this task.

source

pub fn task_gamma_restart_ch4_en( &mut self ) -> TASK_GAMMA_RESTART_CH4_EN_W<'_, EVT_TASK_EN2_SPEC, 4>

Bit 4 - Ledc ch4 gamma restart task enable register, write 1 to enable this task.

source

pub fn task_gamma_restart_ch5_en( &mut self ) -> TASK_GAMMA_RESTART_CH5_EN_W<'_, EVT_TASK_EN2_SPEC, 5>

Bit 5 - Ledc ch5 gamma restart task enable register, write 1 to enable this task.

source

pub fn task_gamma_pause_ch0_en( &mut self ) -> TASK_GAMMA_PAUSE_CH0_EN_W<'_, EVT_TASK_EN2_SPEC, 8>

Bit 8 - Ledc ch0 gamma pause task enable register, write 1 to enable this task.

source

pub fn task_gamma_pause_ch1_en( &mut self ) -> TASK_GAMMA_PAUSE_CH1_EN_W<'_, EVT_TASK_EN2_SPEC, 9>

Bit 9 - Ledc ch1 gamma pause task enable register, write 1 to enable this task.

source

pub fn task_gamma_pause_ch2_en( &mut self ) -> TASK_GAMMA_PAUSE_CH2_EN_W<'_, EVT_TASK_EN2_SPEC, 10>

Bit 10 - Ledc ch2 gamma pause task enable register, write 1 to enable this task.

source

pub fn task_gamma_pause_ch3_en( &mut self ) -> TASK_GAMMA_PAUSE_CH3_EN_W<'_, EVT_TASK_EN2_SPEC, 11>

Bit 11 - Ledc ch3 gamma pause task enable register, write 1 to enable this task.

source

pub fn task_gamma_pause_ch4_en( &mut self ) -> TASK_GAMMA_PAUSE_CH4_EN_W<'_, EVT_TASK_EN2_SPEC, 12>

Bit 12 - Ledc ch4 gamma pause task enable register, write 1 to enable this task.

source

pub fn task_gamma_pause_ch5_en( &mut self ) -> TASK_GAMMA_PAUSE_CH5_EN_W<'_, EVT_TASK_EN2_SPEC, 13>

Bit 13 - Ledc ch5 gamma pause task enable register, write 1 to enable this task.

source

pub fn task_gamma_resume_ch0_en( &mut self ) -> TASK_GAMMA_RESUME_CH0_EN_W<'_, EVT_TASK_EN2_SPEC, 16>

Bit 16 - Ledc ch0 gamma resume task enable register, write 1 to enable this task.

source

pub fn task_gamma_resume_ch1_en( &mut self ) -> TASK_GAMMA_RESUME_CH1_EN_W<'_, EVT_TASK_EN2_SPEC, 17>

Bit 17 - Ledc ch1 gamma resume task enable register, write 1 to enable this task.

source

pub fn task_gamma_resume_ch2_en( &mut self ) -> TASK_GAMMA_RESUME_CH2_EN_W<'_, EVT_TASK_EN2_SPEC, 18>

Bit 18 - Ledc ch2 gamma resume task enable register, write 1 to enable this task.

source

pub fn task_gamma_resume_ch3_en( &mut self ) -> TASK_GAMMA_RESUME_CH3_EN_W<'_, EVT_TASK_EN2_SPEC, 19>

Bit 19 - Ledc ch3 gamma resume task enable register, write 1 to enable this task.

source

pub fn task_gamma_resume_ch4_en( &mut self ) -> TASK_GAMMA_RESUME_CH4_EN_W<'_, EVT_TASK_EN2_SPEC, 20>

Bit 20 - Ledc ch4 gamma resume task enable register, write 1 to enable this task.

source

pub fn task_gamma_resume_ch5_en( &mut self ) -> TASK_GAMMA_RESUME_CH5_EN_W<'_, EVT_TASK_EN2_SPEC, 21>

Bit 21 - Ledc ch5 gamma resume task enable register, write 1 to enable this task.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual