pub type R = crate::R<RLRrs>;
pub type W = crate::W<RLRrs>;
pub type RL_R = crate::FieldReader<u16>;
pub type RL_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16, crate::Safe>;
impl R {
#[inline(always)]
pub fn rl(&self) -> RL_R {
RL_R::new(self.bits & 0x0fff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("RLR").field("rl", &self.rl()).finish()
}
}
impl W {
#[inline(always)]
pub fn rl(&mut self) -> RL_W<RLRrs> {
RL_W::new(self, 0)
}
}
pub struct RLRrs;
impl crate::RegisterSpec for RLRrs {
type Ux = u16;
}
impl crate::Readable for RLRrs {}
impl crate::Writable for RLRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for RLRrs {
const RESET_VALUE: u16 = 0x0fff;
}