Type Alias R

Source
pub type R = R<INT_RAW_SPEC>;
Expand description

Register INT_RAW reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn timer_ovf(&self, n: u8) -> TIMER_OVF_R

Triggered when the timer(0-3) has reached its maximum counter value.

`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
Source

pub fn timer_ovf_iter(&self) -> impl Iterator<Item = TIMER_OVF_R> + '_

Iterator for array of: Triggered when the timer(0-3) has reached its maximum counter value.

Source

pub fn timer0_ovf(&self) -> TIMER_OVF_R

Bit 0 - Triggered when the timer0 has reached its maximum counter value.

Source

pub fn timer1_ovf(&self) -> TIMER_OVF_R

Bit 1 - Triggered when the timer1 has reached its maximum counter value.

Source

pub fn timer2_ovf(&self) -> TIMER_OVF_R

Bit 2 - Triggered when the timer2 has reached its maximum counter value.

Source

pub fn timer3_ovf(&self) -> TIMER_OVF_R

Bit 3 - Triggered when the timer3 has reached its maximum counter value.

Source

pub fn duty_chng_end_ch(&self, n: u8) -> DUTY_CHNG_END_CH_R

Interrupt raw bit for channel (0-5). Triggered when the gradual change of duty has finished.

`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
Source

pub fn duty_chng_end_ch_iter( &self, ) -> impl Iterator<Item = DUTY_CHNG_END_CH_R> + '_

Iterator for array of: Interrupt raw bit for channel (0-5). Triggered when the gradual change of duty has finished.

Source

pub fn duty_chng_end_ch0(&self) -> DUTY_CHNG_END_CH_R

Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished.

Source

pub fn duty_chng_end_ch1(&self) -> DUTY_CHNG_END_CH_R

Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished.

Source

pub fn duty_chng_end_ch2(&self) -> DUTY_CHNG_END_CH_R

Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished.

Source

pub fn duty_chng_end_ch3(&self) -> DUTY_CHNG_END_CH_R

Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished.

Source

pub fn duty_chng_end_ch4(&self) -> DUTY_CHNG_END_CH_R

Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished.

Source

pub fn duty_chng_end_ch5(&self) -> DUTY_CHNG_END_CH_R

Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished.

Source

pub fn ovf_cnt_ch(&self, n: u8) -> OVF_CNT_CH_R

Interrupt raw bit for channel (0-5). Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM.

`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
Source

pub fn ovf_cnt_ch_iter(&self) -> impl Iterator<Item = OVF_CNT_CH_R> + '_

Iterator for array of: Interrupt raw bit for channel (0-5). Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM.

Source

pub fn ovf_cnt_ch0(&self) -> OVF_CNT_CH_R

Bit 12 - Interrupt raw bit for channel 0. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM.

Source

pub fn ovf_cnt_ch1(&self) -> OVF_CNT_CH_R

Bit 13 - Interrupt raw bit for channel 1. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM.

Source

pub fn ovf_cnt_ch2(&self) -> OVF_CNT_CH_R

Bit 14 - Interrupt raw bit for channel 2. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM.

Source

pub fn ovf_cnt_ch3(&self) -> OVF_CNT_CH_R

Bit 15 - Interrupt raw bit for channel 3. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM.

Source

pub fn ovf_cnt_ch4(&self) -> OVF_CNT_CH_R

Bit 16 - Interrupt raw bit for channel 4. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM.

Source

pub fn ovf_cnt_ch5(&self) -> OVF_CNT_CH_R

Bit 17 - Interrupt raw bit for channel 5. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM.