pub type R = crate::R<RXDATAPrs>;
pub type RxdatapR = crate::FieldReader;
impl R {
#[inline(always)]
pub fn rxdatap(&self) -> RxdatapR {
RxdatapR::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("RXDATAP")
.field("rxdatap", &self.rxdatap())
.finish()
}
}
pub struct RXDATAPrs;
impl crate::RegisterSpec for RXDATAPrs {
type Ux = u32;
}
impl crate::Readable for RXDATAPrs {}
impl crate::Resettable for RXDATAPrs {}