pub type R = crate::R<BOOT_PRGRrs>;
pub type BOOT_ADD0_R = crate::FieldReader<u16>;
pub type BOOT_ADD1_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn boot_add0(&self) -> BOOT_ADD0_R {
BOOT_ADD0_R::new((self.bits & 0xffff) as u16)
}
#[inline(always)]
pub fn boot_add1(&self) -> BOOT_ADD1_R {
BOOT_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_PRGR")
.field("boot_add0", &self.boot_add0())
.field("boot_add1", &self.boot_add1())
.finish()
}
}
pub struct BOOT_PRGRrs;
impl crate::RegisterSpec for BOOT_PRGRrs {
type Ux = u32;
}
impl crate::Readable for BOOT_PRGRrs {}
impl crate::Resettable for BOOT_PRGRrs {}