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