pub type R = crate::R<UR3rs>;
pub type W = crate::W<UR3rs>;
pub type BOOT_ADD1_R = crate::FieldReader<u16>;
pub type BOOT_ADD1_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl R {
#[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("UR3").field("boot_add1", &self.boot_add1()).finish()
}
}
impl W {
#[inline(always)]
pub fn boot_add1(&mut self) -> BOOT_ADD1_W<UR3rs> {
BOOT_ADD1_W::new(self, 16)
}
}
pub struct UR3rs;
impl crate::RegisterSpec for UR3rs {
type Ux = u32;
}
impl crate::Readable for UR3rs {}
impl crate::Writable for UR3rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for UR3rs {}