s32k118.rs/src/scg/verid.rs

12 lines
350 B
Rust

#[doc = "Reader of register VERID"]
pub type R = crate::R<u32, super::VERID>;
#[doc = "Reader of field `VERSION`"]
pub type VERSION_R = crate::R<u32, u32>;
impl R {
#[doc = "Bits 0:31 - SCG Version Number"]
#[inline(always)]
pub fn version(&self) -> VERSION_R {
VERSION_R::new((self.bits & 0xffff_ffff) as u32)
}
}