stm32: standardize OSPEED values

Make the names match the reference manuals properly, and add missing
names.  Still a long way to go to unify across all families, but this is
at least closer.
This commit is contained in:
Karl Palsson 2019-05-20 23:53:29 +00:00
parent ee376eafdb
commit b24d7f96b5
3 changed files with 6 additions and 5 deletions

View File

@ -56,8 +56,8 @@
@{*/
#define GPIO_OSPEED_LOW 0x0
#define GPIO_OSPEED_MED 0x1
#define GPIO_OSPEED_FAST 0x2
#define GPIO_OSPEED_HIGH 0x3
#define GPIO_OSPEED_HIGH 0x2
#define GPIO_OSPEED_VERYHIGH 0x3
/**@}*/
/*****************************************************************************/

View File

@ -57,7 +57,8 @@
@{*/
#define GPIO_OSPEED_LOW 0x0
#define GPIO_OSPEED_MED 0x1
#define GPIO_OSPEED_HIGH 0x3
#define GPIO_OSPEED_HIGH 0x2
#define GPIO_OSPEED_VERYHIGH 0x3
/**@}*/
/*****************************************************************************/

View File

@ -72,8 +72,8 @@
@{*/
#define GPIO_OSPEED_LOW 0x0
#define GPIO_OSPEED_MED 0x1
#define GPIO_OSPEED_FAST 0x2
#define GPIO_OSPEED_HIGH 0x3
#define GPIO_OSPEED_HIGH 0x2
#define GPIO_OSPEED_VERYHIGH 0x3
/**@}*/
/*****************************************************************************/