OpenHarmony开发——MIPI DSI使用实例
MIPIDSI使用实例MIPIDSI完整的使用示例如下所示:include"hdf.h"include"mipidsiif.h"voidPalMipiDsiTestSample(void){uint8tchnId;int32tret;DevHandlehandleNULL;设备通道编号chnId0;获取操作句柄handleMipiDsiOpen(chnId);if(handleNULL){HDFLOGE("MipiDsiOpen:failed!\n");return;}配置相应参数structMipiCfgcfg{0};cfg.laneDSI4LANES;cfg.modeDSICMDMODE;cfg.burstModeVIDEONONBURSTMODESYNCEVENTS;cfg.formatFORMATRGB24B...