7.6.4.9 Function dma_get_config_defaults()
Initializes config with predefined default values.
void dma_get_config_defaults( struct dma_resource_config * config)
This function will initialize a given DMA configuration structure to a set of known default values. This function should be called on any new instance of the configuration structure before being modified by the user application.
The default configuration is as follows:
Software trigger is used as the transfer trigger
Priority level 0
Only software/event trigger
Requires a trigger for each transaction
No event input /output
- DMA channel is disabled during sleep mode (if has the feature)
Table 7-16. Parameters Data direction Parameter name Description [out]
config
Pointer to the configuration