s32k118.rs/src/erm/ear0.rs

12 lines
313 B
Rust

#[doc = "Reader of register EAR0"]
pub type R = crate::R<u32, super::EAR0>;
#[doc = "Reader of field `EAR`"]
pub type EAR_R = crate::R<u32, u32>;
impl R {
#[doc = "Bits 0:31 - EAR"]
#[inline(always)]
pub fn ear(&self) -> EAR_R {
EAR_R::new((self.bits & 0xffff_ffff) as u32)
}
}