///Register `UR0` reader
pub type R = crate::R<UR0rs>;
///Field `RDP` reader - Readout protection
pub type RDP_R = crate::FieldReader;
impl R {
///Bits 16:23 - Readout protection
#[inline(always)]
pub fn rdp(&self) -> RDP_R {
RDP_R::new(((self.bits >> 16) & 0xff) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("UR0").field("rdp", &self.rdp()).finish()
}
}
/**SYSCFG user register 0
You can [`read`](crate::Reg::read) this register and get [`ur0::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct UR0rs;
impl crate::RegisterSpec for UR0rs {
type Ux = u32;
}
///`read()` method returns [`ur0::R`](R) reader structure
impl crate::Readable for UR0rs {}
///`reset()` method sets UR0 to value 0
impl crate::Resettable for UR0rs {}