-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
To avoid dropouts in audio or video while using ping-pong style buffers it's necessary for the system to be notified when a buffer is done transmitting so a new buffer can be filled, but have the DMAC continue on seamlessly to the next descriptor in the list.
This can be done by setting desc->BTCTRL.bit.BLOCKACT = DMA_BLOCK_ACTION_INT
The current library fixes this bit to desc->BTCTRL.bit.BLOCKACT = DMA_BLOCK_ACTION_NOACT
and the user must change it manually in the descriptor.
It would be nice if we could add a setBlockact(action)
method or something
SpotlightKid
Metadata
Metadata
Assignees
Labels
No labels