From 47e54f50428812f57c8ed5f25ef184dbe8ccd6c0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 14 May 2010 10:46:26 +0000 Subject: Renamed all the PAL configuration structures to PALConfig. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1923 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/LPC214x/hal_lld.c | 2 +- os/hal/platforms/LPC214x/pal_lld.c | 2 +- os/hal/platforms/LPC214x/pal_lld.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'os/hal/platforms/LPC214x') diff --git a/os/hal/platforms/LPC214x/hal_lld.c b/os/hal/platforms/LPC214x/hal_lld.c index b7520f6a6..1deac96fb 100644 --- a/os/hal/platforms/LPC214x/hal_lld.c +++ b/os/hal/platforms/LPC214x/hal_lld.c @@ -39,7 +39,7 @@ * @brief PAL setup. * @details Digital I/O ports static configuration as defined in @p board.h. */ -const LPC214xFIOConfig pal_default_config = +const PALConfig pal_default_config = { VAL_PINSEL0, VAL_PINSEL1, diff --git a/os/hal/platforms/LPC214x/pal_lld.c b/os/hal/platforms/LPC214x/pal_lld.c index 33838063c..bc563be28 100644 --- a/os/hal/platforms/LPC214x/pal_lld.c +++ b/os/hal/platforms/LPC214x/pal_lld.c @@ -55,7 +55,7 @@ * * @param[in] config the LPC214x ports configuration */ -void _pal_lld_init(const LPC214xFIOConfig *config) { +void _pal_lld_init(const PALConfig *config) { /* Enables the access through the fast registers.*/ SCS = 3; diff --git a/os/hal/platforms/LPC214x/pal_lld.h b/os/hal/platforms/LPC214x/pal_lld.h index 259fdfe30..4a0ca5106 100644 --- a/os/hal/platforms/LPC214x/pal_lld.h +++ b/os/hal/platforms/LPC214x/pal_lld.h @@ -69,7 +69,7 @@ typedef struct { lpc214x_fio_setup_t P0Data; /** @brief Port 1 setup data.*/ lpc214x_fio_setup_t P1Data; -} LPC214xFIOConfig; +} PALConfig; /** * @brief Width, in bits, of an I/O port. @@ -237,12 +237,12 @@ typedef FIO * ioportid_t; (port)->FIO_DIR = (dir); \ } -extern const LPC214xFIOConfig pal_default_config; +extern const PALConfig pal_default_config; #ifdef __cplusplus extern "C" { #endif - void _pal_lld_init(const LPC214xFIOConfig *config); + void _pal_lld_init(const PALConfig *config); void _pal_lld_setgroupmode(ioportid_t port, ioportmask_t mask, uint_fast8_t mode); -- cgit v1.2.3