pub type R = crate::R<PTPTSSRrs>;
pub type TSSO_R = crate::BitReader;
pub type TSTTR_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn tsso(&self) -> TSSO_R {
TSSO_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn tsttr(&self) -> TSTTR_R {
TSTTR_R::new(((self.bits >> 1) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("PTPTSSR")
.field("tsso", &self.tsso())
.field("tsttr", &self.tsttr())
.finish()
}
}
pub struct PTPTSSRrs;
impl crate::RegisterSpec for PTPTSSRrs {
type Ux = u32;
}
impl crate::Readable for PTPTSSRrs {}
impl crate::Resettable for PTPTSSRrs {}