/* param base TDET peripheral base address return kStatus_Fail when Tamper Seconds Register writing is not allowed return kStatus_Success when Tamper Seconds Register is written  */
status_t TDET_ForceTamper(DIGTMP_Type *base)
/* param base TDET peripheral base address return kStatus_Fail when Tamper Seconds Register writing is not allowed return kStatus_Success when Tamper Seconds Register is written  */
status_t TDET_ForceTamper(DIGTMP_Type *base)
{
    status_t status;
    if (tdet_IsRegisterWriteAllowed(base, DIGTMP_LR_TSL_MASK))
    {
        base->TSR = 0;
        status    = kStatus_Success;
    }
    else
    {
        status = kStatus_Fail;
    }
    return status;
}