#[doc = "Register `TXBCIE` reader"] pub struct R(crate::R); impl core::ops::Deref for R { type Target = crate::R; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } impl From> for R { #[inline(always)] fn from(reader: crate::R) -> Self { R(reader) } } #[doc = "Register `TXBCIE` writer"] pub struct W(crate::W); impl core::ops::Deref for W { type Target = crate::W; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } impl core::ops::DerefMut for W { #[inline(always)] fn deref_mut(&mut self) -> &mut Self::Target { &mut self.0 } } impl From> for W { #[inline(always)] fn from(writer: crate::W) -> Self { W(writer) } } #[doc = "Field `CFIE0` reader - Cancellation Finished Interrupt Enable 0"] pub struct CFIE0_R(crate::FieldReader); impl CFIE0_R { pub(crate) fn new(bits: bool) -> Self { CFIE0_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE0_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE0` writer - Cancellation Finished Interrupt Enable 0"] pub struct CFIE0_W<'a> { w: &'a mut W, } impl<'a> CFIE0_W<'a> { #[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 = "Field `CFIE1` reader - Cancellation Finished Interrupt Enable 1"] pub struct CFIE1_R(crate::FieldReader); impl CFIE1_R { pub(crate) fn new(bits: bool) -> Self { CFIE1_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE1_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE1` writer - Cancellation Finished Interrupt Enable 1"] pub struct CFIE1_W<'a> { w: &'a mut W, } impl<'a> CFIE1_W<'a> { #[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 = "Field `CFIE2` reader - Cancellation Finished Interrupt Enable 2"] pub struct CFIE2_R(crate::FieldReader); impl CFIE2_R { pub(crate) fn new(bits: bool) -> Self { CFIE2_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE2_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE2` writer - Cancellation Finished Interrupt Enable 2"] pub struct CFIE2_W<'a> { w: &'a mut W, } impl<'a> CFIE2_W<'a> { #[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 = "Field `CFIE3` reader - Cancellation Finished Interrupt Enable 3"] pub struct CFIE3_R(crate::FieldReader); impl CFIE3_R { pub(crate) fn new(bits: bool) -> Self { CFIE3_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE3_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE3` writer - Cancellation Finished Interrupt Enable 3"] pub struct CFIE3_W<'a> { w: &'a mut W, } impl<'a> CFIE3_W<'a> { #[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 = "Field `CFIE4` reader - Cancellation Finished Interrupt Enable 4"] pub struct CFIE4_R(crate::FieldReader); impl CFIE4_R { pub(crate) fn new(bits: bool) -> Self { CFIE4_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE4_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE4` writer - Cancellation Finished Interrupt Enable 4"] pub struct CFIE4_W<'a> { w: &'a mut W, } impl<'a> CFIE4_W<'a> { #[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 = "Field `CFIE5` reader - Cancellation Finished Interrupt Enable 5"] pub struct CFIE5_R(crate::FieldReader); impl CFIE5_R { pub(crate) fn new(bits: bool) -> Self { CFIE5_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE5_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE5` writer - Cancellation Finished Interrupt Enable 5"] pub struct CFIE5_W<'a> { w: &'a mut W, } impl<'a> CFIE5_W<'a> { #[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 = "Field `CFIE6` reader - Cancellation Finished Interrupt Enable 6"] pub struct CFIE6_R(crate::FieldReader); impl CFIE6_R { pub(crate) fn new(bits: bool) -> Self { CFIE6_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE6_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE6` writer - Cancellation Finished Interrupt Enable 6"] pub struct CFIE6_W<'a> { w: &'a mut W, } impl<'a> CFIE6_W<'a> { #[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 = "Field `CFIE7` reader - Cancellation Finished Interrupt Enable 7"] pub struct CFIE7_R(crate::FieldReader); impl CFIE7_R { pub(crate) fn new(bits: bool) -> Self { CFIE7_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE7_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE7` writer - Cancellation Finished Interrupt Enable 7"] pub struct CFIE7_W<'a> { w: &'a mut W, } impl<'a> CFIE7_W<'a> { #[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 << 7)) | ((value as u32 & 0x01) << 7); self.w } } #[doc = "Field `CFIE8` reader - Cancellation Finished Interrupt Enable 8"] pub struct CFIE8_R(crate::FieldReader); impl CFIE8_R { pub(crate) fn new(bits: bool) -> Self { CFIE8_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE8_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE8` writer - Cancellation Finished Interrupt Enable 8"] pub struct CFIE8_W<'a> { w: &'a mut W, } impl<'a> CFIE8_W<'a> { #[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 = "Field `CFIE9` reader - Cancellation Finished Interrupt Enable 9"] pub struct CFIE9_R(crate::FieldReader); impl CFIE9_R { pub(crate) fn new(bits: bool) -> Self { CFIE9_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE9_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE9` writer - Cancellation Finished Interrupt Enable 9"] pub struct CFIE9_W<'a> { w: &'a mut W, } impl<'a> CFIE9_W<'a> { #[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 } } #[doc = "Field `CFIE10` reader - Cancellation Finished Interrupt Enable 10"] pub struct CFIE10_R(crate::FieldReader); impl CFIE10_R { pub(crate) fn new(bits: bool) -> Self { CFIE10_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE10_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE10` writer - Cancellation Finished Interrupt Enable 10"] pub struct CFIE10_W<'a> { w: &'a mut W, } impl<'a> CFIE10_W<'a> { #[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 << 10)) | ((value as u32 & 0x01) << 10); self.w } } #[doc = "Field `CFIE11` reader - Cancellation Finished Interrupt Enable 11"] pub struct CFIE11_R(crate::FieldReader); impl CFIE11_R { pub(crate) fn new(bits: bool) -> Self { CFIE11_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE11_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE11` writer - Cancellation Finished Interrupt Enable 11"] pub struct CFIE11_W<'a> { w: &'a mut W, } impl<'a> CFIE11_W<'a> { #[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 << 11)) | ((value as u32 & 0x01) << 11); self.w } } #[doc = "Field `CFIE12` reader - Cancellation Finished Interrupt Enable 12"] pub struct CFIE12_R(crate::FieldReader); impl CFIE12_R { pub(crate) fn new(bits: bool) -> Self { CFIE12_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE12_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE12` writer - Cancellation Finished Interrupt Enable 12"] pub struct CFIE12_W<'a> { w: &'a mut W, } impl<'a> CFIE12_W<'a> { #[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 << 12)) | ((value as u32 & 0x01) << 12); self.w } } #[doc = "Field `CFIE13` reader - Cancellation Finished Interrupt Enable 13"] pub struct CFIE13_R(crate::FieldReader); impl CFIE13_R { pub(crate) fn new(bits: bool) -> Self { CFIE13_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE13_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE13` writer - Cancellation Finished Interrupt Enable 13"] pub struct CFIE13_W<'a> { w: &'a mut W, } impl<'a> CFIE13_W<'a> { #[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 << 13)) | ((value as u32 & 0x01) << 13); self.w } } #[doc = "Field `CFIE14` reader - Cancellation Finished Interrupt Enable 14"] pub struct CFIE14_R(crate::FieldReader); impl CFIE14_R { pub(crate) fn new(bits: bool) -> Self { CFIE14_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE14_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE14` writer - Cancellation Finished Interrupt Enable 14"] pub struct CFIE14_W<'a> { w: &'a mut W, } impl<'a> CFIE14_W<'a> { #[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 << 14)) | ((value as u32 & 0x01) << 14); self.w } } #[doc = "Field `CFIE15` reader - Cancellation Finished Interrupt Enable 15"] pub struct CFIE15_R(crate::FieldReader); impl CFIE15_R { pub(crate) fn new(bits: bool) -> Self { CFIE15_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE15_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE15` writer - Cancellation Finished Interrupt Enable 15"] pub struct CFIE15_W<'a> { w: &'a mut W, } impl<'a> CFIE15_W<'a> { #[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 << 15)) | ((value as u32 & 0x01) << 15); self.w } } #[doc = "Field `CFIE16` reader - Cancellation Finished Interrupt Enable 16"] pub struct CFIE16_R(crate::FieldReader); impl CFIE16_R { pub(crate) fn new(bits: bool) -> Self { CFIE16_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE16_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE16` writer - Cancellation Finished Interrupt Enable 16"] pub struct CFIE16_W<'a> { w: &'a mut W, } impl<'a> CFIE16_W<'a> { #[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 << 16)) | ((value as u32 & 0x01) << 16); self.w } } #[doc = "Field `CFIE17` reader - Cancellation Finished Interrupt Enable 17"] pub struct CFIE17_R(crate::FieldReader); impl CFIE17_R { pub(crate) fn new(bits: bool) -> Self { CFIE17_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE17_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE17` writer - Cancellation Finished Interrupt Enable 17"] pub struct CFIE17_W<'a> { w: &'a mut W, } impl<'a> CFIE17_W<'a> { #[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 << 17)) | ((value as u32 & 0x01) << 17); self.w } } #[doc = "Field `CFIE18` reader - Cancellation Finished Interrupt Enable 18"] pub struct CFIE18_R(crate::FieldReader); impl CFIE18_R { pub(crate) fn new(bits: bool) -> Self { CFIE18_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE18_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE18` writer - Cancellation Finished Interrupt Enable 18"] pub struct CFIE18_W<'a> { w: &'a mut W, } impl<'a> CFIE18_W<'a> { #[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 << 18)) | ((value as u32 & 0x01) << 18); self.w } } #[doc = "Field `CFIE19` reader - Cancellation Finished Interrupt Enable 19"] pub struct CFIE19_R(crate::FieldReader); impl CFIE19_R { pub(crate) fn new(bits: bool) -> Self { CFIE19_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE19_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE19` writer - Cancellation Finished Interrupt Enable 19"] pub struct CFIE19_W<'a> { w: &'a mut W, } impl<'a> CFIE19_W<'a> { #[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 << 19)) | ((value as u32 & 0x01) << 19); self.w } } #[doc = "Field `CFIE20` reader - Cancellation Finished Interrupt Enable 20"] pub struct CFIE20_R(crate::FieldReader); impl CFIE20_R { pub(crate) fn new(bits: bool) -> Self { CFIE20_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE20_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE20` writer - Cancellation Finished Interrupt Enable 20"] pub struct CFIE20_W<'a> { w: &'a mut W, } impl<'a> CFIE20_W<'a> { #[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 << 20)) | ((value as u32 & 0x01) << 20); self.w } } #[doc = "Field `CFIE21` reader - Cancellation Finished Interrupt Enable 21"] pub struct CFIE21_R(crate::FieldReader); impl CFIE21_R { pub(crate) fn new(bits: bool) -> Self { CFIE21_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE21_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE21` writer - Cancellation Finished Interrupt Enable 21"] pub struct CFIE21_W<'a> { w: &'a mut W, } impl<'a> CFIE21_W<'a> { #[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 << 21)) | ((value as u32 & 0x01) << 21); self.w } } #[doc = "Field `CFIE22` reader - Cancellation Finished Interrupt Enable 22"] pub struct CFIE22_R(crate::FieldReader); impl CFIE22_R { pub(crate) fn new(bits: bool) -> Self { CFIE22_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE22_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE22` writer - Cancellation Finished Interrupt Enable 22"] pub struct CFIE22_W<'a> { w: &'a mut W, } impl<'a> CFIE22_W<'a> { #[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 << 22)) | ((value as u32 & 0x01) << 22); self.w } } #[doc = "Field `CFIE23` reader - Cancellation Finished Interrupt Enable 23"] pub struct CFIE23_R(crate::FieldReader); impl CFIE23_R { pub(crate) fn new(bits: bool) -> Self { CFIE23_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE23_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE23` writer - Cancellation Finished Interrupt Enable 23"] pub struct CFIE23_W<'a> { w: &'a mut W, } impl<'a> CFIE23_W<'a> { #[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 << 23)) | ((value as u32 & 0x01) << 23); self.w } } #[doc = "Field `CFIE24` reader - Cancellation Finished Interrupt Enable 24"] pub struct CFIE24_R(crate::FieldReader); impl CFIE24_R { pub(crate) fn new(bits: bool) -> Self { CFIE24_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE24_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE24` writer - Cancellation Finished Interrupt Enable 24"] pub struct CFIE24_W<'a> { w: &'a mut W, } impl<'a> CFIE24_W<'a> { #[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 << 24)) | ((value as u32 & 0x01) << 24); self.w } } #[doc = "Field `CFIE25` reader - Cancellation Finished Interrupt Enable 25"] pub struct CFIE25_R(crate::FieldReader); impl CFIE25_R { pub(crate) fn new(bits: bool) -> Self { CFIE25_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE25_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE25` writer - Cancellation Finished Interrupt Enable 25"] pub struct CFIE25_W<'a> { w: &'a mut W, } impl<'a> CFIE25_W<'a> { #[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 << 25)) | ((value as u32 & 0x01) << 25); self.w } } #[doc = "Field `CFIE26` reader - Cancellation Finished Interrupt Enable 26"] pub struct CFIE26_R(crate::FieldReader); impl CFIE26_R { pub(crate) fn new(bits: bool) -> Self { CFIE26_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE26_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE26` writer - Cancellation Finished Interrupt Enable 26"] pub struct CFIE26_W<'a> { w: &'a mut W, } impl<'a> CFIE26_W<'a> { #[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 << 26)) | ((value as u32 & 0x01) << 26); self.w } } #[doc = "Field `CFIE27` reader - Cancellation Finished Interrupt Enable 27"] pub struct CFIE27_R(crate::FieldReader); impl CFIE27_R { pub(crate) fn new(bits: bool) -> Self { CFIE27_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE27_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE27` writer - Cancellation Finished Interrupt Enable 27"] pub struct CFIE27_W<'a> { w: &'a mut W, } impl<'a> CFIE27_W<'a> { #[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 << 27)) | ((value as u32 & 0x01) << 27); self.w } } #[doc = "Field `CFIE28` reader - Cancellation Finished Interrupt Enable 28"] pub struct CFIE28_R(crate::FieldReader); impl CFIE28_R { pub(crate) fn new(bits: bool) -> Self { CFIE28_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE28_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE28` writer - Cancellation Finished Interrupt Enable 28"] pub struct CFIE28_W<'a> { w: &'a mut W, } impl<'a> CFIE28_W<'a> { #[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 << 28)) | ((value as u32 & 0x01) << 28); self.w } } #[doc = "Field `CFIE29` reader - Cancellation Finished Interrupt Enable 29"] pub struct CFIE29_R(crate::FieldReader); impl CFIE29_R { pub(crate) fn new(bits: bool) -> Self { CFIE29_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE29_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE29` writer - Cancellation Finished Interrupt Enable 29"] pub struct CFIE29_W<'a> { w: &'a mut W, } impl<'a> CFIE29_W<'a> { #[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 << 29)) | ((value as u32 & 0x01) << 29); self.w } } #[doc = "Field `CFIE30` reader - Cancellation Finished Interrupt Enable 30"] pub struct CFIE30_R(crate::FieldReader); impl CFIE30_R { pub(crate) fn new(bits: bool) -> Self { CFIE30_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE30_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE30` writer - Cancellation Finished Interrupt Enable 30"] pub struct CFIE30_W<'a> { w: &'a mut W, } impl<'a> CFIE30_W<'a> { #[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 << 30)) | ((value as u32 & 0x01) << 30); self.w } } #[doc = "Field `CFIE31` reader - Cancellation Finished Interrupt Enable 31"] pub struct CFIE31_R(crate::FieldReader); impl CFIE31_R { pub(crate) fn new(bits: bool) -> Self { CFIE31_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for CFIE31_R { type Target = crate::FieldReader; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `CFIE31` writer - Cancellation Finished Interrupt Enable 31"] pub struct CFIE31_W<'a> { w: &'a mut W, } impl<'a> CFIE31_W<'a> { #[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 << 31)) | ((value as u32 & 0x01) << 31); self.w } } impl R { #[doc = "Bit 0 - Cancellation Finished Interrupt Enable 0"] #[inline(always)] pub fn cfie0(&self) -> CFIE0_R { CFIE0_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Cancellation Finished Interrupt Enable 1"] #[inline(always)] pub fn cfie1(&self) -> CFIE1_R { CFIE1_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Cancellation Finished Interrupt Enable 2"] #[inline(always)] pub fn cfie2(&self) -> CFIE2_R { CFIE2_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Cancellation Finished Interrupt Enable 3"] #[inline(always)] pub fn cfie3(&self) -> CFIE3_R { CFIE3_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - Cancellation Finished Interrupt Enable 4"] #[inline(always)] pub fn cfie4(&self) -> CFIE4_R { CFIE4_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - Cancellation Finished Interrupt Enable 5"] #[inline(always)] pub fn cfie5(&self) -> CFIE5_R { CFIE5_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - Cancellation Finished Interrupt Enable 6"] #[inline(always)] pub fn cfie6(&self) -> CFIE6_R { CFIE6_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 7 - Cancellation Finished Interrupt Enable 7"] #[inline(always)] pub fn cfie7(&self) -> CFIE7_R { CFIE7_R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bit 8 - Cancellation Finished Interrupt Enable 8"] #[inline(always)] pub fn cfie8(&self) -> CFIE8_R { CFIE8_R::new(((self.bits >> 8) & 0x01) != 0) } #[doc = "Bit 9 - Cancellation Finished Interrupt Enable 9"] #[inline(always)] pub fn cfie9(&self) -> CFIE9_R { CFIE9_R::new(((self.bits >> 9) & 0x01) != 0) } #[doc = "Bit 10 - Cancellation Finished Interrupt Enable 10"] #[inline(always)] pub fn cfie10(&self) -> CFIE10_R { CFIE10_R::new(((self.bits >> 10) & 0x01) != 0) } #[doc = "Bit 11 - Cancellation Finished Interrupt Enable 11"] #[inline(always)] pub fn cfie11(&self) -> CFIE11_R { CFIE11_R::new(((self.bits >> 11) & 0x01) != 0) } #[doc = "Bit 12 - Cancellation Finished Interrupt Enable 12"] #[inline(always)] pub fn cfie12(&self) -> CFIE12_R { CFIE12_R::new(((self.bits >> 12) & 0x01) != 0) } #[doc = "Bit 13 - Cancellation Finished Interrupt Enable 13"] #[inline(always)] pub fn cfie13(&self) -> CFIE13_R { CFIE13_R::new(((self.bits >> 13) & 0x01) != 0) } #[doc = "Bit 14 - Cancellation Finished Interrupt Enable 14"] #[inline(always)] pub fn cfie14(&self) -> CFIE14_R { CFIE14_R::new(((self.bits >> 14) & 0x01) != 0) } #[doc = "Bit 15 - Cancellation Finished Interrupt Enable 15"] #[inline(always)] pub fn cfie15(&self) -> CFIE15_R { CFIE15_R::new(((self.bits >> 15) & 0x01) != 0) } #[doc = "Bit 16 - Cancellation Finished Interrupt Enable 16"] #[inline(always)] pub fn cfie16(&self) -> CFIE16_R { CFIE16_R::new(((self.bits >> 16) & 0x01) != 0) } #[doc = "Bit 17 - Cancellation Finished Interrupt Enable 17"] #[inline(always)] pub fn cfie17(&self) -> CFIE17_R { CFIE17_R::new(((self.bits >> 17) & 0x01) != 0) } #[doc = "Bit 18 - Cancellation Finished Interrupt Enable 18"] #[inline(always)] pub fn cfie18(&self) -> CFIE18_R { CFIE18_R::new(((self.bits >> 18) & 0x01) != 0) } #[doc = "Bit 19 - Cancellation Finished Interrupt Enable 19"] #[inline(always)] pub fn cfie19(&self) -> CFIE19_R { CFIE19_R::new(((self.bits >> 19) & 0x01) != 0) } #[doc = "Bit 20 - Cancellation Finished Interrupt Enable 20"] #[inline(always)] pub fn cfie20(&self) -> CFIE20_R { CFIE20_R::new(((self.bits >> 20) & 0x01) != 0) } #[doc = "Bit 21 - Cancellation Finished Interrupt Enable 21"] #[inline(always)] pub fn cfie21(&self) -> CFIE21_R { CFIE21_R::new(((self.bits >> 21) & 0x01) != 0) } #[doc = "Bit 22 - Cancellation Finished Interrupt Enable 22"] #[inline(always)] pub fn cfie22(&self) -> CFIE22_R { CFIE22_R::new(((self.bits >> 22) & 0x01) != 0) } #[doc = "Bit 23 - Cancellation Finished Interrupt Enable 23"] #[inline(always)] pub fn cfie23(&self) -> CFIE23_R { CFIE23_R::new(((self.bits >> 23) & 0x01) != 0) } #[doc = "Bit 24 - Cancellation Finished Interrupt Enable 24"] #[inline(always)] pub fn cfie24(&self) -> CFIE24_R { CFIE24_R::new(((self.bits >> 24) & 0x01) != 0) } #[doc = "Bit 25 - Cancellation Finished Interrupt Enable 25"] #[inline(always)] pub fn cfie25(&self) -> CFIE25_R { CFIE25_R::new(((self.bits >> 25) & 0x01) != 0) } #[doc = "Bit 26 - Cancellation Finished Interrupt Enable 26"] #[inline(always)] pub fn cfie26(&self) -> CFIE26_R { CFIE26_R::new(((self.bits >> 26) & 0x01) != 0) } #[doc = "Bit 27 - Cancellation Finished Interrupt Enable 27"] #[inline(always)] pub fn cfie27(&self) -> CFIE27_R { CFIE27_R::new(((self.bits >> 27) & 0x01) != 0) } #[doc = "Bit 28 - Cancellation Finished Interrupt Enable 28"] #[inline(always)] pub fn cfie28(&self) -> CFIE28_R { CFIE28_R::new(((self.bits >> 28) & 0x01) != 0) } #[doc = "Bit 29 - Cancellation Finished Interrupt Enable 29"] #[inline(always)] pub fn cfie29(&self) -> CFIE29_R { CFIE29_R::new(((self.bits >> 29) & 0x01) != 0) } #[doc = "Bit 30 - Cancellation Finished Interrupt Enable 30"] #[inline(always)] pub fn cfie30(&self) -> CFIE30_R { CFIE30_R::new(((self.bits >> 30) & 0x01) != 0) } #[doc = "Bit 31 - Cancellation Finished Interrupt Enable 31"] #[inline(always)] pub fn cfie31(&self) -> CFIE31_R { CFIE31_R::new(((self.bits >> 31) & 0x01) != 0) } } impl W { #[doc = "Bit 0 - Cancellation Finished Interrupt Enable 0"] #[inline(always)] pub fn cfie0(&mut self) -> CFIE0_W { CFIE0_W { w: self } } #[doc = "Bit 1 - Cancellation Finished Interrupt Enable 1"] #[inline(always)] pub fn cfie1(&mut self) -> CFIE1_W { CFIE1_W { w: self } } #[doc = "Bit 2 - Cancellation Finished Interrupt Enable 2"] #[inline(always)] pub fn cfie2(&mut self) -> CFIE2_W { CFIE2_W { w: self } } #[doc = "Bit 3 - Cancellation Finished Interrupt Enable 3"] #[inline(always)] pub fn cfie3(&mut self) -> CFIE3_W { CFIE3_W { w: self } } #[doc = "Bit 4 - Cancellation Finished Interrupt Enable 4"] #[inline(always)] pub fn cfie4(&mut self) -> CFIE4_W { CFIE4_W { w: self } } #[doc = "Bit 5 - Cancellation Finished Interrupt Enable 5"] #[inline(always)] pub fn cfie5(&mut self) -> CFIE5_W { CFIE5_W { w: self } } #[doc = "Bit 6 - Cancellation Finished Interrupt Enable 6"] #[inline(always)] pub fn cfie6(&mut self) -> CFIE6_W { CFIE6_W { w: self } } #[doc = "Bit 7 - Cancellation Finished Interrupt Enable 7"] #[inline(always)] pub fn cfie7(&mut self) -> CFIE7_W { CFIE7_W { w: self } } #[doc = "Bit 8 - Cancellation Finished Interrupt Enable 8"] #[inline(always)] pub fn cfie8(&mut self) -> CFIE8_W { CFIE8_W { w: self } } #[doc = "Bit 9 - Cancellation Finished Interrupt Enable 9"] #[inline(always)] pub fn cfie9(&mut self) -> CFIE9_W { CFIE9_W { w: self } } #[doc = "Bit 10 - Cancellation Finished Interrupt Enable 10"] #[inline(always)] pub fn cfie10(&mut self) -> CFIE10_W { CFIE10_W { w: self } } #[doc = "Bit 11 - Cancellation Finished Interrupt Enable 11"] #[inline(always)] pub fn cfie11(&mut self) -> CFIE11_W { CFIE11_W { w: self } } #[doc = "Bit 12 - Cancellation Finished Interrupt Enable 12"] #[inline(always)] pub fn cfie12(&mut self) -> CFIE12_W { CFIE12_W { w: self } } #[doc = "Bit 13 - Cancellation Finished Interrupt Enable 13"] #[inline(always)] pub fn cfie13(&mut self) -> CFIE13_W { CFIE13_W { w: self } } #[doc = "Bit 14 - Cancellation Finished Interrupt Enable 14"] #[inline(always)] pub fn cfie14(&mut self) -> CFIE14_W { CFIE14_W { w: self } } #[doc = "Bit 15 - Cancellation Finished Interrupt Enable 15"] #[inline(always)] pub fn cfie15(&mut self) -> CFIE15_W { CFIE15_W { w: self } } #[doc = "Bit 16 - Cancellation Finished Interrupt Enable 16"] #[inline(always)] pub fn cfie16(&mut self) -> CFIE16_W { CFIE16_W { w: self } } #[doc = "Bit 17 - Cancellation Finished Interrupt Enable 17"] #[inline(always)] pub fn cfie17(&mut self) -> CFIE17_W { CFIE17_W { w: self } } #[doc = "Bit 18 - Cancellation Finished Interrupt Enable 18"] #[inline(always)] pub fn cfie18(&mut self) -> CFIE18_W { CFIE18_W { w: self } } #[doc = "Bit 19 - Cancellation Finished Interrupt Enable 19"] #[inline(always)] pub fn cfie19(&mut self) -> CFIE19_W { CFIE19_W { w: self } } #[doc = "Bit 20 - Cancellation Finished Interrupt Enable 20"] #[inline(always)] pub fn cfie20(&mut self) -> CFIE20_W { CFIE20_W { w: self } } #[doc = "Bit 21 - Cancellation Finished Interrupt Enable 21"] #[inline(always)] pub fn cfie21(&mut self) -> CFIE21_W { CFIE21_W { w: self } } #[doc = "Bit 22 - Cancellation Finished Interrupt Enable 22"] #[inline(always)] pub fn cfie22(&mut self) -> CFIE22_W { CFIE22_W { w: self } } #[doc = "Bit 23 - Cancellation Finished Interrupt Enable 23"] #[inline(always)] pub fn cfie23(&mut self) -> CFIE23_W { CFIE23_W { w: self } } #[doc = "Bit 24 - Cancellation Finished Interrupt Enable 24"] #[inline(always)] pub fn cfie24(&mut self) -> CFIE24_W { CFIE24_W { w: self } } #[doc = "Bit 25 - Cancellation Finished Interrupt Enable 25"] #[inline(always)] pub fn cfie25(&mut self) -> CFIE25_W { CFIE25_W { w: self } } #[doc = "Bit 26 - Cancellation Finished Interrupt Enable 26"] #[inline(always)] pub fn cfie26(&mut self) -> CFIE26_W { CFIE26_W { w: self } } #[doc = "Bit 27 - Cancellation Finished Interrupt Enable 27"] #[inline(always)] pub fn cfie27(&mut self) -> CFIE27_W { CFIE27_W { w: self } } #[doc = "Bit 28 - Cancellation Finished Interrupt Enable 28"] #[inline(always)] pub fn cfie28(&mut self) -> CFIE28_W { CFIE28_W { w: self } } #[doc = "Bit 29 - Cancellation Finished Interrupt Enable 29"] #[inline(always)] pub fn cfie29(&mut self) -> CFIE29_W { CFIE29_W { w: self } } #[doc = "Bit 30 - Cancellation Finished Interrupt Enable 30"] #[inline(always)] pub fn cfie30(&mut self) -> CFIE30_W { CFIE30_W { w: self } } #[doc = "Bit 31 - Cancellation Finished Interrupt Enable 31"] #[inline(always)] pub fn cfie31(&mut self) -> CFIE31_W { CFIE31_W { w: self } } #[doc = "Writes raw bits to the register."] #[inline(always)] pub unsafe fn bits(&mut self, bits: u32) -> &mut Self { self.0.bits(bits); self } } #[doc = "Tx Buffer Cancellation Finished Interrupt Enable\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [txbcie](index.html) module"] pub struct TXBCIE_SPEC; impl crate::RegisterSpec for TXBCIE_SPEC { type Ux = u32; } #[doc = "`read()` method returns [txbcie::R](R) reader structure"] impl crate::Readable for TXBCIE_SPEC { type Reader = R; } #[doc = "`write(|w| ..)` method takes [txbcie::W](W) writer structure"] impl crate::Writable for TXBCIE_SPEC { type Writer = W; } #[doc = "`reset()` method sets TXBCIE to value 0"] impl crate::Resettable for TXBCIE_SPEC { #[inline(always)] fn reset_value() -> Self::Ux { 0 } }