mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Revision:
576:99a3d3d9c43f
Parent:
567:a97fd0eca828
--- a/targets/hal/TARGET_WIZNET/TARGET_W7500x/gpio_api.c	Wed Jun 24 09:45:13 2015 +0100
+++ b/targets/hal/TARGET_WIZNET/TARGET_W7500x/gpio_api.c	Tue Jun 30 09:45:08 2015 +0100
@@ -34,14 +34,14 @@
 
 extern uint32_t Get_GPIO_BaseAddress(uint32_t port_idx);
 
-//uint32_t gpio_set(PinName pin)
-//{
-//    MBED_ASSERT(pin != (PinName)NC);
+uint32_t gpio_set(PinName pin)
+{
+    MBED_ASSERT(pin != (PinName)NC);
 
-//    //pin_function(pin, WIZ_PIN_DATA(WIZ_MODE_INPUT, WIZ_GPIO_NOPULL, 1));
+    pin_function(pin, WIZ_PIN_DATA(WIZ_MODE_INPUT, WIZ_GPIO_NOPULL, Px_AFSR_AF1));
 
-//    return (uint32_t)(1 << ((uint32_t)pin & 0xF)); // Return the pin mask
-//}
+    return (uint32_t)(1 << ((uint32_t)pin & 0xF)); // Return the pin mask
+}
 
 void gpio_init(gpio_t *obj, PinName pin)
 {