pub type R = crate::R<EXMAXrs>;
pub type EXMAXCH_R = crate::FieldReader;
pub type EXMAX_R = crate::FieldReader<u32>;
impl R {
#[inline(always)]
pub fn exmaxch(&self) -> EXMAXCH_R {
EXMAXCH_R::new((self.bits & 7) as u8)
}
#[inline(always)]
pub fn exmax(&self) -> EXMAX_R {
EXMAX_R::new((self.bits >> 8) & 0x00ff_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("EXMAX")
.field("exmax", &self.exmax())
.field("exmaxch", &self.exmaxch())
.finish()
}
}
pub struct EXMAXrs;
impl crate::RegisterSpec for EXMAXrs {
type Ux = u32;
}
impl crate::Readable for EXMAXrs {}
impl crate::Resettable for EXMAXrs {
const RESET_VALUE: u32 = 0x8000_0000;
}