ac_async_init

Initialize AC.

int32_t ac_async_init(
    struct ac_async_descriptor *const descr,
    void *const hw
)

This function initializes the given AC descriptor. It checks if the given hardware is not initialized and if the given hardware is permitted to be initialized.

Parameters

descr

Type: struct ac_async_descriptor Struct *const

An AC descriptor to initialize

hw

Type: void *const

The pointer to hardware instance

Returns

Type: int32_t

Initialization status.