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