/* param base TDET peripheral base address param result Pointer to uint32_t where to write Status Register read value. Use tdet_status_flag_t to decode individual flags. return kStatus_Fail when Status Register reading is not allowed return kStatus_Success when result is written with the Status Register read value  */
status_t TDET_GetStatusFlags(DIGTMP_Type *base, uint32_t *result)
/* param base TDET peripheral base address param result Pointer to uint32_t where to write Status Register read value. Use tdet_status_flag_t to decode individual flags. return kStatus_Fail when Status Register reading is not allowed return kStatus_Success when result is written with the Status Register read value  */
status_t TDET_GetStatusFlags(DIGTMP_Type *base, uint32_t *result)
{
    status_t status;
    if (result != NULL)
    {
        *result = base->SR;
        status  = kStatus_Success;
    }
    else
    {
        status = kStatus_Fail;
    }
    return status;
}