pub fn eth_interrupt_handler(eth_dma: &ETHERNET_DMA)
Expand description

Call in interrupt handler to clear interrupt reason, when enable_interrupt().

There are two ways to call this:

  • Via the EthernetDMA driver instance that your interrupt handler has access to.
  • By unsafely getting Peripherals.

TODO: could return interrupt reason