void ETH_IRQHandler(void) {

	GPIOD->ODR ^= GPIO_ODR_ODR_15; // toggle blue diode

	HAL_ETH_IRQHandler(&heth_global);

}
Example #2
0
File: eth.c Project: 0xBADCA7/lk
void stm32_ETH_IRQ(void)
{
    arm_cm_irq_entry();

    HAL_ETH_IRQHandler(&eth.EthHandle);

    arm_cm_irq_exit(true);
}
/**
* @brief This function handles Ethernet global interrupt.
*/
void ETH_IRQHandler(void)
{
  /* USER CODE BEGIN ETH_IRQn 0 */

  /* USER CODE END ETH_IRQn 0 */
  HAL_ETH_IRQHandler(&heth);
  /* USER CODE BEGIN ETH_IRQn 1 */

  /* USER CODE END ETH_IRQn 1 */
}
Example #4
0
static void stm32f_ethernet_isr( void *argData )
{
  ETH_HandleTypeDef *pEth =
    (ETH_HandleTypeDef *) argData;

  uint32_t init_rx_count = num_ethernet_rx_msg;

  HAL_ETH_IRQHandler( pEth );

  // This != accounts for the roll over case.
  if(num_ethernet_rx_msg != init_rx_count) {
      osSemaphoreRelease( s_xSemaphore );
  }
}
Example #5
0
/**
 * @brief  Ethernet IRQ Handler
 * @param  None
 * @retval None
 */
void ETHERNET_IRQHandler( void )
{
  HAL_ETH_IRQHandler( &EthHandle );
}