Home
last modified time | relevance | path

Searched refs:irqState (Results 1 – 2 of 2) sorted by relevance

/hal_silabs-3.5.0/gecko/emlib/src/
Dem_core.c314 CORE_irqState_t irqState = __get_PRIMASK(); in CORE_EnterCritical() local
316 return irqState; in CORE_EnterCritical()
328 SL_WEAK void CORE_ExitCritical(CORE_irqState_t irqState) in CORE_ExitCritical() argument
330 if (irqState == 0U) { in CORE_ExitCritical()
414 CORE_irqState_t irqState = __get_BASEPRI(); in CORE_EnterAtomic() local
416 return irqState; in CORE_EnterAtomic()
418 CORE_irqState_t irqState = __get_PRIMASK(); in CORE_EnterAtomic()
420 return irqState; in CORE_EnterAtomic()
437 SL_WEAK void CORE_ExitAtomic(CORE_irqState_t irqState) in CORE_ExitAtomic() argument
440 __set_BASEPRI(irqState); in CORE_ExitAtomic()
[all …]
/hal_silabs-3.5.0/gecko/emlib/inc/
Dem_core.h120 #define CORE_DECLARE_IRQ_STATE CORE_irqState_t irqState
141 #define CORE_ENTER_CRITICAL() irqState = CORE_EnterCritical()
145 #define CORE_EXIT_CRITICAL() CORE_ExitCritical(irqState)
173 #define CORE_ENTER_ATOMIC() irqState = CORE_EnterAtomic()
177 #define CORE_EXIT_ATOMIC() CORE_ExitAtomic(irqState)
268 void CORE_ExitCritical(CORE_irqState_t irqState);
274 void CORE_ExitAtomic(CORE_irqState_t irqState);