Commit Graph

5 Commits

Author SHA1 Message Date
laokaiyao
94ea9e398e fix(i2s): rollback the breaking change of callback event data
`i2s_event_data_t::data` is deprecated due to the cumbersome usage of secondary pointer
Please use the newly added first-level pointer `i2s_event_data_t::dma_buf` instead
2024-03-29 14:33:25 +08:00
laokaiyao
fd27cef045 feat(i2s): support asynchronous read write via callback
Split the TX DMA buffer `auto_clear` into `auto_clear_after_cb` and `auto_clear_before_cb`,
so that allow user to update the DMA buffer directly in the `on_sent` callback
2024-03-27 16:04:13 +08:00
laokaiyao
97835c3c92 feat(i2s): support more mclk_multiples 2024-03-06 10:22:27 +08:00
laokaiyao
f254698166 feat(i2s): support to get total dma buffer size 2024-01-09 11:02:37 +08:00
laokaiyao
74441d14ab refactor(i2s): make i2s driver as component 2023-11-17 21:29:17 +08:00