You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am relatively new to working with the cortex-m crate.
I am working on debugging a spi slave implementation and would like to check whether or not my SPI0_IRQ is enabled in the ISER register, and if not, I will enable it.
I based my work off the examples/device.rs project,
where the following does what I would desire. let nvic = p.NVIC; nvic.enable(Interrupts::SPI0_IRQ);
However, i find that the function "enable" does not exist.
I am working in the RTIC environment with an RP2040.
I try: let mut nvic = c.core.NVIC; nvic::enable(Interrupt::SPI0_IRQ);
Is there a new way to interact with the NVIC, or am I missing something?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi guys,
I am relatively new to working with the cortex-m crate.
I am working on debugging a spi slave implementation and would like to check whether or not my SPI0_IRQ is enabled in the ISER register, and if not, I will enable it.
I based my work off the examples/device.rs project,
where the following does what I would desire.
let nvic = p.NVIC; nvic.enable(Interrupts::SPI0_IRQ);
However, i find that the function "enable" does not exist.
I am working in the RTIC environment with an RP2040.
I try:
let mut nvic = c.core.NVIC; nvic::enable(Interrupt::SPI0_IRQ);
Is there a new way to interact with the NVIC, or am I missing something?
Thanks in advance
The text was updated successfully, but these errors were encountered: