pub type R = crate::R<COMP_ID_3rs>;
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("COMP_ID_3").field("preamble", &self.preamble()).finish()
}
}
pub struct COMP_ID_3rs;
impl crate::RegisterSpec for COMP_ID_3rs {
type Ux = u32;
}
impl crate::Readable for COMP_ID_3rs {}
impl crate::Resettable for COMP_ID_3rs {
const RESET_VALUE: u32 = 0x04;
}