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