pub type R = crate::R<ORrs>;
pub type W = crate::W<ORrs>;
pub type RMP_R = crate::FieldReader;
pub type RMP_W<'a, REG> = crate::FieldWriter<'a, REG, 2>;
impl R {
#[inline(always)]
pub fn rmp(&self) -> RMP_R {
RMP_R::new((self.bits & 3) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("OR").field("rmp", &self.rmp()).finish()
}
}
impl W {
#[inline(always)]
pub fn rmp(&mut self) -> RMP_W<ORrs> {
RMP_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 {}