pub type W = crate::W<LIFCRrs>;
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum CFEIF0 {
Clear = 1,
}
impl From<CFEIF0> for bool {
#[inline(always)]
fn from(variant: CFEIF0) -> Self {
variant as u8 != 0
}
}
pub type CFEIF0_W<'a, REG> = crate::BitWriter<'a, REG, CFEIF0>;
impl<'a, REG> CFEIF0_W<'a, REG>
where
REG: crate::Writable + crate::RegisterSpec,
{
#[inline(always)]
pub fn clear(self) -> &'a mut crate::W<REG> {
self.variant(CFEIF0::Clear)
}
}
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum CDMEIF0 {
Clear = 1,
}
impl From<CDMEIF0> for bool {
#[inline(always)]
fn from(variant: CDMEIF0) -> Self {
variant as u8 != 0
}
}
pub type CDMEIF0_W<'a, REG> = crate::BitWriter<'a, REG, CDMEIF0>;
impl<'a, REG> CDMEIF0_W<'a, REG>
where
REG: crate::Writable + crate::RegisterSpec,
{
#[inline(always)]
pub fn clear(self) -> &'a mut crate::W<REG> {
self.variant(CDMEIF0::Clear)
}
}
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum CTEIF0 {
Clear = 1,
}
impl From<CTEIF0> for bool {
#[inline(always)]
fn from(variant: CTEIF0) -> Self {
variant as u8 != 0
}
}
pub type CTEIF0_W<'a, REG> = crate::BitWriter<'a, REG, CTEIF0>;
impl<'a, REG> CTEIF0_W<'a, REG>
where
REG: crate::Writable + crate::RegisterSpec,
{
#[inline(always)]
pub fn clear(self) -> &'a mut crate::W<REG> {
self.variant(CTEIF0::Clear)
}
}
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum CHTIF0 {
Clear = 1,
}
impl From<CHTIF0> for bool {
#[inline(always)]
fn from(variant: CHTIF0) -> Self {
variant as u8 != 0
}
}
pub type CHTIF0_W<'a, REG> = crate::BitWriter<'a, REG, CHTIF0>;
impl<'a, REG> CHTIF0_W<'a, REG>
where
REG: crate::Writable + crate::RegisterSpec,
{
#[inline(always)]
pub fn clear(self) -> &'a mut crate::W<REG> {
self.variant(CHTIF0::Clear)
}
}
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum CTCIF0 {
Clear = 1,
}
impl From<CTCIF0> for bool {
#[inline(always)]
fn from(variant: CTCIF0) -> Self {
variant as u8 != 0
}
}
pub type CTCIF0_W<'a, REG> = crate::BitWriter<'a, REG, CTCIF0>;
impl<'a, REG> CTCIF0_W<'a, REG>
where
REG: crate::Writable + crate::RegisterSpec,
{
#[inline(always)]
pub fn clear(self) -> &'a mut crate::W<REG> {
self.variant(CTCIF0::Clear)
}
}
pub use CDMEIF0_W as CDMEIF1_W;
pub use CDMEIF0_W as CDMEIF2_W;
pub use CDMEIF0_W as CDMEIF3_W;
pub use CFEIF0_W as CFEIF1_W;
pub use CFEIF0_W as CFEIF2_W;
pub use CFEIF0_W as CFEIF3_W;
pub use CHTIF0_W as CHTIF1_W;
pub use CHTIF0_W as CHTIF2_W;
pub use CHTIF0_W as CHTIF3_W;
pub use CTCIF0_W as CTCIF1_W;
pub use CTCIF0_W as CTCIF2_W;
pub use CTCIF0_W as CTCIF3_W;
pub use CTEIF0_W as CTEIF1_W;
pub use CTEIF0_W as CTEIF2_W;
pub use CTEIF0_W as CTEIF3_W;
impl core::fmt::Debug for crate::generic::Reg<LIFCRrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn cfeif0(&mut self) -> CFEIF0_W<LIFCRrs> {
CFEIF0_W::new(self, 0)
}
#[inline(always)]
pub fn cdmeif0(&mut self) -> CDMEIF0_W<LIFCRrs> {
CDMEIF0_W::new(self, 2)
}
#[inline(always)]
pub fn cteif0(&mut self) -> CTEIF0_W<LIFCRrs> {
CTEIF0_W::new(self, 3)
}
#[inline(always)]
pub fn chtif0(&mut self) -> CHTIF0_W<LIFCRrs> {
CHTIF0_W::new(self, 4)
}
#[inline(always)]
pub fn ctcif0(&mut self) -> CTCIF0_W<LIFCRrs> {
CTCIF0_W::new(self, 5)
}
#[inline(always)]
pub fn cfeif1(&mut self) -> CFEIF1_W<LIFCRrs> {
CFEIF1_W::new(self, 6)
}
#[inline(always)]
pub fn cdmeif1(&mut self) -> CDMEIF1_W<LIFCRrs> {
CDMEIF1_W::new(self, 8)
}
#[inline(always)]
pub fn cteif1(&mut self) -> CTEIF1_W<LIFCRrs> {
CTEIF1_W::new(self, 9)
}
#[inline(always)]
pub fn chtif1(&mut self) -> CHTIF1_W<LIFCRrs> {
CHTIF1_W::new(self, 10)
}
#[inline(always)]
pub fn ctcif1(&mut self) -> CTCIF1_W<LIFCRrs> {
CTCIF1_W::new(self, 11)
}
#[inline(always)]
pub fn cfeif2(&mut self) -> CFEIF2_W<LIFCRrs> {
CFEIF2_W::new(self, 16)
}
#[inline(always)]
pub fn cdmeif2(&mut self) -> CDMEIF2_W<LIFCRrs> {
CDMEIF2_W::new(self, 18)
}
#[inline(always)]
pub fn cteif2(&mut self) -> CTEIF2_W<LIFCRrs> {
CTEIF2_W::new(self, 19)
}
#[inline(always)]
pub fn chtif2(&mut self) -> CHTIF2_W<LIFCRrs> {
CHTIF2_W::new(self, 20)
}
#[inline(always)]
pub fn ctcif2(&mut self) -> CTCIF2_W<LIFCRrs> {
CTCIF2_W::new(self, 21)
}
#[inline(always)]
pub fn cfeif3(&mut self) -> CFEIF3_W<LIFCRrs> {
CFEIF3_W::new(self, 22)
}
#[inline(always)]
pub fn cdmeif3(&mut self) -> CDMEIF3_W<LIFCRrs> {
CDMEIF3_W::new(self, 24)
}
#[inline(always)]
pub fn cteif3(&mut self) -> CTEIF3_W<LIFCRrs> {
CTEIF3_W::new(self, 25)
}
#[inline(always)]
pub fn chtif3(&mut self) -> CHTIF3_W<LIFCRrs> {
CHTIF3_W::new(self, 26)
}
#[inline(always)]
pub fn ctcif3(&mut self) -> CTCIF3_W<LIFCRrs> {
CTCIF3_W::new(self, 27)
}
}
pub struct LIFCRrs;
impl crate::RegisterSpec for LIFCRrs {
type Ux = u32;
}
impl crate::Writable for LIFCRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for LIFCRrs {}