pub type R = crate::R<PWRCRrs>;
pub type W = crate::W<PWRCRrs>;
pub type ODEN_R = crate::BitReader;
pub type ODEN_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn oden(&self) -> ODEN_R {
ODEN_R::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("PWRCR").field("oden", &self.oden()).finish()
}
}
impl W {
#[inline(always)]
pub fn oden(&mut self) -> ODEN_W<PWRCRrs> {
ODEN_W::new(self, 0)
}
}
pub struct PWRCRrs;
impl crate::RegisterSpec for PWRCRrs {
type Ux = u32;
}
impl crate::Readable for PWRCRrs {}
impl crate::Writable for PWRCRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for PWRCRrs {}