#[doc = "Reader of register IMR"]
pub type R = crate::R<u32, super::IMR>;
#[doc = "Writer for register IMR"]
pub type W = crate::W<u32, super::IMR>;
#[doc = "Register IMR `reset()`'s with value 0xff84_0000"]
impl crate::ResetValue for super::IMR {
type Type = u32;
#[inline(always)]
fn reset_value() -> Self::Type {
0xff84_0000
}
}
#[doc = "Interrupt Mask on line 0\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum IM0_A {
#[doc = "0: Interrupt request line is masked"]
MASKED = 0,
#[doc = "1: Interrupt request line is unmasked"]
UNMASKED = 1,
}
impl From<IM0_A> for bool {
#[inline(always)]
fn from(variant: IM0_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Reader of field `IM0`"]
pub type IM0_R = crate::R<bool, IM0_A>;
impl IM0_R {
#[doc = r"Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> IM0_A {
match self.bits {
false => IM0_A::MASKED,
true => IM0_A::UNMASKED,
}
}
#[doc = "Checks if the value of the field is `MASKED`"]
#[inline(always)]
pub fn is_masked(&self) -> bool {
*self == IM0_A::MASKED
}
#[doc = "Checks if the value of the field is `UNMASKED`"]
#[inline(always)]
pub fn is_unmasked(&self) -> bool {
*self == IM0_A::UNMASKED
}
}
#[doc = "Write proxy for field `IM0`"]
pub struct IM0_W<'a> {
w: &'a mut W,
}
impl<'a> IM0_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM0_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 1"]
pub type IM1_A = IM0_A;
#[doc = "Reader of field `IM1`"]
pub type IM1_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM1`"]
pub struct IM1_W<'a> {
w: &'a mut W,
}
impl<'a> IM1_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM1_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 2"]
pub type IM2_A = IM0_A;
#[doc = "Reader of field `IM2`"]
pub type IM2_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM2`"]
pub struct IM2_W<'a> {
w: &'a mut W,
}
impl<'a> IM2_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM2_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 3"]
pub type IM3_A = IM0_A;
#[doc = "Reader of field `IM3`"]
pub type IM3_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM3`"]
pub struct IM3_W<'a> {
w: &'a mut W,
}
impl<'a> IM3_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM3_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 4"]
pub type IM4_A = IM0_A;
#[doc = "Reader of field `IM4`"]
pub type IM4_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM4`"]
pub struct IM4_W<'a> {
w: &'a mut W,
}
impl<'a> IM4_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM4_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 5"]
pub type IM5_A = IM0_A;
#[doc = "Reader of field `IM5`"]
pub type IM5_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM5`"]
pub struct IM5_W<'a> {
w: &'a mut W,
}
impl<'a> IM5_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM5_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 6"]
pub type IM6_A = IM0_A;
#[doc = "Reader of field `IM6`"]
pub type IM6_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM6`"]
pub struct IM6_W<'a> {
w: &'a mut W,
}
impl<'a> IM6_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM6_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 7"]
pub type IM7_A = IM0_A;
#[doc = "Reader of field `IM7`"]
pub type IM7_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM7`"]
pub struct IM7_W<'a> {
w: &'a mut W,
}
impl<'a> IM7_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM7_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 8"]
pub type IM8_A = IM0_A;
#[doc = "Reader of field `IM8`"]
pub type IM8_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM8`"]
pub struct IM8_W<'a> {
w: &'a mut W,
}
impl<'a> IM8_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM8_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 9"]
pub type IM9_A = IM0_A;
#[doc = "Reader of field `IM9`"]
pub type IM9_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM9`"]
pub struct IM9_W<'a> {
w: &'a mut W,
}
impl<'a> IM9_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM9_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 10"]
pub type IM10_A = IM0_A;
#[doc = "Reader of field `IM10`"]
pub type IM10_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM10`"]
pub struct IM10_W<'a> {
w: &'a mut W,
}
impl<'a> IM10_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM10_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 11"]
pub type IM11_A = IM0_A;
#[doc = "Reader of field `IM11`"]
pub type IM11_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM11`"]
pub struct IM11_W<'a> {
w: &'a mut W,
}
impl<'a> IM11_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM11_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 12"]
pub type IM12_A = IM0_A;
#[doc = "Reader of field `IM12`"]
pub type IM12_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM12`"]
pub struct IM12_W<'a> {
w: &'a mut W,
}
impl<'a> IM12_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM12_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 13"]
pub type IM13_A = IM0_A;
#[doc = "Reader of field `IM13`"]
pub type IM13_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM13`"]
pub struct IM13_W<'a> {
w: &'a mut W,
}
impl<'a> IM13_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM13_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 14"]
pub type IM14_A = IM0_A;
#[doc = "Reader of field `IM14`"]
pub type IM14_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM14`"]
pub struct IM14_W<'a> {
w: &'a mut W,
}
impl<'a> IM14_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM14_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 15"]
pub type IM15_A = IM0_A;
#[doc = "Reader of field `IM15`"]
pub type IM15_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM15`"]
pub struct IM15_W<'a> {
w: &'a mut W,
}
impl<'a> IM15_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM15_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 16"]
pub type IM16_A = IM0_A;
#[doc = "Reader of field `IM16`"]
pub type IM16_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM16`"]
pub struct IM16_W<'a> {
w: &'a mut W,
}
impl<'a> IM16_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM16_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 17"]
pub type IM17_A = IM0_A;
#[doc = "Reader of field `IM17`"]
pub type IM17_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM17`"]
pub struct IM17_W<'a> {
w: &'a mut W,
}
impl<'a> IM17_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM17_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 18"]
pub type IM18_A = IM0_A;
#[doc = "Reader of field `IM18`"]
pub type IM18_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM18`"]
pub struct IM18_W<'a> {
w: &'a mut W,
}
impl<'a> IM18_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM18_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 19"]
pub type IM19_A = IM0_A;
#[doc = "Reader of field `IM19`"]
pub type IM19_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM19`"]
pub struct IM19_W<'a> {
w: &'a mut W,
}
impl<'a> IM19_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM19_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 20"]
pub type IM20_A = IM0_A;
#[doc = "Reader of field `IM20`"]
pub type IM20_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM20`"]
pub struct IM20_W<'a> {
w: &'a mut W,
}
impl<'a> IM20_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM20_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 21"]
pub type IM21_A = IM0_A;
#[doc = "Reader of field `IM21`"]
pub type IM21_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM21`"]
pub struct IM21_W<'a> {
w: &'a mut W,
}
impl<'a> IM21_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM21_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 22"]
pub type IM22_A = IM0_A;
#[doc = "Reader of field `IM22`"]
pub type IM22_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM22`"]
pub struct IM22_W<'a> {
w: &'a mut W,
}
impl<'a> IM22_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM22_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 23"]
pub type IM23_A = IM0_A;
#[doc = "Reader of field `IM23`"]
pub type IM23_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM23`"]
pub struct IM23_W<'a> {
w: &'a mut W,
}
impl<'a> IM23_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM23_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 24"]
pub type IM24_A = IM0_A;
#[doc = "Reader of field `IM24`"]
pub type IM24_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM24`"]
pub struct IM24_W<'a> {
w: &'a mut W,
}
impl<'a> IM24_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM24_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 25"]
pub type IM25_A = IM0_A;
#[doc = "Reader of field `IM25`"]
pub type IM25_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM25`"]
pub struct IM25_W<'a> {
w: &'a mut W,
}
impl<'a> IM25_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM25_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 27"]
pub type IM26_A = IM0_A;
#[doc = "Reader of field `IM26`"]
pub type IM26_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM26`"]
pub struct IM26_W<'a> {
w: &'a mut W,
}
impl<'a> IM26_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM26_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 27"]
pub type IM28_A = IM0_A;
#[doc = "Reader of field `IM28`"]
pub type IM28_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM28`"]
pub struct IM28_W<'a> {
w: &'a mut W,
}
impl<'a> IM28_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM28_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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 = "Interrupt Mask on line 27"]
pub type IM29_A = IM0_A;
#[doc = "Reader of field `IM29`"]
pub type IM29_R = crate::R<bool, IM0_A>;
#[doc = "Write proxy for field `IM29`"]
pub struct IM29_W<'a> {
w: &'a mut W,
}
impl<'a> IM29_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: IM29_A) -> &'a mut W {
{
self.bit(variant.into())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(IM0_A::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(IM0_A::UNMASKED)
}
#[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
}
}
impl R {
#[doc = "Bit 0 - Interrupt Mask on line 0"]
#[inline(always)]
pub fn im0(&self) -> IM0_R {
IM0_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 1 - Interrupt Mask on line 1"]
#[inline(always)]
pub fn im1(&self) -> IM1_R {
IM1_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 2 - Interrupt Mask on line 2"]
#[inline(always)]
pub fn im2(&self) -> IM2_R {
IM2_R::new(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 3 - Interrupt Mask on line 3"]
#[inline(always)]
pub fn im3(&self) -> IM3_R {
IM3_R::new(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 4 - Interrupt Mask on line 4"]
#[inline(always)]
pub fn im4(&self) -> IM4_R {
IM4_R::new(((self.bits >> 4) & 0x01) != 0)
}
#[doc = "Bit 5 - Interrupt Mask on line 5"]
#[inline(always)]
pub fn im5(&self) -> IM5_R {
IM5_R::new(((self.bits >> 5) & 0x01) != 0)
}
#[doc = "Bit 6 - Interrupt Mask on line 6"]
#[inline(always)]
pub fn im6(&self) -> IM6_R {
IM6_R::new(((self.bits >> 6) & 0x01) != 0)
}
#[doc = "Bit 7 - Interrupt Mask on line 7"]
#[inline(always)]
pub fn im7(&self) -> IM7_R {
IM7_R::new(((self.bits >> 7) & 0x01) != 0)
}
#[doc = "Bit 8 - Interrupt Mask on line 8"]
#[inline(always)]
pub fn im8(&self) -> IM8_R {
IM8_R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 9 - Interrupt Mask on line 9"]
#[inline(always)]
pub fn im9(&self) -> IM9_R {
IM9_R::new(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 10 - Interrupt Mask on line 10"]
#[inline(always)]
pub fn im10(&self) -> IM10_R {
IM10_R::new(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 11 - Interrupt Mask on line 11"]
#[inline(always)]
pub fn im11(&self) -> IM11_R {
IM11_R::new(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 12 - Interrupt Mask on line 12"]
#[inline(always)]
pub fn im12(&self) -> IM12_R {
IM12_R::new(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 13 - Interrupt Mask on line 13"]
#[inline(always)]
pub fn im13(&self) -> IM13_R {
IM13_R::new(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 14 - Interrupt Mask on line 14"]
#[inline(always)]
pub fn im14(&self) -> IM14_R {
IM14_R::new(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 15 - Interrupt Mask on line 15"]
#[inline(always)]
pub fn im15(&self) -> IM15_R {
IM15_R::new(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 16 - Interrupt Mask on line 16"]
#[inline(always)]
pub fn im16(&self) -> IM16_R {
IM16_R::new(((self.bits >> 16) & 0x01) != 0)
}
#[doc = "Bit 17 - Interrupt Mask on line 17"]
#[inline(always)]
pub fn im17(&self) -> IM17_R {
IM17_R::new(((self.bits >> 17) & 0x01) != 0)
}
#[doc = "Bit 18 - Interrupt Mask on line 18"]
#[inline(always)]
pub fn im18(&self) -> IM18_R {
IM18_R::new(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 19 - Interrupt Mask on line 19"]
#[inline(always)]
pub fn im19(&self) -> IM19_R {
IM19_R::new(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 20 - Interrupt Mask on line 20"]
#[inline(always)]
pub fn im20(&self) -> IM20_R {
IM20_R::new(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 21 - Interrupt Mask on line 21"]
#[inline(always)]
pub fn im21(&self) -> IM21_R {
IM21_R::new(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 22 - Interrupt Mask on line 22"]
#[inline(always)]
pub fn im22(&self) -> IM22_R {
IM22_R::new(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 23 - Interrupt Mask on line 23"]
#[inline(always)]
pub fn im23(&self) -> IM23_R {
IM23_R::new(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 24 - Interrupt Mask on line 24"]
#[inline(always)]
pub fn im24(&self) -> IM24_R {
IM24_R::new(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 25 - Interrupt Mask on line 25"]
#[inline(always)]
pub fn im25(&self) -> IM25_R {
IM25_R::new(((self.bits >> 25) & 0x01) != 0)
}
#[doc = "Bit 26 - Interrupt Mask on line 27"]
#[inline(always)]
pub fn im26(&self) -> IM26_R {
IM26_R::new(((self.bits >> 26) & 0x01) != 0)
}
#[doc = "Bit 28 - Interrupt Mask on line 27"]
#[inline(always)]
pub fn im28(&self) -> IM28_R {
IM28_R::new(((self.bits >> 28) & 0x01) != 0)
}
#[doc = "Bit 29 - Interrupt Mask on line 27"]
#[inline(always)]
pub fn im29(&self) -> IM29_R {
IM29_R::new(((self.bits >> 29) & 0x01) != 0)
}
}
impl W {
#[doc = "Bit 0 - Interrupt Mask on line 0"]
#[inline(always)]
pub fn im0(&mut self) -> IM0_W {
IM0_W { w: self }
}
#[doc = "Bit 1 - Interrupt Mask on line 1"]
#[inline(always)]
pub fn im1(&mut self) -> IM1_W {
IM1_W { w: self }
}
#[doc = "Bit 2 - Interrupt Mask on line 2"]
#[inline(always)]
pub fn im2(&mut self) -> IM2_W {
IM2_W { w: self }
}
#[doc = "Bit 3 - Interrupt Mask on line 3"]
#[inline(always)]
pub fn im3(&mut self) -> IM3_W {
IM3_W { w: self }
}
#[doc = "Bit 4 - Interrupt Mask on line 4"]
#[inline(always)]
pub fn im4(&mut self) -> IM4_W {
IM4_W { w: self }
}
#[doc = "Bit 5 - Interrupt Mask on line 5"]
#[inline(always)]
pub fn im5(&mut self) -> IM5_W {
IM5_W { w: self }
}
#[doc = "Bit 6 - Interrupt Mask on line 6"]
#[inline(always)]
pub fn im6(&mut self) -> IM6_W {
IM6_W { w: self }
}
#[doc = "Bit 7 - Interrupt Mask on line 7"]
#[inline(always)]
pub fn im7(&mut self) -> IM7_W {
IM7_W { w: self }
}
#[doc = "Bit 8 - Interrupt Mask on line 8"]
#[inline(always)]
pub fn im8(&mut self) -> IM8_W {
IM8_W { w: self }
}
#[doc = "Bit 9 - Interrupt Mask on line 9"]
#[inline(always)]
pub fn im9(&mut self) -> IM9_W {
IM9_W { w: self }
}
#[doc = "Bit 10 - Interrupt Mask on line 10"]
#[inline(always)]
pub fn im10(&mut self) -> IM10_W {
IM10_W { w: self }
}
#[doc = "Bit 11 - Interrupt Mask on line 11"]
#[inline(always)]
pub fn im11(&mut self) -> IM11_W {
IM11_W { w: self }
}
#[doc = "Bit 12 - Interrupt Mask on line 12"]
#[inline(always)]
pub fn im12(&mut self) -> IM12_W {
IM12_W { w: self }
}
#[doc = "Bit 13 - Interrupt Mask on line 13"]
#[inline(always)]
pub fn im13(&mut self) -> IM13_W {
IM13_W { w: self }
}
#[doc = "Bit 14 - Interrupt Mask on line 14"]
#[inline(always)]
pub fn im14(&mut self) -> IM14_W {
IM14_W { w: self }
}
#[doc = "Bit 15 - Interrupt Mask on line 15"]
#[inline(always)]
pub fn im15(&mut self) -> IM15_W {
IM15_W { w: self }
}
#[doc = "Bit 16 - Interrupt Mask on line 16"]
#[inline(always)]
pub fn im16(&mut self) -> IM16_W {
IM16_W { w: self }
}
#[doc = "Bit 17 - Interrupt Mask on line 17"]
#[inline(always)]
pub fn im17(&mut self) -> IM17_W {
IM17_W { w: self }
}
#[doc = "Bit 18 - Interrupt Mask on line 18"]
#[inline(always)]
pub fn im18(&mut self) -> IM18_W {
IM18_W { w: self }
}
#[doc = "Bit 19 - Interrupt Mask on line 19"]
#[inline(always)]
pub fn im19(&mut self) -> IM19_W {
IM19_W { w: self }
}
#[doc = "Bit 20 - Interrupt Mask on line 20"]
#[inline(always)]
pub fn im20(&mut self) -> IM20_W {
IM20_W { w: self }
}
#[doc = "Bit 21 - Interrupt Mask on line 21"]
#[inline(always)]
pub fn im21(&mut self) -> IM21_W {
IM21_W { w: self }
}
#[doc = "Bit 22 - Interrupt Mask on line 22"]
#[inline(always)]
pub fn im22(&mut self) -> IM22_W {
IM22_W { w: self }
}
#[doc = "Bit 23 - Interrupt Mask on line 23"]
#[inline(always)]
pub fn im23(&mut self) -> IM23_W {
IM23_W { w: self }
}
#[doc = "Bit 24 - Interrupt Mask on line 24"]
#[inline(always)]
pub fn im24(&mut self) -> IM24_W {
IM24_W { w: self }
}
#[doc = "Bit 25 - Interrupt Mask on line 25"]
#[inline(always)]
pub fn im25(&mut self) -> IM25_W {
IM25_W { w: self }
}
#[doc = "Bit 26 - Interrupt Mask on line 27"]
#[inline(always)]
pub fn im26(&mut self) -> IM26_W {
IM26_W { w: self }
}
#[doc = "Bit 28 - Interrupt Mask on line 27"]
#[inline(always)]
pub fn im28(&mut self) -> IM28_W {
IM28_W { w: self }
}
#[doc = "Bit 29 - Interrupt Mask on line 27"]
#[inline(always)]
pub fn im29(&mut self) -> IM29_W {
IM29_W { w: self }
}
}