/* Deinitializes the EXTI peripheral registers to their default reset values.  */
void EXTI_DeInit(void)
/* Deinitializes the EXTI peripheral registers to their default reset values.  */
void EXTI_DeInit(void)
{
    u16 i;
    exEXTI_LineDisable(~0x00000000);
    EXTI->PR = EXTI->PR;
    EXTI->CFGR &= EXTI_CFGR_MEMMODE;
    for (i = 0; i < 4; i++) {
        EXTI->CR[i] = 0;
    }
}