mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: hal/gpio_api.h
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
diff -r c97ed07ec1a8 -r e84263d55307 hal/gpio_api.h --- a/hal/gpio_api.h Thu Jun 08 15:02:37 2017 +0100 +++ b/hal/gpio_api.h Wed Jun 21 17:46:44 2017 +0100 @@ -83,30 +83,30 @@ /** Init the input pin and set mode to PullDefault * - * @param obj The GPIO object - * @param pin The pin name + * @param gpio 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 obj The GPIO object - * @param pin The pin name - * @param mode The pin mode to be set + * @param gpio 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 obj The GPIO object - * @param pin The pin name - * @return An integer value 1 or 0 + * @param gpio 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 obj The GPIO object + * @param gpio The GPIO object * @param pin The pin name * @param value The value to be set */ @@ -114,7 +114,7 @@ /** Init the pin to be in/out * - * @param obj The GPIO object + * @param gpio The GPIO object * @param pin The pin name * @param direction The pin direction to be set * @param mode The pin mode to be set