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