/* param base RDC_SEMA42 peripheral base address. param gateNum Gate number to lock. param masterIndex Current processor master index. param domainId Current processor domain ID.  */
void RDC_SEMA42_Lock(RDC_SEMAPHORE_Type *base, uint8_t gateNum, uint8_t masterIndex, uint8_t domainId)
/* param base RDC_SEMA42 peripheral base address. param gateNum Gate number to lock. param masterIndex Current processor master index. param domainId Current processor domain ID.  */
void RDC_SEMA42_Lock(RDC_SEMAPHORE_Type *base, uint8_t gateNum, uint8_t masterIndex, uint8_t domainId)
{
    while (kStatus_Success != RDC_SEMA42_TryLock(base, gateNum, masterIndex, domainId))
    {
    }
}