pub type R = crate::R<BOOT_CURrs>;
pub type BOOT_CM_ADD0_R = crate::FieldReader<u16>;
pub type BOOT_CM_ADD1_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn boot_cm_add0(&self) -> BOOT_CM_ADD0_R {
BOOT_CM_ADD0_R::new((self.bits & 0xffff) as u16)
}
#[inline(always)]
pub fn boot_cm_add1(&self) -> BOOT_CM_ADD1_R {
BOOT_CM_ADD1_R::new(((self.bits >> 16) & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("BOOT_CUR")
.field("boot_cm_add0", &self.boot_cm_add0())
.field("boot_cm_add1", &self.boot_cm_add1())
.finish()
}
}
pub struct BOOT_CURrs;
impl crate::RegisterSpec for BOOT_CURrs {
type Ux = u32;
}
impl crate::Readable for BOOT_CURrs {}
impl crate::Resettable for BOOT_CURrs {}