17#define SDRV_SEMAG_NUM (32UL)
18#define SDRV_SEMAG_PROCESSOR_NUM (8UL)
SemiDrive driver common header file.
int32_t status_t
Type used for all status and error return values.
Definition: sdrv_common.h:82
status_t sdrv_semag_trylock(uint32_t gate_idx)
Tries to lock the SEMAG gate.
status_t sdrv_semag_clear_notify_status(uint32_t mask)
Clear the gate notification interrupt status.
uint32_t sdrv_semag_get_notify_status(void)
Get the gate notification flags.
status_t sdrv_semag_disable_gate_notify_interrupt(uint32_t mask)
Disable the gate notification interrupt.
status_t sdrv_semag_reset_all_gate(void)
Resets all SEMAG gates to an unlocked status.
status_t sdrv_semag_lock(uint32_t gate_idx)
Locks the SEMAG gate.
int32_t sdrv_semag_get_lock_proc(uint32_t gate_idx)
Gets the status of the SEMAG gate.
status_t sdrv_semag_unlock(uint32_t gate_idx)
Unlocks the SEMAG gate.
status_t sdrv_semag_enable_gate_notify_interrupt(uint32_t mask)
Enable the gate notification interrupt.