diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-19 10:48:15 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-19 10:48:15 +0000 |
commit | 2eb47a4914c3d1004b00262777fcb304f487753a (patch) | |
tree | 09f34866e2a27af5077f3f1f7dafcb4cd1a4f8cb /os/hal | |
parent | 4d6e73c3af1e2bac8aa9270b1b61afc1f5b5e243 (diff) | |
download | ChibiOS-2eb47a4914c3d1004b00262777fcb304f487753a.tar.gz ChibiOS-2eb47a4914c3d1004b00262777fcb304f487753a.tar.bz2 ChibiOS-2eb47a4914c3d1004b00262777fcb304f487753a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5261 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/SPC560BCxx/spc560bc_registry.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/os/hal/platforms/SPC560BCxx/spc560bc_registry.h b/os/hal/platforms/SPC560BCxx/spc560bc_registry.h index 417b73912..ac3e22637 100644 --- a/os/hal/platforms/SPC560BCxx/spc560bc_registry.h +++ b/os/hal/platforms/SPC560BCxx/spc560bc_registry.h @@ -41,7 +41,7 @@ #define SPC5_LINFLEX0_TXI_NUMBER 80
#define SPC5_LINFLEX0_ERR_NUMBER 81
#define SPC5_LINFLEX0_CLK (halSPCGetSystemClock() / \
- SPC5_PHERIPERAL1_CLK_DIV_VALUE)
+ SPC5_PERIPHERAL1_CLK_DIV_VALUE)
#define SPC5_HAS_LINFLEX1 TRUE
#define SPC5_LINFLEX1_PCTL 49
@@ -52,7 +52,7 @@ #define SPC5_LINFLEX1_TXI_NUMBER 100
#define SPC5_LINFLEX1_ERR_NUMBER 101
#define SPC5_LINFLEX1_CLK (halSPCGetSystemClock() / \
- SPC5_PHERIPERAL1_CLK_DIV_VALUE)
+ SPC5_PERIPHERAL1_CLK_DIV_VALUE)
#define SPC5_HAS_LINFLEX2 TRUE
#define SPC5_LINFLEX2_PCTL 50
@@ -62,6 +62,8 @@ #define SPC5_LINFLEX2_RXI_NUMBER 119
#define SPC5_LINFLEX2_TXI_NUMBER 120
#define SPC5_LINFLEX2_ERR_NUMBER 121
+#define SPC5_LINFLEX2_CLK (halSPCGetSystemClock() / \
+ SPC5_PERIPHERAL1_CLK_DIV_VALUE)
#define SPC5_HAS_LINFLEX3 TRUE
#define SPC5_LINFLEX3_PCTL 51
@@ -71,6 +73,8 @@ #define SPC5_LINFLEX3_RXI_NUMBER 122
#define SPC5_LINFLEX3_TXI_NUMBER 123
#define SPC5_LINFLEX3_ERR_NUMBER 124
+#define SPC5_LINFLEX3_CLK (halSPCGetSystemClock() / \
+ SPC5_PERIPHERAL1_CLK_DIV_VALUE)
/* SIUL attributes.*/
#define SPC5_HAS_SIUL TRUE
|