Question
GPIO mode change
Hi,
I set it to GPIO Input mode and am using it.
When I receive any signal during MCU operation, I want to convert it to Input -> EXTI mode.
I wrote these codes at the moment, but there seems to be a problem.
My Init code :
GPIO_InitStruct.Pin = ADC_START_SIGNAL_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(ADC_START_SIGNAL_GPIO_Port, &GPIO_InitStruct);
How should I do it?
Thank you.
