pub type R = crate::R<OR1rs>;
pub type W = crate::W<OR1rs>;
pub type OCREF_CLR_R = crate::BitReader;
pub type OCREF_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn ocref_clr(&self) -> OCREF_CLR_R {
OCREF_CLR_R::new((self.bits & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("OR1")
.field("ocref_clr", &self.ocref_clr())
.finish()
}
}
impl W {
#[inline(always)]
pub fn ocref_clr(&mut self) -> OCREF_CLR_W<OR1rs> {
OCREF_CLR_W::new(self, 0)
}
}
pub struct OR1rs;
impl crate::RegisterSpec for OR1rs {
type Ux = u32;
}
impl crate::Readable for OR1rs {}
impl crate::Writable for OR1rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for OR1rs {}