This fork captures the mbed lib v125 for ease of integration into older projects.
Fork of mbed-dev by
Diff: hal/gpio_api.h
- Revision:
- 187:92cbb9eec47b
- Parent:
- 167:e84263d55307
--- a/hal/gpio_api.h Fri Jun 22 16:45:37 2018 +0100 +++ b/hal/gpio_api.h Fri Jul 20 21:24:42 2018 +0000 @@ -1,6 +1,3 @@ - -/** \addtogroup hal */ -/** @{*/ /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -83,30 +80,30 @@ /** Init the input pin and set mode to PullDefault * - * @param gpio The GPIO object - * @param pin The pin name + * @param obj The GPIO object + * @param pin The pin name */ void gpio_init_in(gpio_t* gpio, PinName pin); /** Init the input pin and set the mode * - * @param gpio The GPIO object - * @param pin The pin name - * @param mode The pin mode to be set + * @param obj The GPIO object + * @param pin The pin name + * @param mode The pin mode to be set */ void gpio_init_in_ex(gpio_t* gpio, PinName pin, PinMode mode); /** Init the output pin as an output, with predefined output value 0 * - * @param gpio The GPIO object - * @param pin The pin name - * @return An integer value 1 or 0 + * @param obj The GPIO object + * @param pin The pin name + * @return An integer value 1 or 0 */ void gpio_init_out(gpio_t* gpio, PinName pin); /** Init the pin as an output and set the output value * - * @param gpio The GPIO object + * @param obj The GPIO object * @param pin The pin name * @param value The value to be set */ @@ -114,7 +111,7 @@ /** Init the pin to be in/out * - * @param gpio The GPIO object + * @param obj The GPIO object * @param pin The pin name * @param direction The pin direction to be set * @param mode The pin mode to be set @@ -129,5 +126,3 @@ #endif #endif - -/** @}*/