pub type R = crate::R<SIGFRAMErs>;
pub type W = crate::W<SIGFRAMErs>;
pub type SigframeR = crate::FieldReader<u16>;
pub type SigframeW<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>;
impl R {
#[inline(always)]
pub fn sigframe(&self) -> SigframeR {
SigframeR::new((self.bits & 0x01ff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SIGFRAME")
.field("sigframe", &self.sigframe())
.finish()
}
}
impl W {
#[inline(always)]
pub fn sigframe(&mut self) -> SigframeW<'_, SIGFRAMErs> {
SigframeW::new(self, 0)
}
}
pub struct SIGFRAMErs;
impl crate::RegisterSpec for SIGFRAMErs {
type Ux = u32;
}
impl crate::Readable for SIGFRAMErs {}
impl crate::Writable for SIGFRAMErs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for SIGFRAMErs {}