Register AC callback.
int32_t ac_async_register_callback( struct ac_async_descriptor *const descr, const enum ac_callback_type type, ac_cb_t cb )
Type: struct ac_async_descriptor Struct *const
An AC descriptor
Type: const enum ac_callback_type Enum
Callback type
Type: ac_cb_t typedef
A callback function, passing NULL will de-register any registered callback
Type: int32_t
The status of callback assignment.
Passed parameters were invalid or the AC is not initialized
A callback is registered successfully