/* param base TDET peripheral base address param tamperTimeSeconds Time in seconds at which the tamper detection SR flag was set. return kStatus_Fail when Tamper Seconds Register reading is not allowed return kStatus_Success when Tamper Seconds Register is read  */
status_t TDET_GetTamperTimeSeconds(DIGTMP_Type *base, uint32_t *tamperTimeSeconds)
/* param base TDET peripheral base address param tamperTimeSeconds Time in seconds at which the tamper detection SR flag was set. return kStatus_Fail when Tamper Seconds Register reading is not allowed return kStatus_Success when Tamper Seconds Register is read  */
status_t TDET_GetTamperTimeSeconds(DIGTMP_Type *base, uint32_t *tamperTimeSeconds)
{
    status_t status;
    if (tamperTimeSeconds != NULL)
    {
        *tamperTimeSeconds = base->TSR;
        status             = kStatus_Success;
    }
    else
    {
        status = kStatus_Fail;
    }
    return status;
}