pub type R = crate::R<TTIErs>;
pub type W = crate::W<TTIErs>;
pub type SBCE_R = crate::BitReader;
pub type SBCE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SMCE_R = crate::BitReader;
pub type SMCE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CSME_R = crate::BitReader;
pub type CSME_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SOGE_R = crate::BitReader;
pub type SOGE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RTMIE_R = crate::BitReader;
pub type RTMIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TTMIE_R = crate::BitReader;
pub type TTMIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SWEE_R = crate::BitReader;
pub type SWEE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type GTWE_R = crate::BitReader;
pub type GTWE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type GTDE_R = crate::BitReader;
pub type GTDE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type GTEE_R = crate::BitReader;
pub type GTEE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TXUE_R = crate::BitReader;
pub type TXUE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TXOE_R = crate::BitReader;
pub type TXOE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SE1E_R = crate::BitReader;
pub type SE1E_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SE2E_R = crate::BitReader;
pub type SE2E_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ELCE_R = crate::BitReader;
pub type ELCE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type IWTGE_R = crate::BitReader;
pub type IWTGE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type WTE_R = crate::BitReader;
pub type WTE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type AWE_R = crate::BitReader;
pub type AWE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CERE_R = crate::BitReader;
pub type CERE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn sbce(&self) -> SBCE_R {
SBCE_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn smce(&self) -> SMCE_R {
SMCE_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn csme(&self) -> CSME_R {
CSME_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn soge(&self) -> SOGE_R {
SOGE_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn rtmie(&self) -> RTMIE_R {
RTMIE_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn ttmie(&self) -> TTMIE_R {
TTMIE_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn swee(&self) -> SWEE_R {
SWEE_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn gtwe(&self) -> GTWE_R {
GTWE_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn gtde(&self) -> GTDE_R {
GTDE_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn gtee(&self) -> GTEE_R {
GTEE_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn txue(&self) -> TXUE_R {
TXUE_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn txoe(&self) -> TXOE_R {
TXOE_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn se1e(&self) -> SE1E_R {
SE1E_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn se2e(&self) -> SE2E_R {
SE2E_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn elce(&self) -> ELCE_R {
ELCE_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn iwtge(&self) -> IWTGE_R {
IWTGE_R::new(((self.bits >> 15) & 1) != 0)
}
#[inline(always)]
pub fn wte(&self) -> WTE_R {
WTE_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn awe(&self) -> AWE_R {
AWE_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn cere(&self) -> CERE_R {
CERE_R::new(((self.bits >> 18) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("TTIE")
.field("sbce", &self.sbce())
.field("smce", &self.smce())
.field("csme", &self.csme())
.field("soge", &self.soge())
.field("rtmie", &self.rtmie())
.field("ttmie", &self.ttmie())
.field("swee", &self.swee())
.field("gtwe", &self.gtwe())
.field("gtde", &self.gtde())
.field("gtee", &self.gtee())
.field("txue", &self.txue())
.field("txoe", &self.txoe())
.field("se1e", &self.se1e())
.field("se2e", &self.se2e())
.field("elce", &self.elce())
.field("iwtge", &self.iwtge())
.field("wte", &self.wte())
.field("awe", &self.awe())
.field("cere", &self.cere())
.finish()
}
}
impl W {
#[inline(always)]
pub fn sbce(&mut self) -> SBCE_W<TTIErs> {
SBCE_W::new(self, 0)
}
#[inline(always)]
pub fn smce(&mut self) -> SMCE_W<TTIErs> {
SMCE_W::new(self, 1)
}
#[inline(always)]
pub fn csme(&mut self) -> CSME_W<TTIErs> {
CSME_W::new(self, 2)
}
#[inline(always)]
pub fn soge(&mut self) -> SOGE_W<TTIErs> {
SOGE_W::new(self, 3)
}
#[inline(always)]
pub fn rtmie(&mut self) -> RTMIE_W<TTIErs> {
RTMIE_W::new(self, 4)
}
#[inline(always)]
pub fn ttmie(&mut self) -> TTMIE_W<TTIErs> {
TTMIE_W::new(self, 5)
}
#[inline(always)]
pub fn swee(&mut self) -> SWEE_W<TTIErs> {
SWEE_W::new(self, 6)
}
#[inline(always)]
pub fn gtwe(&mut self) -> GTWE_W<TTIErs> {
GTWE_W::new(self, 7)
}
#[inline(always)]
pub fn gtde(&mut self) -> GTDE_W<TTIErs> {
GTDE_W::new(self, 8)
}
#[inline(always)]
pub fn gtee(&mut self) -> GTEE_W<TTIErs> {
GTEE_W::new(self, 9)
}
#[inline(always)]
pub fn txue(&mut self) -> TXUE_W<TTIErs> {
TXUE_W::new(self, 10)
}
#[inline(always)]
pub fn txoe(&mut self) -> TXOE_W<TTIErs> {
TXOE_W::new(self, 11)
}
#[inline(always)]
pub fn se1e(&mut self) -> SE1E_W<TTIErs> {
SE1E_W::new(self, 12)
}
#[inline(always)]
pub fn se2e(&mut self) -> SE2E_W<TTIErs> {
SE2E_W::new(self, 13)
}
#[inline(always)]
pub fn elce(&mut self) -> ELCE_W<TTIErs> {
ELCE_W::new(self, 14)
}
#[inline(always)]
pub fn iwtge(&mut self) -> IWTGE_W<TTIErs> {
IWTGE_W::new(self, 15)
}
#[inline(always)]
pub fn wte(&mut self) -> WTE_W<TTIErs> {
WTE_W::new(self, 16)
}
#[inline(always)]
pub fn awe(&mut self) -> AWE_W<TTIErs> {
AWE_W::new(self, 17)
}
#[inline(always)]
pub fn cere(&mut self) -> CERE_W<TTIErs> {
CERE_W::new(self, 18)
}
}
pub struct TTIErs;
impl crate::RegisterSpec for TTIErs {
type Ux = u32;
}
impl crate::Readable for TTIErs {}
impl crate::Writable for TTIErs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for TTIErs {}