STM32F7 NVIC INQUIRY
I see a problem with your set up:

GPIOC_KEY_Struct.Pin = GPIO_PIN_0;
GPIOC_KEY_Struct.Mode = GPIO_MODE_IT_RISING;
GPIOC_KEY_Struct.Pull = GPIO_PULLUP;
GPIOC_KEY_Struct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOI, &amp;GPIOC_KEY_Struct);

GPIO_InitTypeDef GPIOI_KEY_Struct;
GPIOC_KEY_Struct.Pin = GPIO_PIN_0;
GPIOC_KEY_Struct.Mode = GPIO_MODE_IT_RISING;
GPIOC_KEY_Struct.Pull = GPIO_PULLUP;
GPIOC_KEY_Struct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOA, &amp;GPIOI_KEY_Struct);


It looks like you copy/pasted the code and changed the name in the declaration of the GPIO_InitTypeDef in the second set, but not the rest of the variable names, it should be:

GPIO_InitTypeDef GPIOI_KEY_Struct;
GPIOI_KEY_Struct.Pin = GPIO_PIN_0;
GPIOI_KEY_Struct.Mode = GPIO_MODE_IT_RISING;
GPIOI_KEY_Struct.Pull = GPIO_PULLUP;
GPIOI_KEY_Struct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOA, &amp;GPIOI_KEY_Struct);


Notice I changed GPIOC_KEY_Struct to GPIOI_KEY_Struct?