pub type R = crate::R<BGMARrs>;
pub type W = crate::W<BGMARrs>;
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("BGMAR").field("ma", &self.ma()).finish()
}
}
impl W {
#[inline(always)]
pub fn ma(&mut self) -> MA_W<BGMARrs> {
MA_W::new(self, 0)
}
}
pub struct BGMARrs;
impl crate::RegisterSpec for BGMARrs {
type Ux = u32;
}
impl crate::Readable for BGMARrs {}
impl crate::Writable for BGMARrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for BGMARrs {}