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>;
impl R {
#[inline(always)]
pub fn arr(&self) -> ARR_R {
ARR_R::new(self.bits)
}
}
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 = u16;
}
impl crate::Readable for _ARRrs {}
impl crate::Writable for _ARRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for _ARRrs {
const RESET_VALUE: u16 = 0xffff;
}