s32k118.rs/src/ftfc/fopt.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
316 B
Rust

#[doc = "Reader of register FOPT"]
pub type R = crate::R<u8, super::FOPT>;
#[doc = "Reader of field `OPT`"]
pub type OPT_R = crate::R<u8, u8>;
impl R {
#[doc = "Bits 0:7 - Nonvolatile Option"]
#[inline(always)]
pub fn opt(&self) -> OPT_R {
OPT_R::new((self.bits & 0xff) as u8)
}
}