pub type R = crate::R<CIDR2rs>;
pub type PREAMBLE_R = crate::FieldReader;
impl R {
#[inline(always)]
pub fn preamble(&self) -> PREAMBLE_R {
PREAMBLE_R::new((self.bits & 0xff) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CIDR2").field("preamble", &self.preamble()).finish()
}
}
pub struct CIDR2rs;
impl crate::RegisterSpec for CIDR2rs {
type Ux = u32;
}
impl crate::Readable for CIDR2rs {}
impl crate::Resettable for CIDR2rs {
const RESET_VALUE: u32 = 0x05;
}