/* FLEXIO CAMERA EDMA receive finished callback function. 
This function is called when FLEXIO CAMERA EDMA receive finished. It disables the CAMERA RX EDMA request and sends kStatus_FLEXIO_CAMERA_RxIdle to CAMERA callback. */
static void FLEXIO_CAMERA_TransferReceiveEDMACallback(edma_handle_t *handle, void *param, bool transferDone, uint32_t tcds)
/* FLEXIO CAMERA EDMA receive finished callback function. 
This function is called when FLEXIO CAMERA EDMA receive finished. It disables the CAMERA RX EDMA request and sends kStatus_FLEXIO_CAMERA_RxIdle to CAMERA callback. */
static void FLEXIO_CAMERA_TransferReceiveEDMACallback(edma_handle_t *handle, void *param, bool transferDone, uint32_t tcds)
{
    flexio_camera_edma_private_handle_t *cameraPrivateHandle = (flexio_camera_edma_private_handle_t *)param;
    handle = handle;
    tcds   = tcds;
    if (transferDone)
    {
        FLEXIO_CAMERA_TransferAbortReceiveEDMA(cameraPrivateHandle->base, cameraPrivateHandle->handle);
        if (cameraPrivateHandle->handle->callback != NULL)
        {
            cameraPrivateHandle->handle->callback(cameraPrivateHandle->base, cameraPrivateHandle->handle,
                                                  kStatus_FLEXIO_CAMERA_RxIdle, cameraPrivateHandle->handle->userData);
        }
    }
}