Struct esp32c6::INTERRUPT_CORE0

source ·
pub struct INTERRUPT_CORE0 { /* private fields */ }
Expand description

Interrupt Controller (Core 0)

Implementations§

source§

impl INTERRUPT_CORE0

source

pub const PTR: *const RegisterBlock = {0x60010000 as *const interrupt_core0::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

source

pub fn wifi_mac_intr_map(&self) -> &WIFI_MAC_INTR_MAP

0x00 - register description

source

pub fn wifi_mac_nmi_map(&self) -> &WIFI_MAC_NMI_MAP

0x04 - register description

source

pub fn wifi_pwr_intr_map(&self) -> &WIFI_PWR_INTR_MAP

0x08 - register description

source

pub fn wifi_bb_intr_map(&self) -> &WIFI_BB_INTR_MAP

0x0c - register description

source

pub fn bt_mac_intr_map(&self) -> &BT_MAC_INTR_MAP

0x10 - register description

source

pub fn bt_bb_intr_map(&self) -> &BT_BB_INTR_MAP

0x14 - register description

source

pub fn bt_bb_nmi_map(&self) -> &BT_BB_NMI_MAP

0x18 - register description

source

pub fn lp_timer_intr_map(&self) -> &LP_TIMER_INTR_MAP

0x1c - register description

source

pub fn coex_intr_map(&self) -> &COEX_INTR_MAP

0x20 - register description

source

pub fn ble_timer_intr_map(&self) -> &BLE_TIMER_INTR_MAP

0x24 - register description

source

pub fn ble_sec_intr_map(&self) -> &BLE_SEC_INTR_MAP

0x28 - register description

source

pub fn i2c_mst_intr_map(&self) -> &I2C_MST_INTR_MAP

0x2c - register description

source

pub fn zb_mac_intr_map(&self) -> &ZB_MAC_INTR_MAP

0x30 - register description

source

pub fn pmu_intr_map(&self) -> &PMU_INTR_MAP

0x34 - register description

source

pub fn efuse_intr_map(&self) -> &EFUSE_INTR_MAP

0x38 - register description

source

pub fn lp_rtc_timer_intr_map(&self) -> &LP_RTC_TIMER_INTR_MAP

0x3c - register description

source

pub fn lp_uart_intr_map(&self) -> &LP_UART_INTR_MAP

0x40 - register description

source

pub fn lp_i2c_intr_map(&self) -> &LP_I2C_INTR_MAP

0x44 - register description

source

pub fn lp_wdt_intr_map(&self) -> &LP_WDT_INTR_MAP

0x48 - register description

source

pub fn lp_peri_timeout_intr_map(&self) -> &LP_PERI_TIMEOUT_INTR_MAP

0x4c - register description

source

pub fn lp_apm_m0_intr_map(&self) -> &LP_APM_M0_INTR_MAP

0x50 - register description

source

pub fn lp_apm_m1_intr_map(&self) -> &LP_APM_M1_INTR_MAP

0x54 - register description

source

pub fn cpu_intr_from_cpu_0_map(&self) -> &CPU_INTR_FROM_CPU_0_MAP

0x58 - register description

source

pub fn cpu_intr_from_cpu_1_map(&self) -> &CPU_INTR_FROM_CPU_1_MAP

0x5c - register description

source

pub fn cpu_intr_from_cpu_2_map(&self) -> &CPU_INTR_FROM_CPU_2_MAP

0x60 - register description

source

pub fn cpu_intr_from_cpu_3_map(&self) -> &CPU_INTR_FROM_CPU_3_MAP

0x64 - register description

source

pub fn assist_debug_intr_map(&self) -> &ASSIST_DEBUG_INTR_MAP

0x68 - register description

source

pub fn trace_intr_map(&self) -> &TRACE_INTR_MAP

0x6c - register description

source

pub fn cache_intr_map(&self) -> &CACHE_INTR_MAP

0x70 - register description

source

pub fn cpu_peri_timeout_intr_map(&self) -> &CPU_PERI_TIMEOUT_INTR_MAP

0x74 - register description

source

pub fn gpio_interrupt_pro_map(&self) -> &GPIO_INTERRUPT_PRO_MAP

0x78 - register description

source

pub fn gpio_interrupt_pro_nmi_map(&self) -> &GPIO_INTERRUPT_PRO_NMI_MAP

0x7c - register description

source

pub fn pau_intr_map(&self) -> &PAU_INTR_MAP

0x80 - register description

source

pub fn hp_peri_timeout_intr_map(&self) -> &HP_PERI_TIMEOUT_INTR_MAP

0x84 - register description

source

pub fn modem_peri_timeout_intr_map(&self) -> &MODEM_PERI_TIMEOUT_INTR_MAP

0x88 - register description

source

pub fn hp_apm_m0_intr_map(&self) -> &HP_APM_M0_INTR_MAP

0x8c - register description

source

pub fn hp_apm_m1_intr_map(&self) -> &HP_APM_M1_INTR_MAP

0x90 - register description

source

pub fn hp_apm_m2_intr_map(&self) -> &HP_APM_M2_INTR_MAP

0x94 - register description

source

pub fn hp_apm_m3_intr_map(&self) -> &HP_APM_M3_INTR_MAP

0x98 - register description

source

pub fn lp_apm0_intr_map(&self) -> &LP_APM0_INTR_MAP

0x9c - register description

source

pub fn mspi_intr_map(&self) -> &MSPI_INTR_MAP

0xa0 - register description

source

pub fn i2s1_intr_map(&self) -> &I2S1_INTR_MAP

0xa4 - register description

source

pub fn uhci0_intr_map(&self) -> &UHCI0_INTR_MAP

0xa8 - register description

source

pub fn uart0_intr_map(&self) -> &UART0_INTR_MAP

0xac - register description

source

pub fn uart1_intr_map(&self) -> &UART1_INTR_MAP

0xb0 - register description

source

pub fn ledc_intr_map(&self) -> &LEDC_INTR_MAP

0xb4 - register description

source

pub fn can0_intr_map(&self) -> &CAN0_INTR_MAP

0xb8 - register description

source

pub fn can1_intr_map(&self) -> &CAN1_INTR_MAP

0xbc - register description

source

pub fn usb_intr_map(&self) -> &USB_INTR_MAP

0xc0 - register description

source

pub fn rmt_intr_map(&self) -> &RMT_INTR_MAP

0xc4 - register description

source

pub fn i2c_ext0_intr_map(&self) -> &I2C_EXT0_INTR_MAP

0xc8 - register description

source

pub fn tg0_t0_intr_map(&self) -> &TG0_T0_INTR_MAP

0xcc - register description

source

pub fn tg0_t1_intr_map(&self) -> &TG0_T1_INTR_MAP

0xd0 - register description

source

pub fn tg0_wdt_intr_map(&self) -> &TG0_WDT_INTR_MAP

0xd4 - register description

source

pub fn tg1_t0_intr_map(&self) -> &TG1_T0_INTR_MAP

0xd8 - register description

source

pub fn tg1_t1_intr_map(&self) -> &TG1_T1_INTR_MAP

0xdc - register description

source

pub fn tg1_wdt_intr_map(&self) -> &TG1_WDT_INTR_MAP

0xe0 - register description

source

pub fn systimer_target0_intr_map(&self) -> &SYSTIMER_TARGET0_INTR_MAP

0xe4 - register description

source

pub fn systimer_target1_intr_map(&self) -> &SYSTIMER_TARGET1_INTR_MAP

0xe8 - register description

source

pub fn systimer_target2_intr_map(&self) -> &SYSTIMER_TARGET2_INTR_MAP

0xec - register description

source

pub fn apb_adc_intr_map(&self) -> &APB_ADC_INTR_MAP

0xf0 - register description

source

pub fn pwm_intr_map(&self) -> &PWM_INTR_MAP

0xf4 - register description

source

pub fn pcnt_intr_map(&self) -> &PCNT_INTR_MAP

0xf8 - register description

source

pub fn parl_io_intr_map(&self) -> &PARL_IO_INTR_MAP

0xfc - register description

source

pub fn slc0_intr_map(&self) -> &SLC0_INTR_MAP

0x100 - register description

source

pub fn slc1_intr_map(&self) -> &SLC1_INTR_MAP

0x104 - register description

source

pub fn dma_in_ch0_intr_map(&self) -> &DMA_IN_CH0_INTR_MAP

0x108 - register description

source

pub fn dma_in_ch1_intr_map(&self) -> &DMA_IN_CH1_INTR_MAP

0x10c - register description

source

pub fn dma_in_ch2_intr_map(&self) -> &DMA_IN_CH2_INTR_MAP

0x110 - register description

source

pub fn dma_out_ch0_intr_map(&self) -> &DMA_OUT_CH0_INTR_MAP

0x114 - register description

source

pub fn dma_out_ch1_intr_map(&self) -> &DMA_OUT_CH1_INTR_MAP

0x118 - register description

source

pub fn dma_out_ch2_intr_map(&self) -> &DMA_OUT_CH2_INTR_MAP

0x11c - register description

source

pub fn gpspi2_intr_map(&self) -> &GPSPI2_INTR_MAP

0x120 - register description

source

pub fn aes_intr_map(&self) -> &AES_INTR_MAP

0x124 - register description

source

pub fn sha_intr_map(&self) -> &SHA_INTR_MAP

0x128 - register description

source

pub fn rsa_intr_map(&self) -> &RSA_INTR_MAP

0x12c - register description

source

pub fn ecc_intr_map(&self) -> &ECC_INTR_MAP

0x130 - register description

source

pub fn intr_status_reg_0(&self) -> &INTR_STATUS_REG_0

0x134 - register description

source

pub fn intr_status_reg_1(&self) -> &INTR_STATUS_REG_1

0x138 - register description

source

pub fn int_status_reg_2(&self) -> &INT_STATUS_REG_2

0x13c - register description

source

pub fn clock_gate(&self) -> &CLOCK_GATE

0x140 - register description

source

pub fn interrupt_reg_date(&self) -> &INTERRUPT_REG_DATE

0x7fc - register description

Trait Implementations§

source§

impl Debug for INTERRUPT_CORE0

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for INTERRUPT_CORE0

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for INTERRUPT_CORE0

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.