#[repr(C)]
#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
#[doc = "Register block"]
pub struct RegisterBlock {
core_0_intr_map: [CORE_0_INTR_MAP; 84],
core_0_intr_status: [CORE_0_INTR_STATUS; 3],
_reserved2: [u8; 0x06a0],
interrupt_date: INTERRUPT_DATE,
}
impl RegisterBlock {
#[doc = "0x00..0x150 - "]
#[inline(always)]
pub const fn core_0_intr_map(&self, n: usize) -> &CORE_0_INTR_MAP {
&self.core_0_intr_map[n]
}
#[doc = "Iterator for array of:"]
#[doc = "0x00..0x150 - "]
#[inline(always)]
pub fn core_0_intr_map_iter(&self) -> impl Iterator<Item = &CORE_0_INTR_MAP> {
self.core_0_intr_map.iter()
}
#[doc = "0x150..0x15c - Represents the status of the interrupt sources. Each bit corresponds to one interrupt source"]
#[inline(always)]
pub const fn core_0_intr_status(&self, n: usize) -> &CORE_0_INTR_STATUS {
&self.core_0_intr_status[n]
}
#[doc = "Iterator for array of:"]
#[doc = "0x150..0x15c - Represents the status of the interrupt sources. Each bit corresponds to one interrupt source"]
#[inline(always)]
pub fn core_0_intr_status_iter(&self) -> impl Iterator<Item = &CORE_0_INTR_STATUS> {
self.core_0_intr_status.iter()
}
#[doc = "0x7fc - Version control register"]
#[inline(always)]
pub const fn interrupt_date(&self) -> &INTERRUPT_DATE {
&self.interrupt_date
}
}
#[doc = "CORE_0_INTR_MAP (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`core_0_intr_map::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`core_0_intr_map::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@core_0_intr_map`] module"]
pub type CORE_0_INTR_MAP = crate::Reg<core_0_intr_map::CORE_0_INTR_MAP_SPEC>;
#[doc = ""]
pub mod core_0_intr_map;
#[doc = "CORE_0_INTR_STATUS (r) register accessor: Represents the status of the interrupt sources. Each bit corresponds to one interrupt source\n\nYou can [`read`](crate::Reg::read) this register and get [`core_0_intr_status::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@core_0_intr_status`] module"]
pub type CORE_0_INTR_STATUS = crate::Reg<core_0_intr_status::CORE_0_INTR_STATUS_SPEC>;
#[doc = "Represents the status of the interrupt sources. Each bit corresponds to one interrupt source"]
pub mod core_0_intr_status;
pub use crate::aes::{date as interrupt_date, DATE as INTERRUPT_DATE};