pub type R = crate::R<HWCFGR3rs>;
pub type ODR_RES_R = crate::FieldReader<u16>;
pub type OTYPER_RES_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn odr_res(&self) -> ODR_RES_R {
ODR_RES_R::new((self.bits & 0xffff) as u16)
}
#[inline(always)]
pub fn otyper_res(&self) -> OTYPER_RES_R {
OTYPER_RES_R::new(((self.bits >> 16) & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("HWCFGR3")
.field("odr_res", &self.odr_res())
.field("otyper_res", &self.otyper_res())
.finish()
}
}
pub struct HWCFGR3rs;
impl crate::RegisterSpec for HWCFGR3rs {
type Ux = u32;
}
impl crate::Readable for HWCFGR3rs {}
impl crate::Resettable for HWCFGR3rs {}