audio_dma_init

Initialize Audio Device Driver.

int32_t audio_dma_init(
    struct audio_dma_descriptor *const desc,
    void *const hw
)

This function initializes the Audio Driver Descriptor for the given hardware instance. Making it ready for application enable and use it.

Parameters

desc

Type: struct audio_dma_descriptor Struct *const

Pointer to the driver descriptor

hw

Type: void *const

Pointer to the hardware instance

Returns

Type: int32_t

Initialization status.