diff options
author | blmorris <bryan.morrissey@gmail.com> | 2015-06-22 09:24:59 -0400 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-06-24 17:48:52 +0100 |
commit | c5175526dda06d278dd569dd7bfce0c65cbbe5fc (patch) | |
tree | 004a5e65a9fa3d1e8672b587f7b329edf517ba33 /tests/basics/array_construct.py | |
parent | 3299f687f5b3b328008b568473c31dc8796a43c4 (diff) | |
download | micropython-c5175526dda06d278dd569dd7bfce0c65cbbe5fc.tar.gz micropython-c5175526dda06d278dd569dd7bfce0c65cbbe5fc.zip |
stmhal/dma.c: Modify dma_init() to accept init struct as an argument
This removes hard-coded DMA init params from dma_init(), instead defining
these parameters in a DMA_InitTypeDef struct that gets passed as an
argument to dma_init()
This makes dma_init more generic so it can be used for I2S and SD Card,
which require different initialization parameters.
Diffstat (limited to 'tests/basics/array_construct.py')
0 files changed, 0 insertions, 0 deletions