pub type R = crate::R<WRPROT1rs>;
pub type WRPROT1_R = crate::FieldReader<u32>;
impl R {
#[inline(always)]
pub fn wrprot1(&self) -> WRPROT1_R {
WRPROT1_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("WRPROT1")
.field("wrprot1", &self.wrprot1())
.finish()
}
}
pub struct WRPROT1rs;
impl crate::RegisterSpec for WRPROT1rs {
type Ux = u32;
}
impl crate::Readable for WRPROT1rs {}
impl crate::Resettable for WRPROT1rs {}