#include <stdbool.h>
#include <stdint.h>
#include "../inc/hw_types.h"
#include "../inc/hw_aux_smph.h"
#include "../inc/hw_memmap.h"
#include "debug.h"
Macros | |
#define | AUX_SMPH_FREE 0x00000001 |
#define | AUX_SMPH_CLAIMED 0x00000000 |
#define | AUX_SMPH_0 0 |
#define | AUX_SMPH_1 1 |
#define | AUX_SMPH_2 2 |
#define | AUX_SMPH_3 3 |
#define | AUX_SMPH_4 4 |
#define | AUX_SMPH_5 5 |
#define | AUX_SMPH_6 6 |
#define | AUX_SMPH_7 7 |
Functions | |
static void | AUXSMPHAcquire (uint32_t ui32Semaphore) |
Acquire an AUX semaphore. More... | |
static bool | AUXSMPHTryAcquire (uint32_t ui32Semaphore) |
Try to acquire an AUX semaphore. More... | |
static void | AUXSMPHRelease (uint32_t ui32Semaphore) |
Release an AUX semaphore by System CPU master. More... | |