mipi_dev_attr_t

Function

Defines the MIPI device attributes.

Definition

typedef struct {
    data_type_t input_data_type;
    mipi_wdr_mode_t wdr_mode;
    short lane_id[MIPI_LANE_NUM];
    union {
        short data_type[WDR_VC_NUM];
    };
} mipi_dev_attr_t;

Members

Member

Description

input_data_type

Data type for transmission. For details, see data_type_t.

wdr_mode

MIPI WDR mode. For details, see mipi_wdr_mode_t.

lane_id

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

The MIPI_LANE_NUM value is 8.

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.

Precautions

The Atlas 200I/500 A2 inference products have eight lanes. If the working mode is 2+2+2+2, device 0 uses lane0 and lane2. Therefore, lane_id is set to {0, 2, -1, -1, -1, -1, -1, -1}.