pub type R = crate::R<PSMKRrs>;
pub type W = crate::W<PSMKRrs>;
pub type MASK_R = crate::FieldReader<u32>;
pub type MASK_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32, crate::Safe>;
impl R {
#[inline(always)]
pub fn mask(&self) -> MASK_R {
MASK_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("PSMKR").field("mask", &self.mask()).finish()
}
}
impl W {
#[inline(always)]
pub fn mask(&mut self) -> MASK_W<PSMKRrs> {
MASK_W::new(self, 0)
}
}
pub struct PSMKRrs;
impl crate::RegisterSpec for PSMKRrs {
type Ux = u32;
}
impl crate::Readable for PSMKRrs {}
impl crate::Writable for PSMKRrs {
type Safety = crate::Safe;
}
impl crate::Resettable for PSMKRrs {}