Dependencies:   mbed

Revision:
2:f034e862af1f
Parent:
1:2c52307d223f
--- a/main.h	Thu Dec 02 12:32:18 2010 +0000
+++ b/main.h	Thu Dec 02 20:55:45 2010 +0000
@@ -8,8 +8,10 @@
 #define PLLMULT (PLLCLK/2/EXTCLK)-1
 #define TIMER0_FREQ 2
 #define TIMER0_DIV (SYSCLK/TIMER0_FREQ)-1
-#define RIT_FREQ 2
+#define RIT_FREQ 10
 #define RIT_DIV (SYSCLK/RIT_FREQ)-1
+#define MCPWM_FREQ 48000
+#define MCPWM_DIV (SYSCLK/MCPWM_FREQ)-1
 #define LED_MASK 0x00B40000
 #define LED1 0x00040000
 #define LED2 0x00100000
@@ -22,6 +24,8 @@
   {
     unsigned Timer0_int:1;
     unsigned RIT_int:1;
+    unsigned UART0_tx_idle:1;
+    unsigned UART0_rx_idle:1;
   };
   unsigned char All_Flags;
 } Tinterrupt_flags;