pub type R = crate::R<OR1rs>;
pub type W = crate::W<OR1rs>;
pub type TI1_RMP_R = crate::BitReader;
pub type TI1_RMP_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn ti1_rmp(&self) -> TI1_RMP_R {
TI1_RMP_R::new(((self.bits >> 4) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("OR1")
.field("ti1_rmp", &self.ti1_rmp())
.finish()
}
}
impl W {
#[inline(always)]
pub fn ti1_rmp(&mut self) -> TI1_RMP_W<OR1rs> {
TI1_RMP_W::new(self, 4)
}
}
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 {}