diff options
author | Mike Teachman <mike.teachman@gmail.com> | 2021-09-03 20:34:53 -0700 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-11-13 12:27:42 +1100 |
commit | b6dbbbe82f7114cb5b56c54e916e304f416cd47a (patch) | |
tree | 9616b8a01da138e291b09a24c0f2e111761a996c /tools/codeformat.py | |
parent | 6d5296e65e8eb2330dbddd21b167088abf93f57a (diff) |
rp2/machine_i2s: Add I2S protocol support.
This commit adds I2S protocol support for the rp2 port:
- I2S API is consistent with STM32 and ESP32 ports
- I2S configurations supported:
- master transmit and master receive
- 16-bit and 32-bit sample sizes
- mono and stereo formats
- sampling frequency
- 3 modes of operation:
- blocking
- non-blocking with callback
- uasyncio
- internal ring buffer size can be tuned
- DMA IRQs are managed on an I2S object basis, allowing other
RP2 entities to use DMA IRQs when I2S is not being used
- MicroPython documentation
- tested on Raspberry Pi Pico development board
- build metric changes for this commit: text(+4552), data(0), bss(+8)
Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
Diffstat (limited to 'tools/codeformat.py')
0 files changed, 0 insertions, 0 deletions