diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-19 08:55:47 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-19 08:55:47 +0000 |
commit | 2aadbf711f1049a6ce013d5a6278e91c313030fa (patch) | |
tree | e1edaceecbf46631f5e7d32824aa347b54b26185 /os/hal/platforms/SPC560Pxx | |
parent | 6128152b48a577b1ee9e8d3502ffebea7582b62f (diff) | |
download | ChibiOS-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/SPC560Pxx')
-rw-r--r-- | os/hal/platforms/SPC560Pxx/hal_lld.c | 2 | ||||
-rw-r--r-- | os/hal/platforms/SPC560Pxx/hal_lld.h | 4 |
2 files changed, 3 insertions, 3 deletions
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);
|