pub type R = crate::R<IRrs>;
pub type W = crate::W<IRrs>;
pub type INSTRUCTION_R = crate::FieldReader<u32>;
pub type INSTRUCTION_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn instruction(&self) -> INSTRUCTION_R {
INSTRUCTION_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IR").field("instruction", &self.instruction()).finish()
}
}
impl W {
#[inline(always)]
pub fn instruction(&mut self) -> INSTRUCTION_W<IRrs> {
INSTRUCTION_W::new(self, 0)
}
}
pub struct IRrs;
impl crate::RegisterSpec for IRrs {
type Ux = u32;
}
impl crate::Readable for IRrs {}
impl crate::Writable for IRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IRrs {}