diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-05-14 09:50:43 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-05-14 09:50:43 +0000 |
commit | 0b24320bdd04312d7bbf1d0d464dbc18c46d6244 (patch) | |
tree | 7e4e867f9e71e30208bcade5cb4587f541766343 /os/hal | |
parent | 7c31ee40a8643ce4df4bb3e86cb5aa995544abb1 (diff) | |
download | ChibiOS-0b24320bdd04312d7bbf1d0d464dbc18c46d6244.tar.gz ChibiOS-0b24320bdd04312d7bbf1d0d464dbc18c46d6244.tar.bz2 ChibiOS-0b24320bdd04312d7bbf1d0d464dbc18c46d6244.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1922 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/STM32/hal_lld.c | 2 | ||||
-rw-r--r-- | os/hal/platforms/STM32/pal_lld.c | 2 | ||||
-rw-r--r-- | os/hal/platforms/STM32/pal_lld.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/platforms/STM32/hal_lld.c b/os/hal/platforms/STM32/hal_lld.c index 25d4b4d57..2a22fcd0b 100644 --- a/os/hal/platforms/STM32/hal_lld.c +++ b/os/hal/platforms/STM32/hal_lld.c @@ -42,7 +42,7 @@ * @brief PAL setup.
* @details Digital I/O ports static configuration as defined in @p board.h.
*/
-const STM32GPIOConfig pal_default_config =
+const PALConfig pal_default_config =
{
{VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH},
{VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH},
diff --git a/os/hal/platforms/STM32/pal_lld.c b/os/hal/platforms/STM32/pal_lld.c index 69bd3ecab..4ddb13359 100644 --- a/os/hal/platforms/STM32/pal_lld.c +++ b/os/hal/platforms/STM32/pal_lld.c @@ -82,7 +82,7 @@ *
* @param[in] config the STM32 ports configuration
*/
-void _pal_lld_init(const STM32GPIOConfig *config) {
+void _pal_lld_init(const PALConfig *config) {
/*
* Enables the GPIO related clocks.
diff --git a/os/hal/platforms/STM32/pal_lld.h b/os/hal/platforms/STM32/pal_lld.h index fb276877d..a299bce70 100644 --- a/os/hal/platforms/STM32/pal_lld.h +++ b/os/hal/platforms/STM32/pal_lld.h @@ -86,7 +86,7 @@ typedef struct { /** @brief Port G setup data.*/
stm32_gpio_setup_t PGData;
#endif
-} STM32GPIOConfig;
+} PALConfig;
/**
* @brief Width, in bits, of an I/O port.
@@ -289,12 +289,12 @@ typedef GPIO_TypeDef * ioportid_t; */
#define pal_lld_writepad(port, pad, bit) pal_lld_writegroup(port, 1, pad, bit)
-extern const STM32GPIOConfig pal_default_config;
+extern const PALConfig pal_default_config;
#ifdef __cplusplus
extern "C" {
#endif
- void _pal_lld_init(const STM32GPIOConfig *config);
+ void _pal_lld_init(const PALConfig *config);
void _pal_lld_setgroupmode(ioportid_t port,
ioportmask_t mask,
uint_fast8_t mode);
|