combo_dev_attr_t

Description

Defines the combo device attributes. The MIPI RX device is called the combo device because the MIPI RX can interwork with the CSI-2, LVDS, and HiSPI timings.

Prototype

typedef struct {
    combo_dev_t devno;
    input_mode_t input_mode;
    mipi_data_rate_t date_rate;
    img_rect_t img_rect;
    union {
        mipi_dev_attr_t mipi_attr;
        lvds_dev_attr_t lvds_attr;
        slvs_dev_attr_t slvs_attr;
    };
} combo_dev_attr_t;

Members

Member

Description

devno

MIPI RX and SLVS device IDs.

input_mode

Input mode.

img_rect

Image cropping area.

date_rate

API transmission rate. The current version supports only one pixel per cycle. Therefore, this parameter must be set to MIPI_DATA_RATE_X1.

mipi_attr

If input_mode is set to INPUT_MODE_MIPI, mipi_attr must be configured.

lvds_attr

If input_mode is set to INPUT_MODE_SUBLVDS, INPUT_MODE_LVDS, or INPUT_MODE_HISPI, lvds_attr must be configured.

slvs_attr

If input_mode is set to INPUT_MODE_SLVS, slvs_attr must be configured.

lvds_attr_ex

If input_mode is set to INPUT_MODE_LVDS_EX, lvds_attr_ex must be configured.