pub type R = crate::R<ARRrs>;
pub type W = crate::W<ARRrs>;
pub type ARR_R = crate::FieldReader<u16>;
pub type ARR_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16, crate::Safe>;
impl R {
#[inline(always)]
pub fn arr(&self) -> ARR_R {
ARR_R::new((self.bits & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ARR").field("arr", &self.arr()).finish()
}
}
impl W {
#[inline(always)]
pub fn arr(&mut self) -> ARR_W<ARRrs> {
ARR_W::new(self, 0)
}
}
pub struct ARRrs;
impl crate::RegisterSpec for ARRrs {
type Ux = u32;
}
impl crate::Readable for ARRrs {}
impl crate::Writable for ARRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for ARRrs {}