pub type R = crate::R<WIRrs>;
pub type W = crate::W<WIRrs>;
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("WIR").field("instruction", &self.instruction()).finish()
}
}
impl W {
#[inline(always)]
pub fn instruction(&mut self) -> INSTRUCTION_W<WIRrs> {
INSTRUCTION_W::new(self, 0)
}
}
pub struct WIRrs;
impl crate::RegisterSpec for WIRrs {
type Ux = u32;
}
impl crate::Readable for WIRrs {}
impl crate::Writable for WIRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for WIRrs {}