pub type R = crate::R<DRrs>;
pub type W = crate::W<DRrs>;
pub type TS1_MFREQ_R = crate::FieldReader<u16>;
pub type TS1_MFREQ_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl R {
#[inline(always)]
pub fn ts1_mfreq(&self) -> TS1_MFREQ_R {
TS1_MFREQ_R::new((self.bits & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DR").field("ts1_mfreq", &self.ts1_mfreq()).finish()
}
}
impl W {
#[inline(always)]
pub fn ts1_mfreq(&mut self) -> TS1_MFREQ_W<DRrs> {
TS1_MFREQ_W::new(self, 0)
}
}
pub struct DRrs;
impl crate::RegisterSpec for DRrs {
type Ux = u32;
}
impl crate::Readable for DRrs {}
impl crate::Writable for DRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DRrs {}