Template for advanced microcontrollers assignment 'DMA' 2017

Dependencies:   SimpleDMA

Revision:
1:1db1c42a2348
Parent:
0:7006377c8a24
Child:
2:9567c0734e96
diff -r 7006377c8a24 -r 1db1c42a2348 main.cpp
--- a/main.cpp	Tue Jun 06 08:24:49 2017 +0000
+++ b/main.cpp	Mon Oct 16 18:55:27 2017 +0000
@@ -8,7 +8,6 @@
 DigitalOut led1(LED_RED);
 DigitalOut led2(LED_GREEN);
 
-SimpleDMA dma_pc;
 SimpleDMA dma_device;
     
 int main() 
@@ -17,7 +16,7 @@
     UART1->C2 |= UART_C2_RIE_MASK | UART_C2_TIE_MASK ;  
     UART1->C4 |= UART_C4_RDMAS_MASK | UART_C4_TDMAS_MASK;
   
-    // TODO: Configure dma_device to transfer data from UART1 to UART0
+    // TODO: Configure dma_device to transfer data from buffer to UART1
     // ...
     
     uint8_t buffer[128];
@@ -35,7 +34,7 @@
             
             led2 = !led2;
             
-            // TODO: Trigger dma_pc to transfer data from the buffer to UART1
+            // TODO: Trigger dma_device to transfer data from the buffer to UART1
             // ....
             
             buffer_ptr = 0;