#[doc = "Register `TASK_ST3` reader"]
pub type R = crate::R<TASK_ST3_SPEC>;
#[doc = "Register `TASK_ST3` writer"]
pub type W = crate::W<TASK_ST3_SPEC>;
#[doc = "Field `TG1_TASK_ALARM_START_TIMER1_ST` reader - Represents TG1_task_alarm_start_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TG1_TASK_ALARM_START_TIMER1_ST_R = crate::BitReader;
#[doc = "Field `TG1_TASK_ALARM_START_TIMER1_ST` writer - Represents TG1_task_alarm_start_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TG1_TASK_ALARM_START_TIMER1_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_CNT_STOP_TIMER1_ST` reader - Represents TG1_task_cnt_stop_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TG1_TASK_CNT_STOP_TIMER1_ST_R = crate::BitReader;
#[doc = "Field `TG1_TASK_CNT_STOP_TIMER1_ST` writer - Represents TG1_task_cnt_stop_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TG1_TASK_CNT_STOP_TIMER1_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_CNT_RELOAD_TIMER1_ST` reader - Represents TG1_task_cnt_reload_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TG1_TASK_CNT_RELOAD_TIMER1_ST_R = crate::BitReader;
#[doc = "Field `TG1_TASK_CNT_RELOAD_TIMER1_ST` writer - Represents TG1_task_cnt_reload_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TG1_TASK_CNT_RELOAD_TIMER1_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_CNT_CAP_TIMER1_ST` reader - Represents TG1_task_cnt_cap_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TG1_TASK_CNT_CAP_TIMER1_ST_R = crate::BitReader;
#[doc = "Field `TG1_TASK_CNT_CAP_TIMER1_ST` writer - Represents TG1_task_cnt_cap_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TG1_TASK_CNT_CAP_TIMER1_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `ADC_TASK_SAMPLE0_ST` reader - Represents ADC_task_sample0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ADC_TASK_SAMPLE0_ST_R = crate::BitReader;
#[doc = "Field `ADC_TASK_SAMPLE0_ST` writer - Represents ADC_task_sample0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ADC_TASK_SAMPLE0_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `ADC_TASK_SAMPLE1_ST` reader - Represents ADC_task_sample1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ADC_TASK_SAMPLE1_ST_R = crate::BitReader;
#[doc = "Field `ADC_TASK_SAMPLE1_ST` writer - Represents ADC_task_sample1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ADC_TASK_SAMPLE1_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `ADC_TASK_START0_ST` reader - Represents ADC_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ADC_TASK_START0_ST_R = crate::BitReader;
#[doc = "Field `ADC_TASK_START0_ST` writer - Represents ADC_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ADC_TASK_START0_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `ADC_TASK_STOP0_ST` reader - Represents ADC_task_stop0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ADC_TASK_STOP0_ST_R = crate::BitReader;
#[doc = "Field `ADC_TASK_STOP0_ST` writer - Represents ADC_task_stop0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ADC_TASK_STOP0_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `REGDMA_TASK_START0_ST` reader - Represents REGDMA_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type REGDMA_TASK_START0_ST_R = crate::BitReader;
#[doc = "Field `REGDMA_TASK_START0_ST` writer - Represents REGDMA_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type REGDMA_TASK_START0_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `REGDMA_TASK_START1_ST` reader - Represents REGDMA_task_start1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type REGDMA_TASK_START1_ST_R = crate::BitReader;
#[doc = "Field `REGDMA_TASK_START1_ST` writer - Represents REGDMA_task_start1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type REGDMA_TASK_START1_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `REGDMA_TASK_START2_ST` reader - Represents REGDMA_task_start2 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type REGDMA_TASK_START2_ST_R = crate::BitReader;
#[doc = "Field `REGDMA_TASK_START2_ST` writer - Represents REGDMA_task_start2 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type REGDMA_TASK_START2_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `REGDMA_TASK_START3_ST` reader - Represents REGDMA_task_start3 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type REGDMA_TASK_START3_ST_R = crate::BitReader;
#[doc = "Field `REGDMA_TASK_START3_ST` writer - Represents REGDMA_task_start3 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type REGDMA_TASK_START3_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TMPSNSR_TASK_START_SAMPLE_ST` reader - Represents TMPSNSR_task_start_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TMPSNSR_TASK_START_SAMPLE_ST_R = crate::BitReader;
#[doc = "Field `TMPSNSR_TASK_START_SAMPLE_ST` writer - Represents TMPSNSR_task_start_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TMPSNSR_TASK_START_SAMPLE_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TMPSNSR_TASK_STOP_SAMPLE_ST` reader - Represents TMPSNSR_task_stop_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TMPSNSR_TASK_STOP_SAMPLE_ST_R = crate::BitReader;
#[doc = "Field `TMPSNSR_TASK_STOP_SAMPLE_ST` writer - Represents TMPSNSR_task_stop_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type TMPSNSR_TASK_STOP_SAMPLE_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `I2S0_TASK_START_RX_ST` reader - Represents I2S0_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S0_TASK_START_RX_ST_R = crate::BitReader;
#[doc = "Field `I2S0_TASK_START_RX_ST` writer - Represents I2S0_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S0_TASK_START_RX_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `I2S0_TASK_START_TX_ST` reader - Represents I2S0_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S0_TASK_START_TX_ST_R = crate::BitReader;
#[doc = "Field `I2S0_TASK_START_TX_ST` writer - Represents I2S0_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S0_TASK_START_TX_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `I2S0_TASK_STOP_RX_ST` reader - Represents I2S0_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S0_TASK_STOP_RX_ST_R = crate::BitReader;
#[doc = "Field `I2S0_TASK_STOP_RX_ST` writer - Represents I2S0_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S0_TASK_STOP_RX_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `I2S0_TASK_STOP_TX_ST` reader - Represents I2S0_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S0_TASK_STOP_TX_ST_R = crate::BitReader;
#[doc = "Field `I2S0_TASK_STOP_TX_ST` writer - Represents I2S0_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S0_TASK_STOP_TX_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `I2S1_TASK_START_RX_ST` reader - Represents I2S1_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S1_TASK_START_RX_ST_R = crate::BitReader;
#[doc = "Field `I2S1_TASK_START_RX_ST` writer - Represents I2S1_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S1_TASK_START_RX_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `I2S1_TASK_START_TX_ST` reader - Represents I2S1_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S1_TASK_START_TX_ST_R = crate::BitReader;
#[doc = "Field `I2S1_TASK_START_TX_ST` writer - Represents I2S1_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S1_TASK_START_TX_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `I2S1_TASK_STOP_RX_ST` reader - Represents I2S1_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S1_TASK_STOP_RX_ST_R = crate::BitReader;
#[doc = "Field `I2S1_TASK_STOP_RX_ST` writer - Represents I2S1_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S1_TASK_STOP_RX_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `I2S1_TASK_STOP_TX_ST` reader - Represents I2S1_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S1_TASK_STOP_TX_ST_R = crate::BitReader;
#[doc = "Field `I2S1_TASK_STOP_TX_ST` writer - Represents I2S1_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type I2S1_TASK_STOP_TX_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `ULP_TASK_WAKEUP_CPU_ST` reader - Represents ULP_task_wakeup_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ULP_TASK_WAKEUP_CPU_ST_R = crate::BitReader;
#[doc = "Field `ULP_TASK_WAKEUP_CPU_ST` writer - Represents ULP_task_wakeup_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ULP_TASK_WAKEUP_CPU_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `ULP_TASK_INT_CPU_ST` reader - Represents ULP_task_int_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ULP_TASK_INT_CPU_ST_R = crate::BitReader;
#[doc = "Field `ULP_TASK_INT_CPU_ST` writer - Represents ULP_task_int_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type ULP_TASK_INT_CPU_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RTC_TASK_START_ST` reader - Represents RTC_task_start trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type RTC_TASK_START_ST_R = crate::BitReader;
#[doc = "Field `RTC_TASK_START_ST` writer - Represents RTC_task_start trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type RTC_TASK_START_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RTC_TASK_STOP_ST` reader - Represents RTC_task_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type RTC_TASK_STOP_ST_R = crate::BitReader;
#[doc = "Field `RTC_TASK_STOP_ST` writer - Represents RTC_task_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type RTC_TASK_STOP_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RTC_TASK_CLR_ST` reader - Represents RTC_task_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type RTC_TASK_CLR_ST_R = crate::BitReader;
#[doc = "Field `RTC_TASK_CLR_ST` writer - Represents RTC_task_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type RTC_TASK_CLR_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RTC_TASK_TRIGGERFLW_ST` reader - Represents RTC_task_triggerflw trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type RTC_TASK_TRIGGERFLW_ST_R = crate::BitReader;
#[doc = "Field `RTC_TASK_TRIGGERFLW_ST` writer - Represents RTC_task_triggerflw trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type RTC_TASK_TRIGGERFLW_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GDMA_AHB_TASK_IN_START_CH0_ST` reader - Represents GDMA_AHB_task_in_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type GDMA_AHB_TASK_IN_START_CH0_ST_R = crate::BitReader;
#[doc = "Field `GDMA_AHB_TASK_IN_START_CH0_ST` writer - Represents GDMA_AHB_task_in_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type GDMA_AHB_TASK_IN_START_CH0_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GDMA_AHB_TASK_IN_START_CH1_ST` reader - Represents GDMA_AHB_task_in_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type GDMA_AHB_TASK_IN_START_CH1_ST_R = crate::BitReader;
#[doc = "Field `GDMA_AHB_TASK_IN_START_CH1_ST` writer - Represents GDMA_AHB_task_in_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type GDMA_AHB_TASK_IN_START_CH1_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GDMA_AHB_TASK_IN_START_CH2_ST` reader - Represents GDMA_AHB_task_in_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type GDMA_AHB_TASK_IN_START_CH2_ST_R = crate::BitReader;
#[doc = "Field `GDMA_AHB_TASK_IN_START_CH2_ST` writer - Represents GDMA_AHB_task_in_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type GDMA_AHB_TASK_IN_START_CH2_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GDMA_AHB_TASK_OUT_START_CH0_ST` reader - Represents GDMA_AHB_task_out_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type GDMA_AHB_TASK_OUT_START_CH0_ST_R = crate::BitReader;
#[doc = "Field `GDMA_AHB_TASK_OUT_START_CH0_ST` writer - Represents GDMA_AHB_task_out_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
pub type GDMA_AHB_TASK_OUT_START_CH0_ST_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[doc = "Bit 0 - Represents TG1_task_alarm_start_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tg1_task_alarm_start_timer1_st(&self) -> TG1_TASK_ALARM_START_TIMER1_ST_R {
TG1_TASK_ALARM_START_TIMER1_ST_R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1 - Represents TG1_task_cnt_stop_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tg1_task_cnt_stop_timer1_st(&self) -> TG1_TASK_CNT_STOP_TIMER1_ST_R {
TG1_TASK_CNT_STOP_TIMER1_ST_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 2 - Represents TG1_task_cnt_reload_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tg1_task_cnt_reload_timer1_st(&self) -> TG1_TASK_CNT_RELOAD_TIMER1_ST_R {
TG1_TASK_CNT_RELOAD_TIMER1_ST_R::new(((self.bits >> 2) & 1) != 0)
}
#[doc = "Bit 3 - Represents TG1_task_cnt_cap_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tg1_task_cnt_cap_timer1_st(&self) -> TG1_TASK_CNT_CAP_TIMER1_ST_R {
TG1_TASK_CNT_CAP_TIMER1_ST_R::new(((self.bits >> 3) & 1) != 0)
}
#[doc = "Bit 4 - Represents ADC_task_sample0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn adc_task_sample0_st(&self) -> ADC_TASK_SAMPLE0_ST_R {
ADC_TASK_SAMPLE0_ST_R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 5 - Represents ADC_task_sample1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn adc_task_sample1_st(&self) -> ADC_TASK_SAMPLE1_ST_R {
ADC_TASK_SAMPLE1_ST_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 6 - Represents ADC_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn adc_task_start0_st(&self) -> ADC_TASK_START0_ST_R {
ADC_TASK_START0_ST_R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 7 - Represents ADC_task_stop0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn adc_task_stop0_st(&self) -> ADC_TASK_STOP0_ST_R {
ADC_TASK_STOP0_ST_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8 - Represents REGDMA_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn regdma_task_start0_st(&self) -> REGDMA_TASK_START0_ST_R {
REGDMA_TASK_START0_ST_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9 - Represents REGDMA_task_start1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn regdma_task_start1_st(&self) -> REGDMA_TASK_START1_ST_R {
REGDMA_TASK_START1_ST_R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 10 - Represents REGDMA_task_start2 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn regdma_task_start2_st(&self) -> REGDMA_TASK_START2_ST_R {
REGDMA_TASK_START2_ST_R::new(((self.bits >> 10) & 1) != 0)
}
#[doc = "Bit 11 - Represents REGDMA_task_start3 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn regdma_task_start3_st(&self) -> REGDMA_TASK_START3_ST_R {
REGDMA_TASK_START3_ST_R::new(((self.bits >> 11) & 1) != 0)
}
#[doc = "Bit 12 - Represents TMPSNSR_task_start_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tmpsnsr_task_start_sample_st(&self) -> TMPSNSR_TASK_START_SAMPLE_ST_R {
TMPSNSR_TASK_START_SAMPLE_ST_R::new(((self.bits >> 12) & 1) != 0)
}
#[doc = "Bit 13 - Represents TMPSNSR_task_stop_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tmpsnsr_task_stop_sample_st(&self) -> TMPSNSR_TASK_STOP_SAMPLE_ST_R {
TMPSNSR_TASK_STOP_SAMPLE_ST_R::new(((self.bits >> 13) & 1) != 0)
}
#[doc = "Bit 14 - Represents I2S0_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s0_task_start_rx_st(&self) -> I2S0_TASK_START_RX_ST_R {
I2S0_TASK_START_RX_ST_R::new(((self.bits >> 14) & 1) != 0)
}
#[doc = "Bit 15 - Represents I2S0_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s0_task_start_tx_st(&self) -> I2S0_TASK_START_TX_ST_R {
I2S0_TASK_START_TX_ST_R::new(((self.bits >> 15) & 1) != 0)
}
#[doc = "Bit 16 - Represents I2S0_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s0_task_stop_rx_st(&self) -> I2S0_TASK_STOP_RX_ST_R {
I2S0_TASK_STOP_RX_ST_R::new(((self.bits >> 16) & 1) != 0)
}
#[doc = "Bit 17 - Represents I2S0_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s0_task_stop_tx_st(&self) -> I2S0_TASK_STOP_TX_ST_R {
I2S0_TASK_STOP_TX_ST_R::new(((self.bits >> 17) & 1) != 0)
}
#[doc = "Bit 18 - Represents I2S1_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s1_task_start_rx_st(&self) -> I2S1_TASK_START_RX_ST_R {
I2S1_TASK_START_RX_ST_R::new(((self.bits >> 18) & 1) != 0)
}
#[doc = "Bit 19 - Represents I2S1_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s1_task_start_tx_st(&self) -> I2S1_TASK_START_TX_ST_R {
I2S1_TASK_START_TX_ST_R::new(((self.bits >> 19) & 1) != 0)
}
#[doc = "Bit 20 - Represents I2S1_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s1_task_stop_rx_st(&self) -> I2S1_TASK_STOP_RX_ST_R {
I2S1_TASK_STOP_RX_ST_R::new(((self.bits >> 20) & 1) != 0)
}
#[doc = "Bit 21 - Represents I2S1_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s1_task_stop_tx_st(&self) -> I2S1_TASK_STOP_TX_ST_R {
I2S1_TASK_STOP_TX_ST_R::new(((self.bits >> 21) & 1) != 0)
}
#[doc = "Bit 22 - Represents ULP_task_wakeup_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn ulp_task_wakeup_cpu_st(&self) -> ULP_TASK_WAKEUP_CPU_ST_R {
ULP_TASK_WAKEUP_CPU_ST_R::new(((self.bits >> 22) & 1) != 0)
}
#[doc = "Bit 23 - Represents ULP_task_int_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn ulp_task_int_cpu_st(&self) -> ULP_TASK_INT_CPU_ST_R {
ULP_TASK_INT_CPU_ST_R::new(((self.bits >> 23) & 1) != 0)
}
#[doc = "Bit 24 - Represents RTC_task_start trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn rtc_task_start_st(&self) -> RTC_TASK_START_ST_R {
RTC_TASK_START_ST_R::new(((self.bits >> 24) & 1) != 0)
}
#[doc = "Bit 25 - Represents RTC_task_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn rtc_task_stop_st(&self) -> RTC_TASK_STOP_ST_R {
RTC_TASK_STOP_ST_R::new(((self.bits >> 25) & 1) != 0)
}
#[doc = "Bit 26 - Represents RTC_task_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn rtc_task_clr_st(&self) -> RTC_TASK_CLR_ST_R {
RTC_TASK_CLR_ST_R::new(((self.bits >> 26) & 1) != 0)
}
#[doc = "Bit 27 - Represents RTC_task_triggerflw trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn rtc_task_triggerflw_st(&self) -> RTC_TASK_TRIGGERFLW_ST_R {
RTC_TASK_TRIGGERFLW_ST_R::new(((self.bits >> 27) & 1) != 0)
}
#[doc = "Bit 28 - Represents GDMA_AHB_task_in_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn gdma_ahb_task_in_start_ch0_st(&self) -> GDMA_AHB_TASK_IN_START_CH0_ST_R {
GDMA_AHB_TASK_IN_START_CH0_ST_R::new(((self.bits >> 28) & 1) != 0)
}
#[doc = "Bit 29 - Represents GDMA_AHB_task_in_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn gdma_ahb_task_in_start_ch1_st(&self) -> GDMA_AHB_TASK_IN_START_CH1_ST_R {
GDMA_AHB_TASK_IN_START_CH1_ST_R::new(((self.bits >> 29) & 1) != 0)
}
#[doc = "Bit 30 - Represents GDMA_AHB_task_in_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn gdma_ahb_task_in_start_ch2_st(&self) -> GDMA_AHB_TASK_IN_START_CH2_ST_R {
GDMA_AHB_TASK_IN_START_CH2_ST_R::new(((self.bits >> 30) & 1) != 0)
}
#[doc = "Bit 31 - Represents GDMA_AHB_task_out_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn gdma_ahb_task_out_start_ch0_st(&self) -> GDMA_AHB_TASK_OUT_START_CH0_ST_R {
GDMA_AHB_TASK_OUT_START_CH0_ST_R::new(((self.bits >> 31) & 1) != 0)
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("TASK_ST3")
.field(
"tg1_task_alarm_start_timer1_st",
&self.tg1_task_alarm_start_timer1_st(),
)
.field(
"tg1_task_cnt_stop_timer1_st",
&self.tg1_task_cnt_stop_timer1_st(),
)
.field(
"tg1_task_cnt_reload_timer1_st",
&self.tg1_task_cnt_reload_timer1_st(),
)
.field(
"tg1_task_cnt_cap_timer1_st",
&self.tg1_task_cnt_cap_timer1_st(),
)
.field("adc_task_sample0_st", &self.adc_task_sample0_st())
.field("adc_task_sample1_st", &self.adc_task_sample1_st())
.field("adc_task_start0_st", &self.adc_task_start0_st())
.field("adc_task_stop0_st", &self.adc_task_stop0_st())
.field("regdma_task_start0_st", &self.regdma_task_start0_st())
.field("regdma_task_start1_st", &self.regdma_task_start1_st())
.field("regdma_task_start2_st", &self.regdma_task_start2_st())
.field("regdma_task_start3_st", &self.regdma_task_start3_st())
.field(
"tmpsnsr_task_start_sample_st",
&self.tmpsnsr_task_start_sample_st(),
)
.field(
"tmpsnsr_task_stop_sample_st",
&self.tmpsnsr_task_stop_sample_st(),
)
.field("i2s0_task_start_rx_st", &self.i2s0_task_start_rx_st())
.field("i2s0_task_start_tx_st", &self.i2s0_task_start_tx_st())
.field("i2s0_task_stop_rx_st", &self.i2s0_task_stop_rx_st())
.field("i2s0_task_stop_tx_st", &self.i2s0_task_stop_tx_st())
.field("i2s1_task_start_rx_st", &self.i2s1_task_start_rx_st())
.field("i2s1_task_start_tx_st", &self.i2s1_task_start_tx_st())
.field("i2s1_task_stop_rx_st", &self.i2s1_task_stop_rx_st())
.field("i2s1_task_stop_tx_st", &self.i2s1_task_stop_tx_st())
.field("ulp_task_wakeup_cpu_st", &self.ulp_task_wakeup_cpu_st())
.field("ulp_task_int_cpu_st", &self.ulp_task_int_cpu_st())
.field("rtc_task_start_st", &self.rtc_task_start_st())
.field("rtc_task_stop_st", &self.rtc_task_stop_st())
.field("rtc_task_clr_st", &self.rtc_task_clr_st())
.field("rtc_task_triggerflw_st", &self.rtc_task_triggerflw_st())
.field(
"gdma_ahb_task_in_start_ch0_st",
&self.gdma_ahb_task_in_start_ch0_st(),
)
.field(
"gdma_ahb_task_in_start_ch1_st",
&self.gdma_ahb_task_in_start_ch1_st(),
)
.field(
"gdma_ahb_task_in_start_ch2_st",
&self.gdma_ahb_task_in_start_ch2_st(),
)
.field(
"gdma_ahb_task_out_start_ch0_st",
&self.gdma_ahb_task_out_start_ch0_st(),
)
.finish()
}
}
impl W {
#[doc = "Bit 0 - Represents TG1_task_alarm_start_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tg1_task_alarm_start_timer1_st(
&mut self,
) -> TG1_TASK_ALARM_START_TIMER1_ST_W<'_, TASK_ST3_SPEC> {
TG1_TASK_ALARM_START_TIMER1_ST_W::new(self, 0)
}
#[doc = "Bit 1 - Represents TG1_task_cnt_stop_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tg1_task_cnt_stop_timer1_st(
&mut self,
) -> TG1_TASK_CNT_STOP_TIMER1_ST_W<'_, TASK_ST3_SPEC> {
TG1_TASK_CNT_STOP_TIMER1_ST_W::new(self, 1)
}
#[doc = "Bit 2 - Represents TG1_task_cnt_reload_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tg1_task_cnt_reload_timer1_st(
&mut self,
) -> TG1_TASK_CNT_RELOAD_TIMER1_ST_W<'_, TASK_ST3_SPEC> {
TG1_TASK_CNT_RELOAD_TIMER1_ST_W::new(self, 2)
}
#[doc = "Bit 3 - Represents TG1_task_cnt_cap_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tg1_task_cnt_cap_timer1_st(
&mut self,
) -> TG1_TASK_CNT_CAP_TIMER1_ST_W<'_, TASK_ST3_SPEC> {
TG1_TASK_CNT_CAP_TIMER1_ST_W::new(self, 3)
}
#[doc = "Bit 4 - Represents ADC_task_sample0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn adc_task_sample0_st(&mut self) -> ADC_TASK_SAMPLE0_ST_W<'_, TASK_ST3_SPEC> {
ADC_TASK_SAMPLE0_ST_W::new(self, 4)
}
#[doc = "Bit 5 - Represents ADC_task_sample1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn adc_task_sample1_st(&mut self) -> ADC_TASK_SAMPLE1_ST_W<'_, TASK_ST3_SPEC> {
ADC_TASK_SAMPLE1_ST_W::new(self, 5)
}
#[doc = "Bit 6 - Represents ADC_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn adc_task_start0_st(&mut self) -> ADC_TASK_START0_ST_W<'_, TASK_ST3_SPEC> {
ADC_TASK_START0_ST_W::new(self, 6)
}
#[doc = "Bit 7 - Represents ADC_task_stop0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn adc_task_stop0_st(&mut self) -> ADC_TASK_STOP0_ST_W<'_, TASK_ST3_SPEC> {
ADC_TASK_STOP0_ST_W::new(self, 7)
}
#[doc = "Bit 8 - Represents REGDMA_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn regdma_task_start0_st(&mut self) -> REGDMA_TASK_START0_ST_W<'_, TASK_ST3_SPEC> {
REGDMA_TASK_START0_ST_W::new(self, 8)
}
#[doc = "Bit 9 - Represents REGDMA_task_start1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn regdma_task_start1_st(&mut self) -> REGDMA_TASK_START1_ST_W<'_, TASK_ST3_SPEC> {
REGDMA_TASK_START1_ST_W::new(self, 9)
}
#[doc = "Bit 10 - Represents REGDMA_task_start2 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn regdma_task_start2_st(&mut self) -> REGDMA_TASK_START2_ST_W<'_, TASK_ST3_SPEC> {
REGDMA_TASK_START2_ST_W::new(self, 10)
}
#[doc = "Bit 11 - Represents REGDMA_task_start3 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn regdma_task_start3_st(&mut self) -> REGDMA_TASK_START3_ST_W<'_, TASK_ST3_SPEC> {
REGDMA_TASK_START3_ST_W::new(self, 11)
}
#[doc = "Bit 12 - Represents TMPSNSR_task_start_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tmpsnsr_task_start_sample_st(
&mut self,
) -> TMPSNSR_TASK_START_SAMPLE_ST_W<'_, TASK_ST3_SPEC> {
TMPSNSR_TASK_START_SAMPLE_ST_W::new(self, 12)
}
#[doc = "Bit 13 - Represents TMPSNSR_task_stop_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn tmpsnsr_task_stop_sample_st(
&mut self,
) -> TMPSNSR_TASK_STOP_SAMPLE_ST_W<'_, TASK_ST3_SPEC> {
TMPSNSR_TASK_STOP_SAMPLE_ST_W::new(self, 13)
}
#[doc = "Bit 14 - Represents I2S0_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s0_task_start_rx_st(&mut self) -> I2S0_TASK_START_RX_ST_W<'_, TASK_ST3_SPEC> {
I2S0_TASK_START_RX_ST_W::new(self, 14)
}
#[doc = "Bit 15 - Represents I2S0_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s0_task_start_tx_st(&mut self) -> I2S0_TASK_START_TX_ST_W<'_, TASK_ST3_SPEC> {
I2S0_TASK_START_TX_ST_W::new(self, 15)
}
#[doc = "Bit 16 - Represents I2S0_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s0_task_stop_rx_st(&mut self) -> I2S0_TASK_STOP_RX_ST_W<'_, TASK_ST3_SPEC> {
I2S0_TASK_STOP_RX_ST_W::new(self, 16)
}
#[doc = "Bit 17 - Represents I2S0_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s0_task_stop_tx_st(&mut self) -> I2S0_TASK_STOP_TX_ST_W<'_, TASK_ST3_SPEC> {
I2S0_TASK_STOP_TX_ST_W::new(self, 17)
}
#[doc = "Bit 18 - Represents I2S1_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s1_task_start_rx_st(&mut self) -> I2S1_TASK_START_RX_ST_W<'_, TASK_ST3_SPEC> {
I2S1_TASK_START_RX_ST_W::new(self, 18)
}
#[doc = "Bit 19 - Represents I2S1_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s1_task_start_tx_st(&mut self) -> I2S1_TASK_START_TX_ST_W<'_, TASK_ST3_SPEC> {
I2S1_TASK_START_TX_ST_W::new(self, 19)
}
#[doc = "Bit 20 - Represents I2S1_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s1_task_stop_rx_st(&mut self) -> I2S1_TASK_STOP_RX_ST_W<'_, TASK_ST3_SPEC> {
I2S1_TASK_STOP_RX_ST_W::new(self, 20)
}
#[doc = "Bit 21 - Represents I2S1_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn i2s1_task_stop_tx_st(&mut self) -> I2S1_TASK_STOP_TX_ST_W<'_, TASK_ST3_SPEC> {
I2S1_TASK_STOP_TX_ST_W::new(self, 21)
}
#[doc = "Bit 22 - Represents ULP_task_wakeup_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn ulp_task_wakeup_cpu_st(&mut self) -> ULP_TASK_WAKEUP_CPU_ST_W<'_, TASK_ST3_SPEC> {
ULP_TASK_WAKEUP_CPU_ST_W::new(self, 22)
}
#[doc = "Bit 23 - Represents ULP_task_int_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn ulp_task_int_cpu_st(&mut self) -> ULP_TASK_INT_CPU_ST_W<'_, TASK_ST3_SPEC> {
ULP_TASK_INT_CPU_ST_W::new(self, 23)
}
#[doc = "Bit 24 - Represents RTC_task_start trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn rtc_task_start_st(&mut self) -> RTC_TASK_START_ST_W<'_, TASK_ST3_SPEC> {
RTC_TASK_START_ST_W::new(self, 24)
}
#[doc = "Bit 25 - Represents RTC_task_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn rtc_task_stop_st(&mut self) -> RTC_TASK_STOP_ST_W<'_, TASK_ST3_SPEC> {
RTC_TASK_STOP_ST_W::new(self, 25)
}
#[doc = "Bit 26 - Represents RTC_task_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn rtc_task_clr_st(&mut self) -> RTC_TASK_CLR_ST_W<'_, TASK_ST3_SPEC> {
RTC_TASK_CLR_ST_W::new(self, 26)
}
#[doc = "Bit 27 - Represents RTC_task_triggerflw trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn rtc_task_triggerflw_st(&mut self) -> RTC_TASK_TRIGGERFLW_ST_W<'_, TASK_ST3_SPEC> {
RTC_TASK_TRIGGERFLW_ST_W::new(self, 27)
}
#[doc = "Bit 28 - Represents GDMA_AHB_task_in_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn gdma_ahb_task_in_start_ch0_st(
&mut self,
) -> GDMA_AHB_TASK_IN_START_CH0_ST_W<'_, TASK_ST3_SPEC> {
GDMA_AHB_TASK_IN_START_CH0_ST_W::new(self, 28)
}
#[doc = "Bit 29 - Represents GDMA_AHB_task_in_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn gdma_ahb_task_in_start_ch1_st(
&mut self,
) -> GDMA_AHB_TASK_IN_START_CH1_ST_W<'_, TASK_ST3_SPEC> {
GDMA_AHB_TASK_IN_START_CH1_ST_W::new(self, 29)
}
#[doc = "Bit 30 - Represents GDMA_AHB_task_in_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn gdma_ahb_task_in_start_ch2_st(
&mut self,
) -> GDMA_AHB_TASK_IN_START_CH2_ST_W<'_, TASK_ST3_SPEC> {
GDMA_AHB_TASK_IN_START_CH2_ST_W::new(self, 30)
}
#[doc = "Bit 31 - Represents GDMA_AHB_task_out_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"]
#[inline(always)]
pub fn gdma_ahb_task_out_start_ch0_st(
&mut self,
) -> GDMA_AHB_TASK_OUT_START_CH0_ST_W<'_, TASK_ST3_SPEC> {
GDMA_AHB_TASK_OUT_START_CH0_ST_W::new(self, 31)
}
}
#[doc = "Tasks trigger status register\n\nYou can [`read`](crate::Reg::read) this register and get [`task_st3::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`task_st3::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct TASK_ST3_SPEC;
impl crate::RegisterSpec for TASK_ST3_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`task_st3::R`](R) reader structure"]
impl crate::Readable for TASK_ST3_SPEC {}
#[doc = "`write(|w| ..)` method takes [`task_st3::W`](W) writer structure"]
impl crate::Writable for TASK_ST3_SPEC {
type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets TASK_ST3 to value 0"]
impl crate::Resettable for TASK_ST3_SPEC {}