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