Stm32 没有生成下降沿回调函数

Stm32 没有生成下降沿回调函数,stm32,stm32f4discovery,stm32f4,nucleo,stm32cubeide,Stm32,Stm32f4discovery,Stm32f4,Nucleo,Stm32cubeide,stm32CubeIDE | stm32F446Re核子 我正在努力学习本教程[STM32CubeIDE基础知识-12 FreeRTOS基础实验室] 因此,我打算在使用“带下降沿触发检测的外部中断模式”的电路板[PIN PC13]上的蓝色按钮上添加一个外部中断 . 当我转到to文件STM32F4xx\u HAL\u Driver/Src/STM32F4xx\u HAL\u gpio.c时,他在视频中使用的回调函数[在27:15]void HAL\u gpio\u EXT1\u Falling\

stm32CubeIDE | stm32F446Re核子

我正在努力学习本教程[STM32CubeIDE基础知识-12 FreeRTOS基础实验室]

因此,我打算在使用“带下降沿触发检测的外部中断模式”的电路板[PIN PC13]上的蓝色按钮上添加一个外部中断 . 当我转到to文件
STM32F4xx\u HAL\u Driver/Src/STM32F4xx\u HAL\u gpio.c
时,他在视频中使用的回调函数[在27:15]
void HAL\u gpio\u EXT1\u Falling\u callback(uint16\u gpio\u Pin)
不存在。这有关系吗?是否有人知道工作环境或如何进行下降沿触发

谢谢

这是文件的一部分,它应该在那里

/**
  * @brief  This function handles EXTI interrupt request.
  * @param  GPIO_Pin Specifies the pins connected EXTI line
  * @retval None
  */
void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin)
{
  /* EXTI line interrupt detected */
  if(__HAL_GPIO_EXTI_GET_IT(GPIO_Pin) != RESET)
  {
    __HAL_GPIO_EXTI_CLEAR_IT(GPIO_Pin);
    HAL_GPIO_EXTI_Callback(GPIO_Pin);
  }
}

/**
  * @brief  EXTI line detection callbacks.
  * @param  GPIO_Pin Specifies the pins connected EXTI line
  * @retval None
  */
__weak void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
  /* Prevent unused argument(s) compilation warning */
  UNUSED(GPIO_Pin);
  /* NOTE: This function Should not be modified, when the callback is needed,
           the HAL_GPIO_EXTI_Callback could be implemented in the user file
   */
}

/**
  * @}
  */