HI_MIPI_ENABLE_MIPI_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 MIPI clock.

Prototype

#define HI_MIPI_ENABLE_MIPI_CLOCK _IOW(HI_MIPI_IOC_MAGIC, 0x0c, combo_dev_t)

Parameters

  • HI_MIPI_IOC_MAGIC: magic number of the MIPI RX ioctl command.
    #define HI_MIPI_IOC_MAGIC 'm'
  • 0x0c: indicates the command word function and enables the clock of the MIPI device.
  • combo_dev_t: device ID.

Returns

  • 0: success
  • -1: failure