Function stm32_eth::eth_interrupt_handler
source · [−]pub fn eth_interrupt_handler(eth_dma: ÐERNET_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