From 3d0a9bd40be2d014e0877eb623042c899d8cbe66 Mon Sep 17 00:00:00 2001 From: henryk Date: Tue, 13 Nov 2007 00:47:14 +0000 Subject: 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 --- openpicc/application/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openpicc/application/main.c') 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(); -- cgit v1.2.3