aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC214x
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/LPC214x')
-rw-r--r--os/hal/platforms/LPC214x/hal_lld.c2
-rw-r--r--os/hal/platforms/LPC214x/pal_lld.c2
-rw-r--r--os/hal/platforms/LPC214x/pal_lld.h6
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);