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