pub type R = crate::R<WPSN_CURrs>;
pub type WRPSN_R = crate::FieldReader;
impl R {
#[inline(always)]
pub fn wrpsn(&self) -> WRPSN_R {
WRPSN_R::new((self.bits & 0xff) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("WPSN_CUR").field("wrpsn", &self.wrpsn()).finish()
}
}
pub struct WPSN_CURrs;
impl crate::RegisterSpec for WPSN_CURrs {
type Ux = u32;
}
impl crate::Readable for WPSN_CURrs {}
impl crate::Resettable for WPSN_CURrs {}