pub type R = crate::R<ADRrs>;
pub type W = crate::W<ADRrs>;
pub type DATA_R = crate::FieldReader<u32>;
pub type DATA_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn data(&self) -> DATA_R {
DATA_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ADR").field("data", &self.data()).finish()
}
}
impl W {
#[inline(always)]
pub fn data(&mut self) -> DATA_W<ADRrs> {
DATA_W::new(self, 0)
}
}
pub struct ADRrs;
impl crate::RegisterSpec for ADRrs {
type Ux = u32;
}
impl crate::Readable for ADRrs {}
impl crate::Writable for ADRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for ADRrs {}