Fixed some names.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4948 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2012-12-19 08:55:47 +00:00
parent 6128152b48
commit 2aadbf711f
5 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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);

View File

@ -28,7 +28,7 @@
/*===========================================================================*/
/**
* @name SPC560Pxx capabilities
* @name SPC560B/Cxx capabilities
* @{
*/
/* LINFlex attributes.*/

View File

@ -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;

View File

@ -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);