mbed TLS v2.2.0
Macros | Typedefs
slpal_common.h File Reference
#include "mbedtls_ecode.h"
Include dependency graph for slpal_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SLPAL_ERROR_TIMEOUT   ((int)MBEDTLS_ERR_SLPAL_BASE | 0x1)
 
#define SLPAL_ERROR_OS_SPECIFIC   ((int)MBEDTLS_ERR_SLPAL_BASE | 0x2)
 
#define RUNNING_AT_INTERRUPT_LEVEL   (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk)
 

Typedefs

typedef uint32_t SLPAL_irqState_t
 Storage for PRIMASK or BASEPRI value used for SLPAL critical regions. More...
 

Macro Definition Documentation

#define RUNNING_AT_INTERRUPT_LEVEL   (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk)

Definition at line 37 of file slpal_common.h.

Referenced by SLPAL_ThreadPriorityGet().

#define SLPAL_ERROR_OS_SPECIFIC   ((int)MBEDTLS_ERR_SLPAL_BASE | 0x2)

Definition at line 30 of file slpal_common.h.

#define SLPAL_ERROR_TIMEOUT   ((int)MBEDTLS_ERR_SLPAL_BASE | 0x1)

Definition at line 29 of file slpal_common.h.

Referenced by SLPAL_TakeMutex(), and SLPAL_WaitForCompletion().

Typedef Documentation

typedef uint32_t SLPAL_irqState_t

Storage for PRIMASK or BASEPRI value used for SLPAL critical regions.

SLPAL_CriticalEnter returns the current state, which is subsequently passed to SLPAL_CriticalExit in order to restore the state.

Definition at line 46 of file slpal_common.h.