typedef struct
#endif
{
DSI_TypeDef *Instance;
DSI_InitTypeDef Init;
HAL_LockTypeDef Lock;
__IO HAL_DSI_StateTypeDef State;
__IO uint32_t ErrorCode;
uint32_t ErrorMsk;
#if (USE_HAL_DSI_REGISTER_CALLBACKS == 1)
void (* TearingEffectCallback)(struct __DSI_HandleTypeDef *hdsi);
void (* EndOfRefreshCallback)(struct __DSI_HandleTypeDef *hdsi);
void (* ErrorCallback)(struct __DSI_HandleTypeDef *hdsi);
void (* MspInitCallback)(struct __DSI_HandleTypeDef *hdsi);
void (* MspDeInitCallback)(struct __DSI_HandleTypeDef *hdsi);
#endif
} DSI_HandleTypeDef;