pub type R = crate::R<HWCFGR1rs>;
pub type NBSEM_R = crate::FieldReader;
pub type NBINT_R = crate::FieldReader;
impl R {
        #[inline(always)]
    pub fn nbsem(&self) -> NBSEM_R {
        NBSEM_R::new((self.bits & 0xff) as u8)
    }
        #[inline(always)]
    pub fn nbint(&self) -> NBINT_R {
        NBINT_R::new(((self.bits >> 8) & 0x0f) as u8)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HWCFGR1")
            .field("nbint", &self.nbint())
            .field("nbsem", &self.nbsem())
            .finish()
    }
}
pub struct HWCFGR1rs;
impl crate::RegisterSpec for HWCFGR1rs {
    type Ux = u32;
}
impl crate::Readable for HWCFGR1rs {}
impl crate::Resettable for HWCFGR1rs {
    const RESET_VALUE: u32 = 0x0220;
}