1 /*******************************************************************************
2 * File Name: cycfg_clocks.h
3 *
4 * Description:
5 * Clock configuration
6 * This file was automatically generated and should not be modified.
7 * Tools Package 2.2.0.2801
8 * latest-v2.X 2.0.0.6211
9 * personalities 3.0.0.0
10 * udd 3.0.0.562
11 *
12 ********************************************************************************
13 * Copyright 2020 Cypress Semiconductor Corporation
14 * SPDX-License-Identifier: Apache-2.0
15 *
16 * Licensed under the Apache License, Version 2.0 (the "License");
17 * you may not use this file except in compliance with the License.
18 * You may obtain a copy of the License at
19 *
20 *     http://www.apache.org/licenses/LICENSE-2.0
21 *
22 * Unless required by applicable law or agreed to in writing, software
23 * distributed under the License is distributed on an "AS IS" BASIS,
24 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25 * See the License for the specific language governing permissions and
26 * limitations under the License.
27 ********************************************************************************/
28 
29 #if !defined(CYCFG_CLOCKS_H)
30 #define CYCFG_CLOCKS_H
31 
32 #include "cycfg_notices.h"
33 #include "cy_sysclk.h"
34 #if defined (CY_USING_HAL)
35 	#include "cyhal_hwmgr.h"
36 #endif //defined (CY_USING_HAL)
37 
38 #if defined(__cplusplus)
39 extern "C" {
40 #endif
41 
42 #define CYBSP_CSD_CLK_DIV_ENABLED 1U
43 #define CYBSP_CSD_CLK_DIV_HW CY_SYSCLK_DIV_8_BIT
44 #define CYBSP_CSD_CLK_DIV_NUM 0U
45 
46 #if defined (CY_USING_HAL)
47 	extern const cyhal_resource_inst_t CYBSP_CSD_CLK_DIV_obj;
48 #endif //defined (CY_USING_HAL)
49 
50 void init_cycfg_clocks(void);
51 
52 #if defined(__cplusplus)
53 }
54 #endif
55 
56 
57 #endif /* CYCFG_CLOCKS_H */
58