pub type W = crate::W<_EGRrs>;
pub type UG_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CC1G_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CC2G_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TG_W<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<_EGRrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn ug(&mut self) -> UG_W<_EGRrs> {
UG_W::new(self, 0)
}
#[inline(always)]
pub fn cc1g(&mut self) -> CC1G_W<_EGRrs> {
CC1G_W::new(self, 1)
}
#[inline(always)]
pub fn cc2g(&mut self) -> CC2G_W<_EGRrs> {
CC2G_W::new(self, 2)
}
#[inline(always)]
pub fn tg(&mut self) -> TG_W<_EGRrs> {
TG_W::new(self, 6)
}
}
pub struct _EGRrs;
impl crate::RegisterSpec for _EGRrs {
type Ux = u16;
}
impl crate::Writable for _EGRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for _EGRrs {}