From 2aadbf711f1049a6ce013d5a6278e91c313030fa Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 19 Dec 2012 08:55:47 +0000 Subject: Fixed some names. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4948 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC560BCxx/hal_lld.c | 4 ++-- os/hal/platforms/SPC560BCxx/hal_lld.h | 4 ++-- os/hal/platforms/SPC560BCxx/spc560bc_registry.h | 2 +- os/hal/platforms/SPC560Pxx/hal_lld.c | 2 +- os/hal/platforms/SPC560Pxx/hal_lld.h | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'os') diff --git a/os/hal/platforms/SPC560BCxx/hal_lld.c b/os/hal/platforms/SPC560BCxx/hal_lld.c index cfd931349..fb017eac7 100644 --- a/os/hal/platforms/SPC560BCxx/hal_lld.c +++ b/os/hal/platforms/SPC560BCxx/hal_lld.c @@ -97,7 +97,7 @@ void hal_lld_init(void) { } /** - * @brief SPC560Pxx clocks and PLL initialization. + * @brief SPC560B/Cxx clocks and PLL initialization. * @note All the involved constants come from the file @p board.h and * @p hal_lld.h * @note This function must be invoked only after the system reset. @@ -185,7 +185,7 @@ void spc_clock_init(void) { * @retval CH_SUCCESS if the switch operation has been completed. * @retval CH_FAILED if the switch operation failed. */ -bool_t halSPCSetRunMode(spc560prunmode_t mode) { +bool_t halSPCSetRunMode(spc5_runmode_t mode) { /* Starts a transition process.*/ ME.MCTL.R = SPC5_ME_MCTL_MODE(mode) | SPC5_ME_MCTL_KEY; diff --git a/os/hal/platforms/SPC560BCxx/hal_lld.h b/os/hal/platforms/SPC560BCxx/hal_lld.h index 6cc920c6e..e8e3bcc15 100644 --- a/os/hal/platforms/SPC560BCxx/hal_lld.h +++ b/os/hal/platforms/SPC560BCxx/hal_lld.h @@ -676,7 +676,7 @@ typedef enum { SPC5_RUNMODE_RUN3 = 7, SPC5_RUNMODE_HALT0 = 8, SPC5_RUNMODE_STOP0 = 10 -} spc560prunmode_t; +} spc5_runmode_t; /*===========================================================================*/ /* Driver macros. */ @@ -691,7 +691,7 @@ extern "C" { #endif void hal_lld_init(void); void spc_clock_init(void); - bool_t halSPCSetRunMode(spc560prunmode_t mode); + bool_t halSPCSetRunMode(spc5_runmode_t mode); void halSPCSetPeripheralClockMode(uint32_t n, uint32_t pctl); #if !SPC5_NO_INIT uint32_t halSPCGetSystemClock(void); diff --git a/os/hal/platforms/SPC560BCxx/spc560bc_registry.h b/os/hal/platforms/SPC560BCxx/spc560bc_registry.h index 85ad4adc4..39563dbd1 100644 --- a/os/hal/platforms/SPC560BCxx/spc560bc_registry.h +++ b/os/hal/platforms/SPC560BCxx/spc560bc_registry.h @@ -28,7 +28,7 @@ /*===========================================================================*/ /** - * @name SPC560Pxx capabilities + * @name SPC560B/Cxx capabilities * @{ */ /* LINFlex attributes.*/ diff --git a/os/hal/platforms/SPC560Pxx/hal_lld.c b/os/hal/platforms/SPC560Pxx/hal_lld.c index 603df7aba..7197d79a7 100644 --- a/os/hal/platforms/SPC560Pxx/hal_lld.c +++ b/os/hal/platforms/SPC560Pxx/hal_lld.c @@ -181,7 +181,7 @@ void spc_clock_init(void) { * @retval CH_SUCCESS if the switch operation has been completed. * @retval CH_FAILED if the switch operation failed. */ -bool_t halSPCSetRunMode(spc560prunmode_t mode) { +bool_t halSPCSetRunMode(spc5_runmode_t mode) { /* Starts a transition process.*/ ME.MCTL.R = SPC5_ME_MCTL_MODE(mode) | SPC5_ME_MCTL_KEY; diff --git a/os/hal/platforms/SPC560Pxx/hal_lld.h b/os/hal/platforms/SPC560Pxx/hal_lld.h index e015d5d09..e658b2f76 100644 --- a/os/hal/platforms/SPC560Pxx/hal_lld.h +++ b/os/hal/platforms/SPC560Pxx/hal_lld.h @@ -707,7 +707,7 @@ typedef enum { SPC5_RUNMODE_RUN3 = 7, SPC5_RUNMODE_HALT0 = 8, SPC5_RUNMODE_STOP0 = 10 -} spc560prunmode_t; +} spc5_runmode_t; /*===========================================================================*/ /* Driver macros. */ @@ -722,7 +722,7 @@ extern "C" { #endif void hal_lld_init(void); void spc_clock_init(void); - bool_t halSPCSetRunMode(spc560prunmode_t mode); + bool_t halSPCSetRunMode(spc5_runmode_t mode); void halSPCSetPeripheralClockMode(uint32_t n, uint32_t pctl); #if !SPC5_NO_INIT uint32_t halSPCGetSystemClock(void); -- cgit v1.2.3