#[doc = "Register `CMDMASK` reader"]
pub type R = crate::R<CmdmaskSpec>;
#[doc = "Register `CMDMASK` writer"]
pub type W = crate::W<CmdmaskSpec>;
#[doc = "Field `SDMASK` reader - Segments Data Mask"]
pub type SdmaskR = crate::FieldReader<u32>;
#[doc = "Field `SDMASK` writer - Segments Data Mask"]
pub type SdmaskW<'a, REG> = crate::FieldWriter<'a, REG, 24, u32>;
impl R {
    #[doc = "Bits 0:23 - Segments Data Mask"]
    #[inline(always)]
    pub fn sdmask(&self) -> SdmaskR {
        SdmaskR::new(self.bits & 0x00ff_ffff)
    }
}
impl W {
    #[doc = "Bits 0:23 - Segments Data Mask"]
    #[inline(always)]
    pub fn sdmask(&mut self) -> SdmaskW<CmdmaskSpec> {
        SdmaskW::new(self, 0)
    }
}
#[doc = "Character Mapping Segments Data Mask\n\nYou can [`read`](crate::Reg::read) this register and get [`cmdmask::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cmdmask::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct CmdmaskSpec;
impl crate::RegisterSpec for CmdmaskSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`cmdmask::R`](R) reader structure"]
impl crate::Readable for CmdmaskSpec {}
#[doc = "`write(|w| ..)` method takes [`cmdmask::W`](W) writer structure"]
impl crate::Writable for CmdmaskSpec {
    type Safety = crate::Unsafe;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets CMDMASK to value 0"]
impl crate::Resettable for CmdmaskSpec {
    const RESET_VALUE: u32 = 0;
}
