Function dma_unregister_callback()

Unregister a callback function for a dedicated DMA resource.

void dma_unregister_callback(
		struct dma_resource * resource,
		enum dma_callback_type type)

There are three types of callback functions:

The application can unregister any of the callback functions which are already registered and are no longer needed.

Table 1. Parameters
Data direction Parameter name Description

[in]

resource

Pointer to the DMA resource

[in]

type

Callback function type