mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
SAMA5 Ethernet: Add support for PHY interrupts
This commit is contained in:
@@ -182,6 +182,19 @@ extern "C" {
|
||||
|
||||
void sam_boardinitialize(void);
|
||||
|
||||
/************************************************************************************
|
||||
* Name: sam_phyirq
|
||||
*
|
||||
* Description:
|
||||
* This function may be called to register an interrupt handler that will be
|
||||
* called when an interrupt is received from a PHY.
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#if defined(CONFIG_NET) && (defined(CONFIG_SAMA5_EMAC) || defined(CONFIG_SAMA5_GMAC))
|
||||
xcpt_t sam_phyirq(int intf, xcpt_t irqhandler);
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Name: sam_ledinit, sam_setled, and sam_setleds
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user