#[doc = "Register `CORE_1_IRAM0_EXCEPTION_MONITOR_1` reader"]
pub type R = crate::R<CORE_1_IRAM0_EXCEPTION_MONITOR_1_SPEC>;
#[doc = "Field `CORE_1_IRAM0_RECORDING_ADDR_1` reader - The second iram0's addr\\[25:2\\] status when trigger IRAM busy interrupt"]
pub type CORE_1_IRAM0_RECORDING_ADDR_1_R = crate::FieldReader<u32>;
#[doc = "Field `CORE_1_IRAM0_RECORDING_WR_1` reader - The second iram0's wr status when trigger IRAM busy interrupt"]
pub type CORE_1_IRAM0_RECORDING_WR_1_R = crate::BitReader;
#[doc = "Field `CORE_1_IRAM0_RECORDING_LOADSTORE_1` reader - The second iram0's loadstore status when trigger IRAM busy interrupt"]
pub type CORE_1_IRAM0_RECORDING_LOADSTORE_1_R = crate::BitReader;
impl R {
#[doc = "Bits 0:23 - The second iram0's addr\\[25:2\\] status when trigger IRAM busy interrupt"]
#[inline(always)]
pub fn core_1_iram0_recording_addr_1(&self) -> CORE_1_IRAM0_RECORDING_ADDR_1_R {
CORE_1_IRAM0_RECORDING_ADDR_1_R::new(self.bits & 0x00ff_ffff)
}
#[doc = "Bit 24 - The second iram0's wr status when trigger IRAM busy interrupt"]
#[inline(always)]
pub fn core_1_iram0_recording_wr_1(&self) -> CORE_1_IRAM0_RECORDING_WR_1_R {
CORE_1_IRAM0_RECORDING_WR_1_R::new(((self.bits >> 24) & 1) != 0)
}
#[doc = "Bit 25 - The second iram0's loadstore status when trigger IRAM busy interrupt"]
#[inline(always)]
pub fn core_1_iram0_recording_loadstore_1(&self) -> CORE_1_IRAM0_RECORDING_LOADSTORE_1_R {
CORE_1_IRAM0_RECORDING_LOADSTORE_1_R::new(((self.bits >> 25) & 1) != 0)
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CORE_1_IRAM0_EXCEPTION_MONITOR_1")
.field(
"core_1_iram0_recording_addr_1",
&format_args!("{}", self.core_1_iram0_recording_addr_1().bits()),
)
.field(
"core_1_iram0_recording_wr_1",
&format_args!("{}", self.core_1_iram0_recording_wr_1().bit()),
)
.field(
"core_1_iram0_recording_loadstore_1",
&format_args!("{}", self.core_1_iram0_recording_loadstore_1().bit()),
)
.finish()
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<CORE_1_IRAM0_EXCEPTION_MONITOR_1_SPEC> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
self.read().fmt(f)
}
}
#[doc = "Core1 bus busy status regsiter\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`core_1_iram0_exception_monitor_1::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct CORE_1_IRAM0_EXCEPTION_MONITOR_1_SPEC;
impl crate::RegisterSpec for CORE_1_IRAM0_EXCEPTION_MONITOR_1_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`core_1_iram0_exception_monitor_1::R`](R) reader structure"]
impl crate::Readable for CORE_1_IRAM0_EXCEPTION_MONITOR_1_SPEC {}
#[doc = "`reset()` method sets CORE_1_IRAM0_EXCEPTION_MONITOR_1 to value 0"]
impl crate::Resettable for CORE_1_IRAM0_EXCEPTION_MONITOR_1_SPEC {
const RESET_VALUE: Self::Ux = 0;
}