pub type R = crate::R<FREEZErs>;
pub type W = crate::W<FREEZErs>;
pub type RegfreezeR = crate::BitReader;
pub type RegfreezeW<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn regfreeze(&self) -> RegfreezeR {
RegfreezeR::new((self.bits & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("FREEZE")
.field("regfreeze", &self.regfreeze())
.finish()
}
}
impl W {
#[inline(always)]
pub fn regfreeze(&mut self) -> RegfreezeW<'_, FREEZErs> {
RegfreezeW::new(self, 0)
}
}
pub struct FREEZErs;
impl crate::RegisterSpec for FREEZErs {
type Ux = u32;
}
impl crate::Readable for FREEZErs {}
impl crate::Writable for FREEZErs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for FREEZErs {}