#[doc = "Reader of register IER"]
pub type R = crate::R<u32, super::IER>;
#[doc = "Writer for register IER"]
pub type W = crate::W<u32, super::IER>;
#[doc = "Register IER `reset()`'s with value 0"]
impl crate::ResetValue for super::IER {
type Type = u32;
#[inline(always)]
fn reset_value() -> Self::Type {
0
}
}
#[doc = "Reader of field `ISEM0`"]
pub type ISEM0_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM0`"]
pub struct ISEM0_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM0_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 = "Reader of field `ISEM1`"]
pub type ISEM1_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM1`"]
pub struct ISEM1_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM1_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 = "Reader of field `ISEM2`"]
pub type ISEM2_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM2`"]
pub struct ISEM2_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM2_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 = "Reader of field `ISEM3`"]
pub type ISEM3_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM3`"]
pub struct ISEM3_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM3_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 = "Reader of field `ISEM4`"]
pub type ISEM4_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM4`"]
pub struct ISEM4_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM4_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 = "Reader of field `ISEM5`"]
pub type ISEM5_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM5`"]
pub struct ISEM5_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM5_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 = "Reader of field `ISEM6`"]
pub type ISEM6_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM6`"]
pub struct ISEM6_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM6_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 = "Reader of field `ISEM7`"]
pub type ISEM7_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM7`"]
pub struct ISEM7_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM7_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 = "Reader of field `ISEM8`"]
pub type ISEM8_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM8`"]
pub struct ISEM8_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM8_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 = "Reader of field `ISEM9`"]
pub type ISEM9_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM9`"]
pub struct ISEM9_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM9_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 = "Reader of field `ISEM10`"]
pub type ISEM10_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM10`"]
pub struct ISEM10_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM10_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 = "Reader of field `ISEM11`"]
pub type ISEM11_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM11`"]
pub struct ISEM11_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM11_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 = "Reader of field `ISEM12`"]
pub type ISEM12_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM12`"]
pub struct ISEM12_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM12_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 = "Reader of field `ISEM13`"]
pub type ISEM13_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM13`"]
pub struct ISEM13_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM13_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 = "Reader of field `ISEM14`"]
pub type ISEM14_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM14`"]
pub struct ISEM14_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM14_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 = "Reader of field `ISEM15`"]
pub type ISEM15_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM15`"]
pub struct ISEM15_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM15_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 = "Reader of field `ISEM16`"]
pub type ISEM16_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM16`"]
pub struct ISEM16_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM16_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 = "Reader of field `ISEM17`"]
pub type ISEM17_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM17`"]
pub struct ISEM17_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM17_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 = "Reader of field `ISEM18`"]
pub type ISEM18_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM18`"]
pub struct ISEM18_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM18_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 = "Reader of field `ISEM19`"]
pub type ISEM19_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM19`"]
pub struct ISEM19_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM19_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 = "Reader of field `ISEM20`"]
pub type ISEM20_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM20`"]
pub struct ISEM20_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM20_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 = "Reader of field `ISEM21`"]
pub type ISEM21_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM21`"]
pub struct ISEM21_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM21_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 = "Reader of field `ISEM22`"]
pub type ISEM22_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM22`"]
pub struct ISEM22_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM22_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 = "Reader of field `ISEM23`"]
pub type ISEM23_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM23`"]
pub struct ISEM23_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM23_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 = "Reader of field `ISEM24`"]
pub type ISEM24_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM24`"]
pub struct ISEM24_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM24_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 = "Reader of field `ISEM25`"]
pub type ISEM25_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM25`"]
pub struct ISEM25_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM25_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 = "Reader of field `ISEM26`"]
pub type ISEM26_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM26`"]
pub struct ISEM26_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM26_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 = "Reader of field `ISEM27`"]
pub type ISEM27_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM27`"]
pub struct ISEM27_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM27_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 = "Reader of field `ISEM28`"]
pub type ISEM28_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM28`"]
pub struct ISEM28_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM28_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 = "Reader of field `ISEM29`"]
pub type ISEM29_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM29`"]
pub struct ISEM29_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM29_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 = "Reader of field `ISEM30`"]
pub type ISEM30_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM30`"]
pub struct ISEM30_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM30_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 = "Reader of field `ISEM31`"]
pub type ISEM31_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `ISEM31`"]
pub struct ISEM31_W<'a> {
w: &'a mut W,
}
impl<'a> ISEM31_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 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem0(&self) -> ISEM0_R {
ISEM0_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 1 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem1(&self) -> ISEM1_R {
ISEM1_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 2 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem2(&self) -> ISEM2_R {
ISEM2_R::new(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 3 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem3(&self) -> ISEM3_R {
ISEM3_R::new(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 4 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem4(&self) -> ISEM4_R {
ISEM4_R::new(((self.bits >> 4) & 0x01) != 0)
}
#[doc = "Bit 5 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem5(&self) -> ISEM5_R {
ISEM5_R::new(((self.bits >> 5) & 0x01) != 0)
}
#[doc = "Bit 6 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem6(&self) -> ISEM6_R {
ISEM6_R::new(((self.bits >> 6) & 0x01) != 0)
}
#[doc = "Bit 7 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem7(&self) -> ISEM7_R {
ISEM7_R::new(((self.bits >> 7) & 0x01) != 0)
}
#[doc = "Bit 8 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem8(&self) -> ISEM8_R {
ISEM8_R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 9 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem9(&self) -> ISEM9_R {
ISEM9_R::new(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 10 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem10(&self) -> ISEM10_R {
ISEM10_R::new(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 11 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem11(&self) -> ISEM11_R {
ISEM11_R::new(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 12 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem12(&self) -> ISEM12_R {
ISEM12_R::new(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 13 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem13(&self) -> ISEM13_R {
ISEM13_R::new(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 14 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem14(&self) -> ISEM14_R {
ISEM14_R::new(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 15 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem15(&self) -> ISEM15_R {
ISEM15_R::new(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 16 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem16(&self) -> ISEM16_R {
ISEM16_R::new(((self.bits >> 16) & 0x01) != 0)
}
#[doc = "Bit 17 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem17(&self) -> ISEM17_R {
ISEM17_R::new(((self.bits >> 17) & 0x01) != 0)
}
#[doc = "Bit 18 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem18(&self) -> ISEM18_R {
ISEM18_R::new(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 19 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem19(&self) -> ISEM19_R {
ISEM19_R::new(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 20 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem20(&self) -> ISEM20_R {
ISEM20_R::new(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 21 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem21(&self) -> ISEM21_R {
ISEM21_R::new(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 22 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem22(&self) -> ISEM22_R {
ISEM22_R::new(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 23 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem23(&self) -> ISEM23_R {
ISEM23_R::new(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 24 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem24(&self) -> ISEM24_R {
ISEM24_R::new(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 25 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem25(&self) -> ISEM25_R {
ISEM25_R::new(((self.bits >> 25) & 0x01) != 0)
}
#[doc = "Bit 26 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem26(&self) -> ISEM26_R {
ISEM26_R::new(((self.bits >> 26) & 0x01) != 0)
}
#[doc = "Bit 27 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem27(&self) -> ISEM27_R {
ISEM27_R::new(((self.bits >> 27) & 0x01) != 0)
}
#[doc = "Bit 28 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem28(&self) -> ISEM28_R {
ISEM28_R::new(((self.bits >> 28) & 0x01) != 0)
}
#[doc = "Bit 29 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem29(&self) -> ISEM29_R {
ISEM29_R::new(((self.bits >> 29) & 0x01) != 0)
}
#[doc = "Bit 30 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem30(&self) -> ISEM30_R {
ISEM30_R::new(((self.bits >> 30) & 0x01) != 0)
}
#[doc = "Bit 31 - Interrupt(N) semaphore n enable bit."]
#[inline(always)]
pub fn isem31(&self) -> ISEM31_R {
ISEM31_R::new(((self.bits >> 31) & 0x01) != 0)
}
}
impl W {
#[doc = "Bit 0 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem0(&mut self) -> ISEM0_W {
ISEM0_W { w: self }
}
#[doc = "Bit 1 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem1(&mut self) -> ISEM1_W {
ISEM1_W { w: self }
}
#[doc = "Bit 2 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem2(&mut self) -> ISEM2_W {
ISEM2_W { w: self }
}
#[doc = "Bit 3 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem3(&mut self) -> ISEM3_W {
ISEM3_W { w: self }
}
#[doc = "Bit 4 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem4(&mut self) -> ISEM4_W {
ISEM4_W { w: self }
}
#[doc = "Bit 5 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem5(&mut self) -> ISEM5_W {
ISEM5_W { w: self }
}
#[doc = "Bit 6 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem6(&mut self) -> ISEM6_W {
ISEM6_W { w: self }
}
#[doc = "Bit 7 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem7(&mut self) -> ISEM7_W {
ISEM7_W { w: self }
}
#[doc = "Bit 8 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem8(&mut self) -> ISEM8_W {
ISEM8_W { w: self }
}
#[doc = "Bit 9 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem9(&mut self) -> ISEM9_W {
ISEM9_W { w: self }
}
#[doc = "Bit 10 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem10(&mut self) -> ISEM10_W {
ISEM10_W { w: self }
}
#[doc = "Bit 11 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem11(&mut self) -> ISEM11_W {
ISEM11_W { w: self }
}
#[doc = "Bit 12 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem12(&mut self) -> ISEM12_W {
ISEM12_W { w: self }
}
#[doc = "Bit 13 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem13(&mut self) -> ISEM13_W {
ISEM13_W { w: self }
}
#[doc = "Bit 14 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem14(&mut self) -> ISEM14_W {
ISEM14_W { w: self }
}
#[doc = "Bit 15 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem15(&mut self) -> ISEM15_W {
ISEM15_W { w: self }
}
#[doc = "Bit 16 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem16(&mut self) -> ISEM16_W {
ISEM16_W { w: self }
}
#[doc = "Bit 17 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem17(&mut self) -> ISEM17_W {
ISEM17_W { w: self }
}
#[doc = "Bit 18 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem18(&mut self) -> ISEM18_W {
ISEM18_W { w: self }
}
#[doc = "Bit 19 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem19(&mut self) -> ISEM19_W {
ISEM19_W { w: self }
}
#[doc = "Bit 20 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem20(&mut self) -> ISEM20_W {
ISEM20_W { w: self }
}
#[doc = "Bit 21 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem21(&mut self) -> ISEM21_W {
ISEM21_W { w: self }
}
#[doc = "Bit 22 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem22(&mut self) -> ISEM22_W {
ISEM22_W { w: self }
}
#[doc = "Bit 23 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem23(&mut self) -> ISEM23_W {
ISEM23_W { w: self }
}
#[doc = "Bit 24 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem24(&mut self) -> ISEM24_W {
ISEM24_W { w: self }
}
#[doc = "Bit 25 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem25(&mut self) -> ISEM25_W {
ISEM25_W { w: self }
}
#[doc = "Bit 26 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem26(&mut self) -> ISEM26_W {
ISEM26_W { w: self }
}
#[doc = "Bit 27 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem27(&mut self) -> ISEM27_W {
ISEM27_W { w: self }
}
#[doc = "Bit 28 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem28(&mut self) -> ISEM28_W {
ISEM28_W { w: self }
}
#[doc = "Bit 29 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem29(&mut self) -> ISEM29_W {
ISEM29_W { w: self }
}
#[doc = "Bit 30 - Interrupt semaphore n enable bit"]
#[inline(always)]
pub fn isem30(&mut self) -> ISEM30_W {
ISEM30_W { w: self }
}
#[doc = "Bit 31 - Interrupt(N) semaphore n enable bit."]
#[inline(always)]
pub fn isem31(&mut self) -> ISEM31_W {
ISEM31_W { w: self }
}
}