Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
link/nic.h
- Committer:
- andrewboyson
- Date:
- 2017-12-16
- Revision:
- 60:1d8c7a1e7483
- Parent:
- 59:e0e556c8bd46
- Child:
- 61:aad055f1b0d1
File content as of revision 60:1d8c7a1e7483:
extern int NicInit(void); extern void NicLinkAddress(char *mac); // get the ethernet address extern int NicLinkIsUp(void); // see if the link is up extern void NicLinkSpeedDuplex(int speed, int duplex); // force link settings extern char* NicGetReceivedPacketOrNull(int* pSize); extern void NicReleaseReceivedPacket(); extern char* NicGetTransmitPacketOrNull(int* pSize); extern void NicSendTransmitPacket(int size);