Skip to main content
AAbed.1
Associate III
July 6, 2020
Question

Complementary of square signal

  • July 6, 2020
  • 1 reply
  • 635 views

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 */

}

}

This topic has been closed for replies.

1 reply

Piranha
Principal III
July 6, 2020

Read the error message!