summaryrefslogtreecommitdiff
path: root/openpicc/application/main.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-13 00:47:14 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-13 00:47:14 +0000
commit3d0a9bd40be2d014e0877eb623042c899d8cbe66 (patch)
tree16afede5c836924716cbd916ad1d63e5cc1be7c5 /openpicc/application/main.c
parent1dfa375abb95c59830c38697c53fa9a6794a9fb9 (diff)
Add PIO IRQ counter (and print it in 'c' command)
Make tc_cdiv_sync interrupt working Add 'p' command to print some PIO inputs Add 'z' command to enable/disable tc_cdiv_sync git-svn-id: https://svn.openpcd.org:2342/trunk@324 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/main.c')
-rw-r--r--openpicc/application/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openpicc/application/main.c b/openpicc/application/main.c
index 1bd23ae..8f950ab 100644
--- a/openpicc/application/main.c
+++ b/openpicc/application/main.c
@@ -42,6 +42,7 @@
#include "pll.h"
#include "pio_irq.h"
#include "ssc_picc.h"
+#include "tc_cdiv_sync.h"
/**********************************************************************/
static inline void prvSetupHardware (void)
@@ -84,7 +85,9 @@ int main (void)
pio_irq_init();
+ tc_cdiv_sync_init();
ssc_tx_init();
+ //ssc_rx_init();
vLedInit();
personal git repositories of Harald Welte. Your mileage may vary