camera_async_init

Initialize Camera sensor.

int32_t camera_async_init(
    struct camera_async_descriptor *const descr,
    void *const hw
)

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

Parameters

descr

Type: struct camera_async_descriptor Struct *const

The camera sensor descriptor to initialize

hw

Type: void *const

The pointer to hardware instance

Returns

Type: int32_t

Initialization status.