s32k118.rs/src/aips/pacrc.rs

19 lines
370 B
Rust
Raw Normal View History

#[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
impl super::PACRC {
#[doc = r" Reads the contents of the register"]
#[inline]
pub fn read(&self) -> R {
2019-01-16 14:39:25 +00:00
R { bits: self.register.get() }
}
}
impl R {
#[doc = r" Value of the register as raw bits"]
#[inline]
pub fn bits(&self) -> u32 {
self.bits
}
}