pub type R = crate::R<CRCDATARrs>;
pub type W = crate::W<CRCDATARrs>;
pub type CRC_DATA_R = crate::FieldReader<u32>;
pub type CRC_DATA_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn crc_data(&self) -> CRC_DATA_R {
CRC_DATA_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CRCDATAR").field("crc_data", &self.crc_data()).finish()
}
}
impl W {
#[inline(always)]
pub fn crc_data(&mut self) -> CRC_DATA_W<CRCDATARrs> {
CRC_DATA_W::new(self, 0)
}
}
pub struct CRCDATARrs;
impl crate::RegisterSpec for CRCDATARrs {
type Ux = u32;
}
impl crate::Readable for CRCDATARrs {}
impl crate::Writable for CRCDATARrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CRCDATARrs {}