]> Pileus Git - ~andy/csm213a-hw/blobdiff - hw2/timer_dma.h
Perform no-delay time synchronization
[~andy/csm213a-hw] / hw2 / timer_dma.h
index e35af7368d07672962ecff01626362596d1c55bf..41370fbe7e5ceb9e257f254b8eb76a10538162f5 100644 (file)
@@ -31,7 +31,7 @@ tdma_t *tdma_open(tdma_chan_t chan, int alt, PinName pin, PinMode mode);
 
 /* Flush/Wait */
 void tdma_start(tdma_t *port);
-void tdma_stop(tdma_t *port);
+void tdma_stop(tdma_t *port, int wait);
 int  tdma_stamp(tdma_t *port, uint64_t *time);
 
 /* Time */