/* param base SEMA4 peripheral base address. param gateNum Gate number to lock. param procNum Current processor number.  */
void SEMA4_Lock(SEMA4_Type *base, uint8_t gateNum, uint8_t procNum)
/* param base SEMA4 peripheral base address. param gateNum Gate number to lock. param procNum Current processor number.  */
void SEMA4_Lock(SEMA4_Type *base, uint8_t gateNum, uint8_t procNum)
{
    while (kStatus_Success != SEMA4_TryLock(base, gateNum, procNum))
    {
    }
}