pub type R = crate::R<TTCTCrs>;
pub type CT_R = crate::FieldReader<u16>;
pub type CC_R = crate::FieldReader;
impl R {
#[inline(always)]
pub fn ct(&self) -> CT_R {
CT_R::new((self.bits & 0xffff) as u16)
}
#[inline(always)]
pub fn cc(&self) -> CC_R {
CC_R::new(((self.bits >> 16) & 0x3f) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("TTCTC").field("ct", &self.ct()).field("cc", &self.cc()).finish()
}
}
pub struct TTCTCrs;
impl crate::RegisterSpec for TTCTCrs {
type Ux = u32;
}
impl crate::Readable for TTCTCrs {}
impl crate::Resettable for TTCTCrs {}