aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-19 08:55:47 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-19 08:55:47 +0000
commit2aadbf711f1049a6ce013d5a6278e91c313030fa (patch)
treee1edaceecbf46631f5e7d32824aa347b54b26185 /os/hal/platforms
parent6128152b48a577b1ee9e8d3502ffebea7582b62f (diff)
downloadChibiOS-2aadbf711f1049a6ce013d5a6278e91c313030fa.tar.gz
ChibiOS-2aadbf711f1049a6ce013d5a6278e91c313030fa.tar.bz2
ChibiOS-2aadbf711f1049a6ce013d5a6278e91c313030fa.zip
Fixed some names.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4948 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/SPC560BCxx/hal_lld.c4
-rw-r--r--os/hal/platforms/SPC560BCxx/hal_lld.h4
-rw-r--r--os/hal/platforms/SPC560BCxx/spc560bc_registry.h2
-rw-r--r--os/hal/platforms/SPC560Pxx/hal_lld.c2
-rw-r--r--os/hal/platforms/SPC560Pxx/hal_lld.h4
5 files changed, 8 insertions, 8 deletions
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);