NXP LPC1768 Ethernet driver for lwip and CMSIS-RTOS
Dependents: EthernetInterface EthernetInterface EthernetInterface_RSF EthernetInterface ... more
Legacy Networking Libraries
This is an mbed 2 networking library. For mbed 5, the networking libraries have been revised to better support additional network stacks and thread safety here.
This library is based on the code of the NXP LPC port of the Lightweight TCP/IP Stack
Copyright(C) 2011, NXP Semiconductor All rights reserved. Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.
Revision 15:82aaaa2f4d5c, committed 2014-06-11
- Comitter:
- mbed_official
- Date:
- Wed Jun 11 09:30:25 2014 +0100
- Parent:
- 14:578727b0a909
- Child:
- 16:eb4a98a54ad0
- Commit message:
- Synchronized with git revision ff65c63a80830b0c36f91f13488d79bafef442e6
Full URL: https://github.com/mbedmicro/mbed/commit/ff65c63a80830b0c36f91f13488d79bafef442e6/
Add support for remote CAN frames on LPC11CXX
Changed in this revision
arch/TARGET_K64F/k64f_emac.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/arch/TARGET_K64F/k64f_emac.c Mon Jun 09 15:00:19 2014 +0100 +++ b/arch/TARGET_K64F/k64f_emac.c Wed Jun 11 09:30:25 2014 +0100 @@ -27,6 +27,7 @@ extern IRQn_Type enet_irq_ids[HW_ENET_INSTANCE_COUNT][FSL_FEATURE_ENET_INTERRUPT_COUNT]; extern uint8_t enetIntMap[kEnetIntNum]; +extern void *enetIfHandle; /******************************************************************************** * Internal data @@ -855,6 +856,22 @@ interrupt_disable(enet_irq_ids[BOARD_DEBUG_ENET_INSTANCE][enetIntMap[kEnetTxfInt]]); } +void ENET_Transmit_IRQHandler(void) +{ + enet_mac_tx_isr(enetIfHandle); +} + +void ENET_Receive_IRQHandler(void) +{ + enet_mac_rx_isr(enetIfHandle); +} + +#if FSL_FEATURE_ENET_SUPPORT_PTP +void ENET_1588_Timer_IRQHandler(void) +{ + enet_mac_ts_isr(enetIfHandle); +} +#endif /** * @} */