mipi_dev_attr_t

Description

Defines the MIPI device attributes.

Prototype

typedef struct {
    data_type_t input_data_type;  /* data type: 8/10/12/14/16 bit */
    mipi_wdr_mode_t wdr_mode;     /* MIPI WDR mode */
    short lane_id[MIPI_LANE_NUM]; /* lane_id: -1 - disable */
    union {
        short data_type[WDR_VC_NUM]; /* attribute of MIPI WDR mode. AUTO:mipi_wdr_mode_t:HI_MIPI_WDR_MODE_DT; */
    };
} mipi_dev_attr_t;

Members

Member

Description

input_data_type

Data type for transmission

lane_id

Mapping between the TX end (sensor) and RX end (MIPI RX) lanes. -1 indicates unused lane.

The MIPI_LANE_NUM value is 8.

wdr_mode

MIPI WDR mode.

data_type

Data type corresponding to different exposure length data. When wdr_mode is HI_MIPI_WDR_MODE_DT, data_type needs to be configured.

The WDR_VC_NUM value is 4.