diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-03-26 15:38:08 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:55 -0400 |
commit | 45763badb4ff7cee56a38b72d7546eae4205630b (patch) | |
tree | 1539cc1efc5d143a46f43eb1e379dc518aa8b0a7 /wirish/boards/maple_native | |
parent | 6632789976b804889494dc1e7aea51181d4ca754 (diff) | |
download | librambutan-45763badb4ff7cee56a38b72d7546eae4205630b.tar.gz librambutan-45763badb4ff7cee56a38b72d7546eae4205630b.zip |
stm32f2: Improve GPIO alternate function support.
Add GPIO_AFRL and GPIO_AFRH bit definitions; these seem to have been
overlooked. Add enum gpio_af to give labels to the various
functions. Add gpio_set_af() convenience routine for configuring a
GPIO's alternate function.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/boards/maple_native')
0 files changed, 0 insertions, 0 deletions