summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-24 15:17:40 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-24 15:17:40 +0000
commit6609d636d042fb02bdd07ea578cc3dbf6a311273 (patch)
tree97a22f3ff79e2c6edda8f93684a19b5330f47bbd
parentb13492f8ad554935b9a33fb7c0560223134254df (diff)
downloadmicropython-6609d636d042fb02bdd07ea578cc3dbf6a311273.tar.gz
micropython-6609d636d042fb02bdd07ea578cc3dbf6a311273.zip
stmhal: Add comment to DAC driver for function to implement.
-rw-r--r--stmhal/dac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/dac.c b/stmhal/dac.c
index 127623d9b4..3814039ccd 100644
--- a/stmhal/dac.c
+++ b/stmhal/dac.c
@@ -265,6 +265,9 @@ STATIC const mp_method_t pyb_dac_methods[] = {
{ "triangle", &pyb_dac_triangle_obj },
{ "write", &pyb_dac_write_obj },
{ "dma", &pyb_dac_dma_obj },
+ // TODO add function that does double buffering:
+ // dma2(freq, buf1, buf2, callback)
+ // where callback is called when the buffer has been drained
{ NULL, NULL },
};