hi_isp_ssp_data

Function

Defines SSP data parameters.

Definition

typedef struct {
    hi_bool update;
    hi_u8   delay_frm_num;
    hi_u8   int_pos;
    hi_u32  dev_addr;
    hi_u32  dev_addr_byte_num;
    hi_u32  reg_addr;
    hi_u32  reg_addr_byte_num;
    hi_u32  data;
    hi_u32  data_byte_num;
} hi_isp_ssp_data;

For details about basic data types hi_bool, hi_u8, and hi_u32, see Basic Data Types.

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_frm_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.

int_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 bit width of the sensor register.