combo_dev_attr_t
Function
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.
Definition
typedef struct {
combo_dev_t devno;
input_mode_t input_mode;
mipi_data_rate_t data_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. For details, see combo_dev_t. |
input_mode |
Input mode. For details, see input_mode_t. |
data_rate |
API transmission rate. The current version supports only one pixel per cycle. Therefore, this parameter must be set to MIPI_DATA_RATE_X1. For details, see mipi_data_rate_t. |
img_rect |
Image cropping area. For details, see img_rect_t. |
mipi_attr |
If input_mode is set to INPUT_MODE_MIPI, then mipi_attr must be configured. For details, see mipi_dev_attr_t. |
lvds_attr |
If input_mode is set to INPUT_MODE_SUBLVDS, INPUT_MODE_LVDS, or INPUT_MODE_HISPI, lvds_attr must be configured. For details, see lvds_dev_attr_t. |
slvs_attr |
If input_mode is set to INPUT_MODE_SLVS, slvs_attr must be configured. For details, see slvs_dev_attr_t. |