#[doc = "Reader of register EXTTRIG"] pub type R = crate::R; #[doc = "Writer for register EXTTRIG"] pub type W = crate::W; #[doc = "Register EXTTRIG `reset()`'s with value 0"] impl crate::ResetValue for super::EXTTRIG { type Type = u32; #[inline(always)] fn reset_value() -> Self::Type { 0 } } #[doc = "Channel 2 External Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum CH2TRIG_A { #[doc = "0: The generation of this external trigger is disabled."] _0 = 0, #[doc = "1: The generation of this external trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: CH2TRIG_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `CH2TRIG`"] pub type CH2TRIG_R = crate::R; impl CH2TRIG_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> CH2TRIG_A { match self.bits { false => CH2TRIG_A::_0, true => CH2TRIG_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == CH2TRIG_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == CH2TRIG_A::_1 } } #[doc = "Write proxy for field `CH2TRIG`"] pub struct CH2TRIG_W<'a> { w: &'a mut W, } impl<'a> CH2TRIG_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CH2TRIG_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of this external trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(CH2TRIG_A::_0) } #[doc = "The generation of this external trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(CH2TRIG_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !0x01) | ((value as u32) & 0x01); self.w } } #[doc = "Channel 3 External Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum CH3TRIG_A { #[doc = "0: The generation of this external trigger is disabled."] _0 = 0, #[doc = "1: The generation of this external trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: CH3TRIG_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `CH3TRIG`"] pub type CH3TRIG_R = crate::R; impl CH3TRIG_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> CH3TRIG_A { match self.bits { false => CH3TRIG_A::_0, true => CH3TRIG_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == CH3TRIG_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == CH3TRIG_A::_1 } } #[doc = "Write proxy for field `CH3TRIG`"] pub struct CH3TRIG_W<'a> { w: &'a mut W, } impl<'a> CH3TRIG_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CH3TRIG_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of this external trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(CH3TRIG_A::_0) } #[doc = "The generation of this external trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(CH3TRIG_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 1)) | (((value as u32) & 0x01) << 1); self.w } } #[doc = "Channel 4 External Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum CH4TRIG_A { #[doc = "0: The generation of this external trigger is disabled."] _0 = 0, #[doc = "1: The generation of this external trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: CH4TRIG_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `CH4TRIG`"] pub type CH4TRIG_R = crate::R; impl CH4TRIG_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> CH4TRIG_A { match self.bits { false => CH4TRIG_A::_0, true => CH4TRIG_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == CH4TRIG_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == CH4TRIG_A::_1 } } #[doc = "Write proxy for field `CH4TRIG`"] pub struct CH4TRIG_W<'a> { w: &'a mut W, } impl<'a> CH4TRIG_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CH4TRIG_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of this external trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(CH4TRIG_A::_0) } #[doc = "The generation of this external trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(CH4TRIG_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 2)) | (((value as u32) & 0x01) << 2); self.w } } #[doc = "Channel 5 External Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum CH5TRIG_A { #[doc = "0: The generation of this external trigger is disabled."] _0 = 0, #[doc = "1: The generation of this external trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: CH5TRIG_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `CH5TRIG`"] pub type CH5TRIG_R = crate::R; impl CH5TRIG_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> CH5TRIG_A { match self.bits { false => CH5TRIG_A::_0, true => CH5TRIG_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == CH5TRIG_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == CH5TRIG_A::_1 } } #[doc = "Write proxy for field `CH5TRIG`"] pub struct CH5TRIG_W<'a> { w: &'a mut W, } impl<'a> CH5TRIG_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CH5TRIG_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of this external trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(CH5TRIG_A::_0) } #[doc = "The generation of this external trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(CH5TRIG_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 3)) | (((value as u32) & 0x01) << 3); self.w } } #[doc = "Channel 0 External Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum CH0TRIG_A { #[doc = "0: The generation of this external trigger is disabled."] _0 = 0, #[doc = "1: The generation of this external trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: CH0TRIG_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `CH0TRIG`"] pub type CH0TRIG_R = crate::R; impl CH0TRIG_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> CH0TRIG_A { match self.bits { false => CH0TRIG_A::_0, true => CH0TRIG_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == CH0TRIG_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == CH0TRIG_A::_1 } } #[doc = "Write proxy for field `CH0TRIG`"] pub struct CH0TRIG_W<'a> { w: &'a mut W, } impl<'a> CH0TRIG_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CH0TRIG_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of this external trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(CH0TRIG_A::_0) } #[doc = "The generation of this external trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(CH0TRIG_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 4)) | (((value as u32) & 0x01) << 4); self.w } } #[doc = "Channel 1 External Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum CH1TRIG_A { #[doc = "0: The generation of this external trigger is disabled."] _0 = 0, #[doc = "1: The generation of this external trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: CH1TRIG_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `CH1TRIG`"] pub type CH1TRIG_R = crate::R; impl CH1TRIG_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> CH1TRIG_A { match self.bits { false => CH1TRIG_A::_0, true => CH1TRIG_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == CH1TRIG_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == CH1TRIG_A::_1 } } #[doc = "Write proxy for field `CH1TRIG`"] pub struct CH1TRIG_W<'a> { w: &'a mut W, } impl<'a> CH1TRIG_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CH1TRIG_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of this external trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(CH1TRIG_A::_0) } #[doc = "The generation of this external trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(CH1TRIG_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 5)) | (((value as u32) & 0x01) << 5); self.w } } #[doc = "Initialization Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum INITTRIGEN_A { #[doc = "0: The generation of initialization trigger is disabled."] _0 = 0, #[doc = "1: The generation of initialization trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: INITTRIGEN_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `INITTRIGEN`"] pub type INITTRIGEN_R = crate::R; impl INITTRIGEN_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> INITTRIGEN_A { match self.bits { false => INITTRIGEN_A::_0, true => INITTRIGEN_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == INITTRIGEN_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == INITTRIGEN_A::_1 } } #[doc = "Write proxy for field `INITTRIGEN`"] pub struct INITTRIGEN_W<'a> { w: &'a mut W, } impl<'a> INITTRIGEN_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: INITTRIGEN_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of initialization trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(INITTRIGEN_A::_0) } #[doc = "The generation of initialization trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(INITTRIGEN_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 6)) | (((value as u32) & 0x01) << 6); self.w } } #[doc = "Channel Trigger Flag\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum TRIGF_A { #[doc = "0: No channel trigger was generated."] _0 = 0, #[doc = "1: A channel trigger was generated."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: TRIGF_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `TRIGF`"] pub type TRIGF_R = crate::R; impl TRIGF_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> TRIGF_A { match self.bits { false => TRIGF_A::_0, true => TRIGF_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == TRIGF_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == TRIGF_A::_1 } } #[doc = "Channel 6 External Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum CH6TRIG_A { #[doc = "0: The generation of this external trigger is disabled."] _0 = 0, #[doc = "1: The generation of this external trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: CH6TRIG_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `CH6TRIG`"] pub type CH6TRIG_R = crate::R; impl CH6TRIG_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> CH6TRIG_A { match self.bits { false => CH6TRIG_A::_0, true => CH6TRIG_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == CH6TRIG_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == CH6TRIG_A::_1 } } #[doc = "Write proxy for field `CH6TRIG`"] pub struct CH6TRIG_W<'a> { w: &'a mut W, } impl<'a> CH6TRIG_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CH6TRIG_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of this external trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(CH6TRIG_A::_0) } #[doc = "The generation of this external trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(CH6TRIG_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 8)) | (((value as u32) & 0x01) << 8); self.w } } #[doc = "Channel 7 External Trigger Enable\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum CH7TRIG_A { #[doc = "0: The generation of this external trigger is disabled."] _0 = 0, #[doc = "1: The generation of this external trigger is enabled."] _1 = 1, } impl From for bool { #[inline(always)] fn from(variant: CH7TRIG_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `CH7TRIG`"] pub type CH7TRIG_R = crate::R; impl CH7TRIG_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> CH7TRIG_A { match self.bits { false => CH7TRIG_A::_0, true => CH7TRIG_A::_1, } } #[doc = "Checks if the value of the field is `_0`"] #[inline(always)] pub fn is_0(&self) -> bool { *self == CH7TRIG_A::_0 } #[doc = "Checks if the value of the field is `_1`"] #[inline(always)] pub fn is_1(&self) -> bool { *self == CH7TRIG_A::_1 } } #[doc = "Write proxy for field `CH7TRIG`"] pub struct CH7TRIG_W<'a> { w: &'a mut W, } impl<'a> CH7TRIG_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CH7TRIG_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "The generation of this external trigger is disabled."] #[inline(always)] pub fn _0(self) -> &'a mut W { self.variant(CH7TRIG_A::_0) } #[doc = "The generation of this external trigger is enabled."] #[inline(always)] pub fn _1(self) -> &'a mut W { self.variant(CH7TRIG_A::_1) } #[doc = r"Sets the field bit"] #[inline(always)] pub fn set_bit(self) -> &'a mut W { self.bit(true) } #[doc = r"Clears the field bit"] #[inline(always)] pub fn clear_bit(self) -> &'a mut W { self.bit(false) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 9)) | (((value as u32) & 0x01) << 9); self.w } } impl R { #[doc = "Bit 0 - Channel 2 External Trigger Enable"] #[inline(always)] pub fn ch2trig(&self) -> CH2TRIG_R { CH2TRIG_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Channel 3 External Trigger Enable"] #[inline(always)] pub fn ch3trig(&self) -> CH3TRIG_R { CH3TRIG_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Channel 4 External Trigger Enable"] #[inline(always)] pub fn ch4trig(&self) -> CH4TRIG_R { CH4TRIG_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Channel 5 External Trigger Enable"] #[inline(always)] pub fn ch5trig(&self) -> CH5TRIG_R { CH5TRIG_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - Channel 0 External Trigger Enable"] #[inline(always)] pub fn ch0trig(&self) -> CH0TRIG_R { CH0TRIG_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - Channel 1 External Trigger Enable"] #[inline(always)] pub fn ch1trig(&self) -> CH1TRIG_R { CH1TRIG_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - Initialization Trigger Enable"] #[inline(always)] pub fn inittrigen(&self) -> INITTRIGEN_R { INITTRIGEN_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 7 - Channel Trigger Flag"] #[inline(always)] pub fn trigf(&self) -> TRIGF_R { TRIGF_R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bit 8 - Channel 6 External Trigger Enable"] #[inline(always)] pub fn ch6trig(&self) -> CH6TRIG_R { CH6TRIG_R::new(((self.bits >> 8) & 0x01) != 0) } #[doc = "Bit 9 - Channel 7 External Trigger Enable"] #[inline(always)] pub fn ch7trig(&self) -> CH7TRIG_R { CH7TRIG_R::new(((self.bits >> 9) & 0x01) != 0) } } impl W { #[doc = "Bit 0 - Channel 2 External Trigger Enable"] #[inline(always)] pub fn ch2trig(&mut self) -> CH2TRIG_W { CH2TRIG_W { w: self } } #[doc = "Bit 1 - Channel 3 External Trigger Enable"] #[inline(always)] pub fn ch3trig(&mut self) -> CH3TRIG_W { CH3TRIG_W { w: self } } #[doc = "Bit 2 - Channel 4 External Trigger Enable"] #[inline(always)] pub fn ch4trig(&mut self) -> CH4TRIG_W { CH4TRIG_W { w: self } } #[doc = "Bit 3 - Channel 5 External Trigger Enable"] #[inline(always)] pub fn ch5trig(&mut self) -> CH5TRIG_W { CH5TRIG_W { w: self } } #[doc = "Bit 4 - Channel 0 External Trigger Enable"] #[inline(always)] pub fn ch0trig(&mut self) -> CH0TRIG_W { CH0TRIG_W { w: self } } #[doc = "Bit 5 - Channel 1 External Trigger Enable"] #[inline(always)] pub fn ch1trig(&mut self) -> CH1TRIG_W { CH1TRIG_W { w: self } } #[doc = "Bit 6 - Initialization Trigger Enable"] #[inline(always)] pub fn inittrigen(&mut self) -> INITTRIGEN_W { INITTRIGEN_W { w: self } } #[doc = "Bit 8 - Channel 6 External Trigger Enable"] #[inline(always)] pub fn ch6trig(&mut self) -> CH6TRIG_W { CH6TRIG_W { w: self } } #[doc = "Bit 9 - Channel 7 External Trigger Enable"] #[inline(always)] pub fn ch7trig(&mut self) -> CH7TRIG_W { CH7TRIG_W { w: self } } }