///Register `HR4` reader
pub type R = crate::R<HR4rs>;
///Field `H4` reader - Hash data x Refer to Section 24.7.4: HASH digest registers introduction.
pub type H4_R = crate::FieldReader<u32>;
impl R {
    ///Bits 0:31 - Hash data x Refer to Section 24.7.4: HASH digest registers introduction.
    #[inline(always)]
    pub fn h4(&self) -> H4_R {
        H4_R::new(self.bits)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HR4").field("h4", &self.h4()).finish()
    }
}
/**HASH digest register 4

You can [`read`](crate::Reg::read) this register and get [`hr4::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct HR4rs;
impl crate::RegisterSpec for HR4rs {
    type Ux = u32;
}
///`read()` method returns [`hr4::R`](R) reader structure
impl crate::Readable for HR4rs {}
///`reset()` method sets HR4 to value 0
impl crate::Resettable for HR4rs {
    const RESET_VALUE: u32 = 0;
}
