pub type R = crate::R<BKPRrs>;
pub type W = crate::W<BKPRrs>;
pub type BKP_R = crate::FieldReader<u32>;
pub type BKP_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32, crate::Safe>;
impl R {
#[inline(always)]
pub fn bkp(&self) -> BKP_R {
BKP_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("BKPR").field("bkp", &self.bkp()).finish()
}
}
impl W {
#[inline(always)]
pub fn bkp(&mut self) -> BKP_W<BKPRrs> {
BKP_W::new(self, 0)
}
}
pub struct BKPRrs;
impl crate::RegisterSpec for BKPRrs {
type Ux = u32;
}
impl crate::Readable for BKPRrs {}
impl crate::Writable for BKPRrs {
type Safety = crate::Safe;
}
impl crate::Resettable for BKPRrs {}