1 /**
2  * @file    clcd_reva.h
3  * @brief   Color LCD function prototypes and data types.
4  */
5 
6 /******************************************************************************
7  *
8  * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
9  * Analog Devices, Inc.),
10  * Copyright (C) 2023-2024 Analog Devices, Inc.
11  *
12  * Licensed under the Apache License, Version 2.0 (the "License");
13  * you may not use this file except in compliance with the License.
14  * You may obtain a copy of the License at
15  *
16  *     http://www.apache.org/licenses/LICENSE-2.0
17  *
18  * Unless required by applicable law or agreed to in writing, software
19  * distributed under the License is distributed on an "AS IS" BASIS,
20  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  * See the License for the specific language governing permissions and
22  * limitations under the License.
23  *
24  ******************************************************************************/
25 
26 /* Define to prevent redundant inclusion */
27 #ifndef LIBRARIES_PERIPHDRIVERS_SOURCE_CLCD_CLCD_REVA_H_
28 #define LIBRARIES_PERIPHDRIVERS_SOURCE_CLCD_CLCD_REVA_H_
29 
30 /* **** Includes **** */
31 #include "clcd_reva_regs.h"
32 #include "clcd.h"
33 #include "mxc_sys.h"
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 /* **** Definitions **** */
40 
41 /* **** Function Prototypes **** */
42 int MXC_CLCD_RevA_Init(mxc_clcd_reva_regs_t *clcd, mxc_clcd_cfg_t *cfg);
43 int MXC_CLCD_RevA_Shutdown(mxc_clcd_reva_regs_t *clcd);
44 int MXC_CLCD_RevA_ConfigPanel(mxc_clcd_reva_regs_t *clcd, mxc_clcd_cfg_t *clcd_cfg);
45 int MXC_CLCD_RevA_Enable(mxc_clcd_reva_regs_t *clcd);
46 int MXC_CLCD_RevA_Disable(mxc_clcd_reva_regs_t *clcd);
47 int MXC_CLCD_RevA_SetFrameAddr(mxc_clcd_reva_regs_t *clcd, void *addr);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif // LIBRARIES_PERIPHDRIVERS_SOURCE_CLCD_CLCD_REVA_H_
54