File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
boards/native/nrf_bsim/common/cmsis Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ void NVIC_DisableIRQ(IRQn_Type IRQn)
3030 hw_irq_ctrl_disable_irq (CONFIG_NATIVE_SIMULATOR_MCU_N , IRQn );
3131}
3232
33+ uint32_t NVIC_GetPendingIRQ (IRQn_Type IRQn )
34+ {
35+ return hw_irq_ctrl_is_irq_pending (CONFIG_NATIVE_SIMULATOR_MCU_N , IRQn );
36+ }
37+
3338void NVIC_EnableIRQ (IRQn_Type IRQn )
3439{
3540 hw_irq_ctrl_enable_irq (CONFIG_NATIVE_SIMULATOR_MCU_N , IRQn );
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ void __set_PRIMASK(uint32_t primask);
3030void NVIC_SetPendingIRQ (IRQn_Type IRQn );
3131void NVIC_ClearPendingIRQ (IRQn_Type IRQn );
3232void NVIC_DisableIRQ (IRQn_Type IRQn );
33+ uint32_t NVIC_GetPendingIRQ (IRQn_Type IRQn );
3334void NVIC_EnableIRQ (IRQn_Type IRQn );
3435void NVIC_SetPriority (IRQn_Type IRQn , uint32_t priority );
3536uint32_t NVIC_GetPriority (IRQn_Type IRQn );
You can’t perform that action at this time.
0 commit comments