cancel
Showing results for 
Search instead for 
Did you mean: 

Complementary of square signal

AAbed.1
Associate III

Hi All;

I used the following instruction for STM32F429I, but there is error.

Could one help me please.

 void EXTI0_IRQHandler(void)

{

if (EXTI_GetITStatus(EXTI_Line0) != RESET) // Here the ERROR <--------------------

{

 /* USER CODE BEGIN EXTI0_IRQn 0 */

 if(HAL_GPIO_ReadPin(GPIOB, GPIO_PIN_0)) 

{

HAL_GPIO_WritePin(GPIOG,GPIO_PIN_13, 0);

 } else {

HAL_GPIO_WritePin(GPIOG,GPIO_PIN_13, 1);

}

  

 HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_0);

 /* USER CODE BEGIN EXTI0_IRQn 1 */

 /* USER CODE END EXTI0_IRQn 1 */

}

}

1 REPLY 1
Piranha
Chief II

Read the error message!