HI_MIPI_SET_DEV_ATTR

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

Sets the attributes of the MIPI RX, SLVS, and parallel port devices.

Prototype

#define HI_MIPI_SET_DEV_ATTR _IOW(HI_MIPI_IOC_MAGIC, 0x01, combo_dev_attr_t)

Parameters

  • HI_MIPI_IOC_MAGIC: magic number of the MIPI RX ioctl command.
    #define HI_MIPI_IOC_MAGIC 'm'
  • 0x01: indicates the command word function and sets the attributes of the MIPI RX, SLVS, and parallel port devices.
  • combo_dev_attr_t: combo device attributes.

Returns

  • 0: success
  • -1: failure

Considerations

Operations on the sensor reset line or clock line will affect all sensors connected to them.