hi_mpi_isp_set_sns_slave_attr

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Sets the horizontal/vertical synchronization signal of the slave mode sensor.

In slave mode, the sensor needs to provide the horizontal sync signal XHS and vertical sync signal XVS for exposure and data read under the control of the two signals. This interface is used to configure the sync signal generation module so that the horizontal and vertical timings required by the sensor are output. This API is generally called in the sensor library.

Prototype

hi_s32 hi_mpi_isp_set_sns_slave_attr(hi_slave_dev slave_dev, const hi_isp_slave_sns_sync* sns_sync)

Parameters

Parameter

Input/Output

Description

slave_dev

Input

ID of the slave signal device.

sns_sync

Input

Synchronization signal configuration.

Returns

Restrictions

Two binding relationships exist for the slave signal. First, the pipe is bound to the vsync. Second, different signal source slaves can be selected in the vsync. That is, different pipes or slave signal devices vsync can select different slave signal devices vsync or pipes.