#[doc = "Register `WPSR` reader"] pub type R = crate::R<WpsrSpec>; impl core::fmt::Debug for R { fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { write!(f, "{}", self.bits()) } } impl core::fmt::Debug for crate::generic::Reg<WpsrSpec> { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { core::fmt::Debug::fmt(&self.read(), f) } } #[doc = "Write Protect Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`wpsr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] pub struct WpsrSpec; impl crate::RegisterSpec for WpsrSpec { type Ux = u32; } #[doc = "`read()` method returns [`wpsr::R`](R) reader structure"] impl crate::Readable for WpsrSpec {} #[doc = "`reset()` method sets WPSR to value 0"] impl crate::Resettable for WpsrSpec { const RESET_VALUE: u32 = 0; }