How to enable GPIO inputs for INTERRUPT MODE ?
The H745 Datasheet says General-purpose input/outputs : Up to 168 I/O ports with interrupt capability
Yet, every pin I select as GPIO (ex. PORTC.13 (PIN E3)), only lists INPUT or OUPUT options, but no Interrupt mode.
If I bypass the Stm32CubeIde 1.3.1's auto-code-generation, and forcefully initialize a GPIO to interrupt.. reading the PIN works, but the interrupt does not:
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Pin = GPIO_PIN_13;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
/* Enable and set EXTI lines 15 to 10 Interrupt to the lowest priority */
HAL_NVIC_SetPriority(EXTI15_10_IRQn, 2, 0);
HAL_NVIC_EnableIRQ(EXTI15_10_IRQn);
/* Configure the EXTI line for IT*/
HAL_EXTI_D1_EventInputConfig(EXTI_LINE13 , EXTI_MODE_IT, ENABLE);How can I make any GPIO issue a interrupt?
