pub type R = crate::R<RXDRrs>;
pub type RXDATA_R = crate::FieldReader;
impl R {
#[inline(always)]
pub fn rxdata(&self) -> RXDATA_R {
RXDATA_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("RXDR").field("rxdata", &self.rxdata()).finish()
}
}
pub struct RXDRrs;
impl crate::RegisterSpec for RXDRrs {
type Ux = u32;
}
impl crate::Readable for RXDRrs {}
impl crate::Resettable for RXDRrs {
const RESET_VALUE: u32 = 0;
}