diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-05 18:35:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-05 18:35:10 +0000 |
commit | d17660452ee51c773e8cbb3c4104ec946ba86458 (patch) | |
tree | 2eeb67fe06e673f1922a2bb9294469fe5c384f0d /demos | |
parent | 654bed7b7122c1231a02e790d1af3c55ec7a981c (diff) | |
download | ChibiOS-d17660452ee51c773e8cbb3c4104ec946ba86458.tar.gz ChibiOS-d17660452ee51c773e8cbb3c4104ec946ba86458.tar.bz2 ChibiOS-d17660452ee51c773e8cbb3c4104ec946ba86458.zip |
GPT driver for LPC11xx (not tested yet).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2794 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARMCM0-LPC1114-LPCXPRESSO/mcuconf.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/ARMCM0-LPC1114-LPCXPRESSO/mcuconf.h b/demos/ARMCM0-LPC1114-LPCXPRESSO/mcuconf.h index aafb2901d..b78d966e1 100644 --- a/demos/ARMCM0-LPC1114-LPCXPRESSO/mcuconf.h +++ b/demos/ARMCM0-LPC1114-LPCXPRESSO/mcuconf.h @@ -46,6 +46,18 @@ */
/*
+ * GPT driver system settings.
+ */
+#define LPC11xx_GPT_USE_CT16B0 TRUE
+#define LPC11xx_GPT_USE_CT16B1 TRUE
+#define LPC11xx_GPT_USE_CT32B0 TRUE
+#define LPC11xx_GPT_USE_CT32B1 TRUE
+#define LPC11xx_GPT_CT16B0_IRQ_PRIORITY 2
+#define LPC11xx_GPT_CT16B1_IRQ_PRIORITY 2
+#define LPC11xx_GPT_CT32B0_IRQ_PRIORITY 2
+#define LPC11xx_GPT_CT32B1_IRQ_PRIORITY 2
+
+/*
* PWM driver system settings.
*/
|