pub type R = crate::R<RX_ORDEXTR2rs>;
pub type W = crate::W<RX_ORDEXTR2rs>;
pub type RXSOPX2_R = crate::FieldReader<u32>;
pub type RXSOPX2_W<'a, REG> = crate::FieldWriter<'a, REG, 20, u32, crate::Safe>;
impl R {
#[inline(always)]
pub fn rxsopx2(&self) -> RXSOPX2_R {
RXSOPX2_R::new(self.bits & 0x000f_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("RX_ORDEXTR2")
.field("rxsopx2", &self.rxsopx2())
.finish()
}
}
impl W {
#[inline(always)]
pub fn rxsopx2(&mut self) -> RXSOPX2_W<RX_ORDEXTR2rs> {
RXSOPX2_W::new(self, 0)
}
}
pub struct RX_ORDEXTR2rs;
impl crate::RegisterSpec for RX_ORDEXTR2rs {
type Ux = u32;
}
impl crate::Readable for RX_ORDEXTR2rs {}
impl crate::Writable for RX_ORDEXTR2rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for RX_ORDEXTR2rs {}