s32k118.rs/src/mscm/cp0master.rs

12 lines
348 B
Rust

#[doc = "Reader of register CP0MASTER"]
pub type R = crate::R<u32, super::CP0MASTER>;
#[doc = "Reader of field `PPMN`"]
pub type PPMN_R = crate::R<u8, u8>;
impl R {
#[doc = "Bits 0:5 - Processor 0 Physical Master Number"]
#[inline(always)]
pub fn ppmn(&self) -> PPMN_R {
PPMN_R::new((self.bits & 0x3f) as u8)
}
}