/* This function disables glitch filters and active tampers This function disables the TDET clock and prescaler in TDET Control Register. param base TDET peripheral base address  */
void TDET_Deinit(DIGTMP_Type *base)
/* This function disables glitch filters and active tampers This function disables the TDET clock and prescaler in TDET Control Register. param base TDET peripheral base address  */
void TDET_Deinit(DIGTMP_Type *base)
{
    uint32_t i, j, k;
    j = ARRAY_SIZE(base->PGFR);
    k = ARRAY_SIZE(base->ATR);
    for (i = 0; i < j; i++)
    {
        base->PGFR[i] = 0;
    }
    for (i = 0; i < k; i++)
    {
        base->ATR[i] = 0;
    }
    base->CR &= ~DIGTMP_CR_DEN_MASK;
}