]> Pileus Git - ~andy/csm213a-hw/blobdiff - hw2/timer_dma.h
Improve time sync accuracy
[~andy/csm213a-hw] / hw2 / timer_dma.h
index c6d276307581c77a473137cb63527e2dce42aa8d..e35af7368d07672962ecff01626362596d1c55bf 100644 (file)
@@ -30,7 +30,8 @@ void tdma_init(void);
 tdma_t *tdma_open(tdma_chan_t chan, int alt, PinName pin, PinMode mode);
 
 /* Flush/Wait */
-void tdma_reset(tdma_t *port);
+void tdma_start(tdma_t *port);
+void tdma_stop(tdma_t *port);
 int  tdma_stamp(tdma_t *port, uint64_t *time);
 
 /* Time */