39 #ifndef CSL_SPINLOCK_H_ 40 #define CSL_SPINLOCK_H_ 47 #include <ti/csl/cslr_spinlock.h> 64 #define CSL_SPINLOCK_ERROR_RETURN ((uint32_t)-1) uint32_t SPINLOCKGetNumLocks(uint32_t baseAddr)
This API provides returns the number of locks supported. .
uint32_t SPINLOCKLockStatusSet(uint32_t baseAddr, uint32_t lockNumber)
This API performs the Read operation for Lock status of the SPINLOCK_LOCK_REG, in order to acquire a ...
uint32_t SPINLOCKRevision(uint32_t baseAddr)
This API provides the SPINLOCK_REVISION of the SPINLOCK module. .
uint32_t SPINLOCKSystatus(uint32_t baseAddr)
This API provides the status of each bank of 32 locks that can be read from the SPINLOCK_SYSTATUS reg...
void SPINLOCKModuleReset(uint32_t baseAddr)
This API performs the module reset of the Spinlock module. It also waits until the reset process is c...
uint32_t SPINLOCKSystatusIU(uint32_t baseAddr, uint32_t lockGroup)
This API provides the lock status of the specified group of lock registers. .
uint32_t SPINLOCKSystatusIU0(uint32_t baseAddr)
This API provides the lock status of the Spinlock module. .
void SPINLOCKLockStatusFree(uint32_t baseAddr, uint32_t lockNumber)
This API performs the write operation for Lock status of the SPINLOCK_LOCK_REG, in order to Free the ...