hi_mpi_isp_set_sns_slave_attr

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

x

Atlas training products

x

Description

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

The slave mode sensor needs this API to provide the horizontal synchronization (XHS) signal and vertical synchronization (XVS) signal. In this way, exposure can be performed and data can be read out under the control of the two signals. This API is used to configure the synchronization 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.