gpio: stm32f: Fix function name in example

This commit is contained in:
Lukas 2016-06-24 21:51:53 +02:00 committed by Karl Palsson
parent d3fff11c1f
commit 18e15c133d

View File

@ -32,7 +32,7 @@ Example 1: Push-pull digital output actions with pullup on ports C2 and C9
@code
gpio_mode_setup(GPIOC, GPIO_MODE_OUTPUT,
GPIO_PUPD_PULLUP, GPIO2 | GPIO9);
gpio_output_options(GPIOC, GPIO_OTYPE_PP,
gpio_set_output_options(GPIOC, GPIO_OTYPE_PP,
GPIO_OSPEED_25MHZ, GPIO2 | GPIO9);
gpio_set(GPIOC, GPIO2 | GPIO9);
gpio_clear(GPIOC, GPIO2);