46 #ifndef __AUX_SMPH_H__
47 #define __AUX_SMPH_H__
62 #include <inc/hw_types.h>
63 #include <inc/hw_aux_smph.h>
64 #include <inc/hw_memmap.h>
72 #define AUX_SMPH_FREE 0x00000001 // MCU Semaphore has not been claimed
73 #define AUX_SMPH_CLAIMED 0x00000000 // MCU Semaphore has been claimed
81 #define AUX_SMPH_0 0 // AUX Semaphore 0
82 #define AUX_SMPH_1 1 // AUX Semaphore 1
83 #define AUX_SMPH_2 2 // AUX Semaphore 2
84 #define AUX_SMPH_3 3 // AUX Semaphore 3
85 #define AUX_SMPH_4 4 // AUX Semaphore 4
86 #define AUX_SMPH_5 5 // AUX Semaphore 5
87 #define AUX_SMPH_6 6 // AUX Semaphore 6
88 #define AUX_SMPH_7 7 // AUX Semaphore 7
177 uint32_t ui32SemaReg;
260 #endif // __AUX_SMPH_H__
__STATIC_INLINE void AUXSMPHAcquire(uint32_t ui32Semaphore)
Acquire an AUX semaphore.
__STATIC_INLINE bool AUXSMPHTryAcquire(uint32_t ui32Semaphore)
Try to acquire an AUX semaphore.
__STATIC_INLINE void AUXSMPHRelease(uint32_t ui32Semaphore)
Release an AUX semaphore by CM3 master.