1 #ifndef __DISP_ASSERT_LAYER_H__
2 #define __DISP_ASSERT_LAYER_H__
11 DAL_STATUS_NOT_READY
= -1,
12 DAL_STATUS_INVALID_ARGUMENT
= -2,
13 DAL_STATUS_LOCK_FAIL
= -3,
14 DAL_STATUS_LCD_IN_SUSPEND
= -4,
15 DAL_STATUS_FATAL_ERROR
= -10,
20 DAL_COLOR_BLACK
= 0x000000,
21 DAL_COLOR_WHITE
= 0xFFFFFF,
22 DAL_COLOR_RED
= 0xFF0000,
23 DAL_COLOR_GREEN
= 0x00FF00,
24 DAL_COLOR_BLUE
= 0x0000FF,
25 DAL_COLOR_TURQUOISE
= (DAL_COLOR_GREEN
| DAL_COLOR_BLUE
),
26 DAL_COLOR_YELLOW
= (DAL_COLOR_RED
| DAL_COLOR_GREEN
),
27 DAL_COLOR_PINK
= (DAL_COLOR_RED
| DAL_COLOR_BLUE
),
31 /* Display Assertion Layer API */
33 unsigned int DAL_GetLayerSize(void);
34 DAL_STATUS
DAL_SetScreenColor(DAL_COLOR color
);
35 DAL_STATUS
DAL_Init(unsigned long layerVA
, unsigned long layerPA
);
36 DAL_STATUS
DAL_SetColor(unsigned int fgColor
, unsigned int bgColor
);
37 DAL_STATUS
DAL_Clean(void);
38 DAL_STATUS
DAL_Printf(const char *fmt
, ...);
39 DAL_STATUS
DAL_OnDispPowerOn(void);
40 DAL_STATUS
DAL_LowMemoryOn(void);
41 DAL_STATUS
DAL_LowMemoryOff(void);
45 #endif /* __DISP_ASSERT_LAYER_H__ */