From 2eb47a4914c3d1004b00262777fcb304f487753a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 19 Feb 2013 10:48:15 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5261 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC560BCxx/spc560bc_registry.h | 8 ++++++-- 1 file 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