pub type R = crate::R<ORrs>;
pub type W = crate::W<ORrs>;
pub type OP0_R = crate::BitReader;
pub type OP0_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn op0(&self) -> OP0_R {
OP0_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("OR").field("op0", &self.op0()).finish()
}
}
impl W {
#[inline(always)]
pub fn op0(&mut self) -> OP0_W<ORrs> {
OP0_W::new(self, 0)
}
}
pub struct ORrs;
impl crate::RegisterSpec for ORrs {
type Ux = u32;
}
impl crate::Readable for ORrs {}
impl crate::Writable for ORrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for ORrs {}