diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-05-14 10:46:26 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-05-14 10:46:26 +0000 |
commit | 47e54f50428812f57c8ed5f25ef184dbe8ccd6c0 (patch) | |
tree | 9ad526bc4500edbbb1ceea432ecebb3a6d14ff4d /os/hal/platforms/LPC214x | |
parent | 0b24320bdd04312d7bbf1d0d464dbc18c46d6244 (diff) | |
download | ChibiOS-47e54f50428812f57c8ed5f25ef184dbe8ccd6c0.tar.gz ChibiOS-47e54f50428812f57c8ed5f25ef184dbe8ccd6c0.tar.bz2 ChibiOS-47e54f50428812f57c8ed5f25ef184dbe8ccd6c0.zip |
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
Diffstat (limited to 'os/hal/platforms/LPC214x')
-rw-r--r-- | os/hal/platforms/LPC214x/hal_lld.c | 2 | ||||
-rw-r--r-- | os/hal/platforms/LPC214x/pal_lld.c | 2 | ||||
-rw-r--r-- | os/hal/platforms/LPC214x/pal_lld.h | 6 |
3 files changed, 5 insertions, 5 deletions
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);
|