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