HI_MIPI_ENABLE_SENSOR_CLOCK

The Atlas 200/300/500 Inference Product does not support this command word.

The Atlas Training Series Product does not support this command word.

Description

Enables the sensor clock.

Prototype

#define HI_MIPI_ENABLE_SENSOR_CLOCK _IOW(HI_MIPI_IOC_MAGIC, 0x10, sns_clk_source_t)

Parameters

  • HI_MIPI_IOC_MAGIC: magic number of the MIPI RX ioctl command.
    #define HI_MIPI_IOC_MAGIC 'm'
  • 0x10: indicates the command word function and enables the sensor clock.
  • sns_clk_source_t: clock source of the sensor.

Returns

  • 0: success
  • -1: failure