1 /**************************************************************************//**
2 *
3 * @copyright (C) 2020 Nuvoton Technology Corp. All rights reserved.
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 *
7 * Change Logs:
8 * Date            Author           Notes
9 * 2020-11-11      Wayne            First version
10 *
11 ******************************************************************************/
12 
13 #ifndef __DRV_SLCD_H__
14 #define __DRV_SLCD_H__
15 
16 #include <rtdevice.h>
17 #include "NuMicro.h"
18 
19 struct nu_slcd_pixel
20 {
21     uint32_t m_u32Com;
22     uint32_t m_u32Seg;
23     uint32_t m_u32OnFlag;
24 };
25 typedef struct nu_slcd_pixel *nu_slcd_pixel_t;
26 
27 typedef enum
28 {
29     NU_SLCD_CMD_SET_LCD_CFG,       /* SLCD configuration */
30     NU_SLCD_CMD_SET_CP_VOLTAGE,    /* Internal charge pump voltage */
31     NU_SLCD_CMD_CNT
32 } NU_SLCD_CMD;
33 
34 #endif /* __DRV_SLCD_H__ */
35