pub type R = crate::R<RSSCMDRrs>;
pub type W = crate::W<RSSCMDRrs>;
pub type RSSCMD_R = crate::FieldReader<u16>;
pub type RSSCMD_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl R {
#[inline(always)]
pub fn rsscmd(&self) -> RSSCMD_R {
RSSCMD_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("RSSCMDR").field("rsscmd", &self.rsscmd()).finish()
}
}
impl W {
#[inline(always)]
pub fn rsscmd(&mut self) -> RSSCMD_W<RSSCMDRrs> {
RSSCMD_W::new(self, 0)
}
}
pub struct RSSCMDRrs;
impl crate::RegisterSpec for RSSCMDRrs {
type Ux = u32;
}
impl crate::Readable for RSSCMDRrs {}
impl crate::Writable for RSSCMDRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for RSSCMDRrs {}