pub type W = crate::W<ICR_INPUTrs>;
pub type CC1CF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ARRMCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type EXTTRIGCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ARROKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type UPCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type DOWNCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type UECF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type REPOKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CC2CF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CC1OCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CC2OCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type DIEROKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<ICR_INPUTrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn cc1cf(&mut self) -> CC1CF_W<ICR_INPUTrs> {
CC1CF_W::new(self, 0)
}
#[inline(always)]
pub fn arrmcf(&mut self) -> ARRMCF_W<ICR_INPUTrs> {
ARRMCF_W::new(self, 1)
}
#[inline(always)]
pub fn exttrigcf(&mut self) -> EXTTRIGCF_W<ICR_INPUTrs> {
EXTTRIGCF_W::new(self, 2)
}
#[inline(always)]
pub fn arrokcf(&mut self) -> ARROKCF_W<ICR_INPUTrs> {
ARROKCF_W::new(self, 4)
}
#[inline(always)]
pub fn upcf(&mut self) -> UPCF_W<ICR_INPUTrs> {
UPCF_W::new(self, 5)
}
#[inline(always)]
pub fn downcf(&mut self) -> DOWNCF_W<ICR_INPUTrs> {
DOWNCF_W::new(self, 6)
}
#[inline(always)]
pub fn uecf(&mut self) -> UECF_W<ICR_INPUTrs> {
UECF_W::new(self, 7)
}
#[inline(always)]
pub fn repokcf(&mut self) -> REPOKCF_W<ICR_INPUTrs> {
REPOKCF_W::new(self, 8)
}
#[inline(always)]
pub fn cc2cf(&mut self) -> CC2CF_W<ICR_INPUTrs> {
CC2CF_W::new(self, 9)
}
#[inline(always)]
pub fn cc1ocf(&mut self) -> CC1OCF_W<ICR_INPUTrs> {
CC1OCF_W::new(self, 12)
}
#[inline(always)]
pub fn cc2ocf(&mut self) -> CC2OCF_W<ICR_INPUTrs> {
CC2OCF_W::new(self, 13)
}
#[inline(always)]
pub fn dierokcf(&mut self) -> DIEROKCF_W<ICR_INPUTrs> {
DIEROKCF_W::new(self, 24)
}
}
pub struct ICR_INPUTrs;
impl crate::RegisterSpec for ICR_INPUTrs {
type Ux = u32;
}
impl crate::Writable for ICR_INPUTrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for ICR_INPUTrs {}