aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-06 08:46:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-06 08:46:51 +0000
commit5ab1f418c84cb003a2bf65bd66758bd0abacb08b (patch)
tree1a13f9b0990717aa547b172fa64f49d2fa247d89 /demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h
parent9f8702a2a0bb074eb79a5804db2ff935849307df (diff)
downloadChibiOS-5ab1f418c84cb003a2bf65bd66758bd0abacb08b.tar.gz
ChibiOS-5ab1f418c84cb003a2bf65bd66758bd0abacb08b.tar.bz2
ChibiOS-5ab1f418c84cb003a2bf65bd66758bd0abacb08b.zip
LPC13xx GPT driver added (not tested yet).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2799 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h')
-rw-r--r--demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h b/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h
index f5d119449..195eb6c6a 100644
--- a/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h
+++ b/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h
@@ -46,6 +46,18 @@
*/
/*
+ * GPT driver system settings.
+ */
+#define LPC13xx_GPT_USE_CT16B0 TRUE
+#define LPC13xx_GPT_USE_CT16B1 TRUE
+#define LPC13xx_GPT_USE_CT32B0 TRUE
+#define LPC13xx_GPT_USE_CT32B1 TRUE
+#define LPC13xx_GPT_CT16B0_IRQ_PRIORITY 2
+#define LPC13xx_GPT_CT16B1_IRQ_PRIORITY 2
+#define LPC13xx_GPT_CT32B0_IRQ_PRIORITY 2
+#define LPC13xx_GPT_CT32B1_IRQ_PRIORITY 2
+
+/*
* PWM driver system settings.
*/