pub type R = crate::R<ADDR3_RXrs>;
pub type W = crate::W<ADDR3_RXrs>;
pub type ADDR3_RX_R = crate::FieldReader<u16>;
pub type ADDR3_RX_W<'a, REG> = crate::FieldWriter<'a, REG, 15, u16>;
impl R {
#[inline(always)]
pub fn addr3_rx(&self) -> ADDR3_RX_R {
ADDR3_RX_R::new((self.bits >> 1) & 0x7fff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ADDR3_RX")
.field("addr3_rx", &self.addr3_rx())
.finish()
}
}
impl W {
#[inline(always)]
pub fn addr3_rx(&mut self) -> ADDR3_RX_W<ADDR3_RXrs> {
ADDR3_RX_W::new(self, 1)
}
}
pub struct ADDR3_RXrs;
impl crate::RegisterSpec for ADDR3_RXrs {
type Ux = u16;
}
impl crate::Readable for ADDR3_RXrs {}
impl crate::Writable for ADDR3_RXrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for ADDR3_RXrs {}