hi_isp_ssp_data

Description

Defines SSP data parameters.

Definition

typedef struct {
    hi_bool update;             /* RW; Range: [0x0, 0x1]; Format:1.0;
                                   HI_TRUE: The sensor registers are written,
                                   HI_FALSE: The sensor registers are not written */
    hi_u8   delay_frm_num;      /* RW; Number of delayed frames for the sensor register */
    hi_u8   int_pos;            /* RW;Position where the configuration of the sensor register takes effect */
    hi_u32  dev_addr;           /* RW;Sensor device address */
    hi_u32  dev_addr_byte_num;  /* RW;Bit width of the sensor device address */
    hi_u32  reg_addr;           /* RW;Sensor register address */
    hi_u32  reg_addr_byte_num;  /* RW;Bit width of the sensor register address */
    hi_u32  data;               /* RW;Sensor register data */
    hi_u32  data_byte_num;      /* RW;Bit width of sensor register data */
} hi_isp_ssp_data;

Members

Member

Description

update

Whether the data configures the sensor register.

HI_TRUE: The sensor register is configured.

HI_FALSE: The sensor register is not configured.

delay_frame_num

Number of delayed frames for the sensor register. This variable is used to ensure that the exposure time and gain take effect at the same time.

interrupt_pos

Position where the configuration of the sensor register takes effect.

  • When the register is set to 0x0, the configuration of the sensor register takes effect at the frame start interrupt. When the register is set to 1, the configuration of the sensor register takes effect at the AF interrupt.
  • When the register is set to 0x10, the configuration of the sensor register takes effect at the short frame start interrupt. When the register is set to 0x11, the configuration of the sensor register takes effect at the short frame end interrupt.
  • When the register is set to 0x20, the configuration of the register takes effect at the medium frame start interrupt. When the register is set to 0x21, the configuration of the register takes effect at the medium frame end interrupt.
  • When the register is set to 0x30, the configuration of the sensor register takes effect at the long frame start interrupt. When the register is set to 0x31, the configuration of the sensor register takes effect at the long frame end interrupt.

dev_addr

Sensor device address

dev_addr_byte_num

Bit width of the sensor device address

reg_addr

Sensor register address

reg_addr_byte_num

Bit width of the sensor register address

data

Sensor register data

data_byte_num

Data width of the sensor register