Struct esp32c6::ledc::evt_task_en1::R

source ·
pub struct R(_);
Expand description

Register EVT_TASK_EN1 reader

Implementations§

source§

impl R

source

pub fn task_timer0_res_update_en(&self) -> TASK_TIMER0_RES_UPDATE_EN_R

Bit 0 - Ledc timer0 res update task enable register, write 1 to enable this task.

source

pub fn task_timer1_res_update_en(&self) -> TASK_TIMER1_RES_UPDATE_EN_R

Bit 1 - Ledc timer1 res update task enable register, write 1 to enable this task.

source

pub fn task_timer2_res_update_en(&self) -> TASK_TIMER2_RES_UPDATE_EN_R

Bit 2 - Ledc timer2 res update task enable register, write 1 to enable this task.

source

pub fn task_timer3_res_update_en(&self) -> TASK_TIMER3_RES_UPDATE_EN_R

Bit 3 - Ledc timer3 res update task enable register, write 1 to enable this task.

source

pub fn task_timer0_cap_en(&self) -> TASK_TIMER0_CAP_EN_R

Bit 4 - Ledc timer0 capture task enable register, write 1 to enable this task.

source

pub fn task_timer1_cap_en(&self) -> TASK_TIMER1_CAP_EN_R

Bit 5 - Ledc timer1 capture task enable register, write 1 to enable this task.

source

pub fn task_timer2_cap_en(&self) -> TASK_TIMER2_CAP_EN_R

Bit 6 - Ledc timer2 capture task enable register, write 1 to enable this task.

source

pub fn task_timer3_cap_en(&self) -> TASK_TIMER3_CAP_EN_R

Bit 7 - Ledc timer3 capture task enable register, write 1 to enable this task.

source

pub fn task_sig_out_dis_ch0_en(&self) -> TASK_SIG_OUT_DIS_CH0_EN_R

Bit 8 - Ledc ch0 signal out disable task enable register, write 1 to enable this task.

source

pub fn task_sig_out_dis_ch1_en(&self) -> TASK_SIG_OUT_DIS_CH1_EN_R

Bit 9 - Ledc ch1 signal out disable task enable register, write 1 to enable this task.

source

pub fn task_sig_out_dis_ch2_en(&self) -> TASK_SIG_OUT_DIS_CH2_EN_R

Bit 10 - Ledc ch2 signal out disable task enable register, write 1 to enable this task.

source

pub fn task_sig_out_dis_ch3_en(&self) -> TASK_SIG_OUT_DIS_CH3_EN_R

Bit 11 - Ledc ch3 signal out disable task enable register, write 1 to enable this task.

source

pub fn task_sig_out_dis_ch4_en(&self) -> TASK_SIG_OUT_DIS_CH4_EN_R

Bit 12 - Ledc ch4 signal out disable task enable register, write 1 to enable this task.

source

pub fn task_sig_out_dis_ch5_en(&self) -> TASK_SIG_OUT_DIS_CH5_EN_R

Bit 13 - Ledc ch5 signal out disable task enable register, write 1 to enable this task.

source

pub fn task_ovf_cnt_rst_ch0_en(&self) -> TASK_OVF_CNT_RST_CH0_EN_R

Bit 16 - Ledc ch0 overflow count reset task enable register, write 1 to enable this task.

source

pub fn task_ovf_cnt_rst_ch1_en(&self) -> TASK_OVF_CNT_RST_CH1_EN_R

Bit 17 - Ledc ch1 overflow count reset task enable register, write 1 to enable this task.

source

pub fn task_ovf_cnt_rst_ch2_en(&self) -> TASK_OVF_CNT_RST_CH2_EN_R

Bit 18 - Ledc ch2 overflow count reset task enable register, write 1 to enable this task.

source

pub fn task_ovf_cnt_rst_ch3_en(&self) -> TASK_OVF_CNT_RST_CH3_EN_R

Bit 19 - Ledc ch3 overflow count reset task enable register, write 1 to enable this task.

source

pub fn task_ovf_cnt_rst_ch4_en(&self) -> TASK_OVF_CNT_RST_CH4_EN_R

Bit 20 - Ledc ch4 overflow count reset task enable register, write 1 to enable this task.

source

pub fn task_ovf_cnt_rst_ch5_en(&self) -> TASK_OVF_CNT_RST_CH5_EN_R

Bit 21 - Ledc ch5 overflow count reset task enable register, write 1 to enable this task.

source

pub fn task_timer0_rst_en(&self) -> TASK_TIMER0_RST_EN_R

Bit 24 - Ledc timer0 reset task enable register, write 1 to enable this task.

source

pub fn task_timer1_rst_en(&self) -> TASK_TIMER1_RST_EN_R

Bit 25 - Ledc timer1 reset task enable register, write 1 to enable this task.

source

pub fn task_timer2_rst_en(&self) -> TASK_TIMER2_RST_EN_R

Bit 26 - Ledc timer2 reset task enable register, write 1 to enable this task.

source

pub fn task_timer3_rst_en(&self) -> TASK_TIMER3_RST_EN_R

Bit 27 - Ledc timer3 reset task enable register, write 1 to enable this task.

source

pub fn task_timer0_pause_resume_en(&self) -> TASK_TIMER0_PAUSE_RESUME_EN_R

Bit 28 - Ledc timer0 pause resume task enable register, write 1 to enable this task.

source

pub fn task_timer1_pause_resume_en(&self) -> TASK_TIMER1_PAUSE_RESUME_EN_R

Bit 29 - Ledc timer1 pause resume task enable register, write 1 to enable this task.

source

pub fn task_timer2_pause_resume_en(&self) -> TASK_TIMER2_PAUSE_RESUME_EN_R

Bit 30 - Ledc timer2 pause resume task enable register, write 1 to enable this task.

source

pub fn task_timer3_pause_resume_en(&self) -> TASK_TIMER3_PAUSE_RESUME_EN_R

Bit 31 - Ledc timer3 pause resume task enable register, write 1 to enable this task.

Methods from Deref<Target = R<EVT_TASK_EN1_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<EVT_TASK_EN1_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<EVT_TASK_EN1_SPEC>> for R

source§

fn from(reader: R<EVT_TASK_EN1_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.