Example of code that returns information about the status of the Ethernet connection.
Dependencies: EthernetInterface mbed-rtos mbed
Diff: eth_status.h
- Revision:
- 1:67817eb9bb9e
- Parent:
- 0:9e8b3fd68f6c
diff -r 9e8b3fd68f6c -r 67817eb9bb9e eth_status.h --- a/eth_status.h Wed Jan 15 20:37:57 2014 +0000 +++ b/eth_status.h Thu Jan 16 13:28:17 2014 +0000 @@ -35,7 +35,7 @@ } // This function returns the current value in the MII data register. -u32_t mii_read_data() +static u32_t mii_read_data() { return lpc_mii_read_data(); // 16-bit MRDD - address 0x2008 4030 } \ No newline at end of file