CC26xx Driver Library
smph.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "../inc/hw_types.h"
#include "../inc/hw_smph.h"
#include "../inc/hw_memmap.h"
#include "debug.h"

Macros

#define SMPH_FREE   0x00000001
 
#define SMPH_CLAIMED   0x00000000
 
#define SMPH_0   0
 
#define SMPH_1   1
 
#define SMPH_2   2
 
#define SMPH_3   3
 
#define SMPH_4   4
 
#define SMPH_5   5
 
#define SMPH_6   6
 
#define SMPH_7   7
 
#define SMPH_8   8
 
#define SMPH_9   9
 
#define SMPH_10   10
 
#define SMPH_11   11
 
#define SMPH_12   12
 
#define SMPH_13   13
 
#define SMPH_14   14
 
#define SMPH_15   15
 
#define SMPH_16   16
 
#define SMPH_17   17
 
#define SMPH_18   18
 
#define SMPH_19   19
 
#define SMPH_20   20
 
#define SMPH_21   21
 
#define SMPH_22   22
 
#define SMPH_23   23
 
#define SMPH_24   24
 
#define SMPH_25   25
 
#define SMPH_26   26
 
#define SMPH_27   27
 
#define SMPH_28   28
 
#define SMPH_29   29
 
#define SMPH_30   30
 
#define SMPH_31   31
 

Functions

void SMPHAcquire (uint32_t ui32Semaphore)
 Acquire a semaphore. More...
 
static bool SMPHTryAcquire (uint32_t ui32Semaphore)
 Try to Acquire a semaphore. More...
 
static void SMPHRelease (uint32_t ui32Semaphore)
 Release a semaphore. More...