pub type W = crate::W<OPTKEYRrs>;
pub type OPTKEYR_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32, crate::Safe>;
impl core::fmt::Debug for crate::generic::Reg<OPTKEYRrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn optkeyr(&mut self) -> OPTKEYR_W<OPTKEYRrs> {
OPTKEYR_W::new(self, 0)
}
}
pub struct OPTKEYRrs;
impl crate::RegisterSpec for OPTKEYRrs {
type Ux = u32;
}
impl crate::Writable for OPTKEYRrs {
type Safety = crate::Safe;
}
impl crate::Resettable for OPTKEYRrs {}