Lines Matching refs:IRQn
18 void NVIC_SetPendingIRQ(IRQn_Type IRQn) in NVIC_SetPendingIRQ() argument
20 hw_irq_ctrl_raise_im_from_sw(CONFIG_NATIVE_SIMULATOR_MCU_N, IRQn); in NVIC_SetPendingIRQ()
23 void NVIC_ClearPendingIRQ(IRQn_Type IRQn) in NVIC_ClearPendingIRQ() argument
25 hw_irq_ctrl_clear_irq(CONFIG_NATIVE_SIMULATOR_MCU_N, IRQn); in NVIC_ClearPendingIRQ()
28 void NVIC_DisableIRQ(IRQn_Type IRQn) in NVIC_DisableIRQ() argument
30 hw_irq_ctrl_disable_irq(CONFIG_NATIVE_SIMULATOR_MCU_N, IRQn); in NVIC_DisableIRQ()
33 uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn) in NVIC_GetPendingIRQ() argument
35 return hw_irq_ctrl_is_irq_pending(CONFIG_NATIVE_SIMULATOR_MCU_N, IRQn); in NVIC_GetPendingIRQ()
38 void NVIC_EnableIRQ(IRQn_Type IRQn) in NVIC_EnableIRQ() argument
40 hw_irq_ctrl_enable_irq(CONFIG_NATIVE_SIMULATOR_MCU_N, IRQn); in NVIC_EnableIRQ()
43 uint32_t NVIC_GetEnableIRQ(IRQn_Type IRQn) in NVIC_GetEnableIRQ() argument
45 return hw_irq_ctrl_is_irq_enabled(CONFIG_NATIVE_SIMULATOR_MCU_N, IRQn); in NVIC_GetEnableIRQ()
48 void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) in NVIC_SetPriority() argument
50 hw_irq_ctrl_prio_set(CONFIG_NATIVE_SIMULATOR_MCU_N, IRQn, priority); in NVIC_SetPriority()
53 uint32_t NVIC_GetPriority(IRQn_Type IRQn) in NVIC_GetPriority() argument
55 return hw_irq_ctrl_get_prio(CONFIG_NATIVE_SIMULATOR_MCU_N, IRQn); in NVIC_GetPriority()