HI_MIPI_DISABLE_SENSOR_CLOCK

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

☓

Atlas A3 training products/Atlas A3 inference products

☓

Atlas A2 training products/Atlas A2 inference products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

Disables the sensor clock.

Definition

#define HI_MIPI_DISABLE_SENSOR_CLOCK _IOW(HI_MIPI_IOC_MAGIC, 0x11, sns_clk_source_t)

Parameters

  • HI_MIPI_IOC_MAGIC: indicates the magic number of MIPI RX ioctl commands.
    #define HI_MIPI_IOC_MAGIC 'm'
  • 0x11: indicates the command identifier function and disables the sensor clock.
  • sns_clk_source_t: indicates the clock source of the sensor.

Returns

  • 0: success
  • -1: failure