MAX32665 SDK Documentation  0.2
Software Development Kit Overview and API Documentation
SEMA_Registers

Registers, Bit Masks and Bit Positions for the SEMA Peripheral Module. More...

Modules

 Register Offsets
 SEMA Peripheral Register Offsets from the SEMA Base Peripheral Address.
 
 SEMA_SEMAPHORES
 Read to test and set, returns prior value.
 
 SEMA_STATUS
 Semaphore status bits.
 

Data Structures

struct  mxc_sema_regs_t
 Structure type to access the SEMA Registers. More...
 

Detailed Description

The Semaphore peripheral allows multiple cores in a system to cooperate when accessing shred resources. The peripheral contains eight semaphores that can be atomically set and cleared. It is left to the discretion of the software architect to decide how and when the semaphores are used and how they are allocated. Existing hardware does not have to be modified for this type of cooperative sharing, and the use of semaphores is exclusively within the software domain.