1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 
5 #ifndef UDISPLAY_CLI_API_H
6 #define UDISPLAY_CLI_API_H
7 
8 /** @defgroup udisplay_cli_aos_api udisplay_cli
9  *  @ingroup udisplay_aos_api
10  * @{
11  */
12 
13 /**
14  * udispaly test API
15  * test pattern for rgb32
16  *
17  * @param[in]  color             color value for show
18  * @param[in]  rotate            Rotate (set true or false, The rotation angle is determined by the drivers)
19  *
20  * @retrun 0 on success, otherwise will be failed.
21  */
22 int32_t udisplay_pattern_rgb32(uint32_t color, bool rotate);
23 
24 /**
25  * udispaly test API
26  * test pattern for rgb16
27  *
28  * @param[in]  color             color value for show
29  * @param[in]  rotate            Rotate (set true or false, The rotation angle is determined by the drivers)
30  *
31  * @retrun 0 on success, otherwise will be failed.
32  */
33 int32_t udisplay_pattern_rgb16(uint32_t color, bool rotate);
34 
35 
36 /**
37  * @}
38  */
39 
40 #endif
41 
42 
43