48 #ifndef __AUX_SMPH_H__
49 #define __AUX_SMPH_H__
64 #include <inc/hw_types.h>
65 #include <inc/hw_aux_smph.h>
66 #include <inc/hw_memmap.h>
74 #define AUX_SMPH_FREE 0x00000001 // MCU Semaphore has not been claimed
75 #define AUX_SMPH_CLAIMED 0x00000000 // MCU Semaphore has been claimed
83 #define AUX_SMPH_0 0 // AUX Semaphore 0
84 #define AUX_SMPH_1 1 // AUX Semaphore 1
85 #define AUX_SMPH_2 2 // AUX Semaphore 2
86 #define AUX_SMPH_3 3 // AUX Semaphore 3
87 #define AUX_SMPH_4 4 // AUX Semaphore 4
88 #define AUX_SMPH_5 5 // AUX Semaphore 5
89 #define AUX_SMPH_6 6 // AUX Semaphore 6
90 #define AUX_SMPH_7 7 // AUX Semaphore 7
179 uint32_t ui32SemaReg;
262 #endif // __AUX_SMPH_H__
static bool AUXSMPHTryAcquire(uint32_t ui32Semaphore)
Try to acquire an AUX semaphore.
static void AUXSMPHAcquire(uint32_t ui32Semaphore)
Acquire an AUX semaphore.
static void AUXSMPHRelease(uint32_t ui32Semaphore)
Release an AUX semaphore by System CPU master.