s32k118.rs/src/scg/verid.rs
Sean Cross 96cd7368a2 s32k118: rewrite everything for s32k118
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-07 18:24:29 +08:00

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)
}
}