pub type R = crate::R<SRrs>;
pub type TS1_ITEF_R = crate::BitReader;
pub type TS1_ITLF_R = crate::BitReader;
pub type TS1_ITHF_R = crate::BitReader;
pub type TS1_AITEF_R = crate::BitReader;
pub type TS1_AITLF_R = crate::BitReader;
pub type TS1_AITHF_R = crate::BitReader;
pub type TS1_RDY_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn ts1_itef(&self) -> TS1_ITEF_R {
TS1_ITEF_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn ts1_itlf(&self) -> TS1_ITLF_R {
TS1_ITLF_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn ts1_ithf(&self) -> TS1_ITHF_R {
TS1_ITHF_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn ts1_aitef(&self) -> TS1_AITEF_R {
TS1_AITEF_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn ts1_aitlf(&self) -> TS1_AITLF_R {
TS1_AITLF_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn ts1_aithf(&self) -> TS1_AITHF_R {
TS1_AITHF_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn ts1_rdy(&self) -> TS1_RDY_R {
TS1_RDY_R::new(((self.bits >> 15) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SR")
.field("ts1_itef", &self.ts1_itef())
.field("ts1_itlf", &self.ts1_itlf())
.field("ts1_ithf", &self.ts1_ithf())
.field("ts1_aitef", &self.ts1_aitef())
.field("ts1_aitlf", &self.ts1_aitlf())
.field("ts1_aithf", &self.ts1_aithf())
.field("ts1_rdy", &self.ts1_rdy())
.finish()
}
}
pub struct SRrs;
impl crate::RegisterSpec for SRrs {
type Ux = u32;
}
impl crate::Readable for SRrs {}
impl crate::Resettable for SRrs {}