aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/SPC560BCxx/ICU-PWM/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/SPC560BCxx/ICU-PWM/mcuconf.h')
-rw-r--r--testhal/SPC560BCxx/ICU-PWM/mcuconf.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/testhal/SPC560BCxx/ICU-PWM/mcuconf.h b/testhal/SPC560BCxx/ICU-PWM/mcuconf.h
index 010a16b16..f3a2073cd 100644
--- a/testhal/SPC560BCxx/ICU-PWM/mcuconf.h
+++ b/testhal/SPC560BCxx/ICU-PWM/mcuconf.h
@@ -161,6 +161,9 @@
#define SPC5_PIT0_IRQ_PRIORITY 4
#define SPC5_CLOCK_FAILURE_HOOK() chSysHalt()
+#define SPC5_EMIOS0_GPRE_VALUE 200
+#define SPC5_EMIOS1_GPRE_VALUE 200
+
/*
* SERIAL driver system settings.
*/
@@ -180,8 +183,6 @@
/*
* ICU-PWM driver system settings.
*/
-#define SPC5_EMIOS0_GLOBAL_PRESCALER 200 /* 8-bit GPRE*/
-
#define SPC5_ICU_USE_EMIOS0_CH0 TRUE
#define SPC5_ICU_USE_EMIOS0_CH1 TRUE
#define SPC5_ICU_USE_EMIOS0_CH2 TRUE
@@ -214,8 +215,6 @@
#define SPC5_EMIOS0_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
SPC5_ME_PCTL_LP(0))
-#define SPC5_EMIOS1_GLOBAL_PRESCALER 200 /* 8-bit GPRE*/
-
#define SPC5_ICU_USE_EMIOS1_CH24 TRUE
#define SPC5_PWM_USE_EMIOS1_GROUP0 TRUE