pub type R = crate::R<CRCDATAR_rs>;
pub type W = crate::W<CRCDATAR_rs>;
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<CRCDATAR_rs> {
CRC_DATA_W::new(self, 0)
}
}
pub struct CRCDATAR_rs;
impl crate::RegisterSpec for CRCDATAR_rs {
type Ux = u32;
}
impl crate::Readable for CRCDATAR_rs {}
impl crate::Writable for CRCDATAR_rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CRCDATAR_rs {}