I think I remember seeing mention a DMA Library in the works for the Teensy 3.1. Is that still on track for a release?
Is there any index/catalog etc for Teensy related contributions at many places within github?
Already done, but so far the only documentation is comments in the header.
https://github.com/PaulStoffregen/cores/blob/master/teensy3/DMAChannel.h
same concept as SPI transactions - time-sharing the hardware.The idea was the object owns a physical DMA channel for as long as it exists. So in that scheme, you'd need to use the heap to acquire and release DMA channels.
It's up to you to somehow arbitrate among whatever uses are sharing the DMAChannel, so each user doesn't try to assign its own DMASettings while the channel is actively moving data or awaiting triggers.