1 /******************************************************************************* 2 * File Name: cycfg_system.h 3 * 4 * Description: 5 * System 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_SYSTEM_H) 30 #define CYCFG_SYSTEM_H 31 32 #include "cycfg_notices.h" 33 #include "cy_sysclk.h" 34 #include "cy_pra.h" 35 #include "cy_pra_cfg.h" 36 #if defined (CY_USING_HAL) 37 #include "cyhal_hwmgr.h" 38 #endif //defined (CY_USING_HAL) 39 #include "cy_gpio.h" 40 #include "cy_syspm.h" 41 42 #if defined(__cplusplus) 43 extern "C" { 44 #endif 45 46 #define cpuss_0_dap_0_ENABLED 1U 47 #define srss_0_clock_0_ENABLED 1U 48 #define srss_0_clock_0_bakclk_0_ENABLED 1U 49 #define srss_0_clock_0_fastclk_0_ENABLED 1U 50 #define srss_0_clock_0_fll_0_ENABLED 1U 51 #define srss_0_clock_0_hfclk_0_ENABLED 1U 52 #define CY_CFG_SYSCLK_CLKHF0 0UL 53 #define CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM 0UL 54 #define srss_0_clock_0_ilo_0_ENABLED 1U 55 #define srss_0_clock_0_imo_0_ENABLED 1U 56 #define srss_0_clock_0_lfclk_0_ENABLED 1U 57 #define CY_CFG_SYSCLK_CLKLF_FREQ_HZ 32768 58 #define CY_CFG_SYSCLK_CLKLF_SOURCE CY_SYSCLK_CLKLF_IN_WCO 59 #define srss_0_clock_0_pathmux_0_ENABLED 1U 60 #define srss_0_clock_0_pathmux_1_ENABLED 1U 61 #define srss_0_clock_0_pathmux_2_ENABLED 1U 62 #define srss_0_clock_0_pathmux_3_ENABLED 1U 63 #define srss_0_clock_0_pathmux_4_ENABLED 1U 64 #define srss_0_clock_0_pathmux_5_ENABLED 1U 65 #define srss_0_clock_0_periclk_0_ENABLED 1U 66 #define srss_0_clock_0_pll_0_ENABLED 1U 67 #define srss_0_clock_0_slowclk_0_ENABLED 1U 68 #define srss_0_clock_0_timerclk_0_ENABLED 1U 69 #define srss_0_clock_0_wco_0_ENABLED 1U 70 #define srss_0_power_0_ENABLED 1U 71 #define CY_CFG_PWR_MODE_LP 0x01UL 72 #define CY_CFG_PWR_MODE_ULP 0x02UL 73 #define CY_CFG_PWR_MODE_ACTIVE 0x04UL 74 #define CY_CFG_PWR_MODE_SLEEP 0x08UL 75 #define CY_CFG_PWR_MODE_DEEPSLEEP 0x10UL 76 #define CY_CFG_PWR_SYS_IDLE_MODE CY_CFG_PWR_MODE_DEEPSLEEP 77 #define CY_CFG_PWR_SYS_ACTIVE_MODE CY_CFG_PWR_MODE_LP 78 #define CY_CFG_PWR_DEEPSLEEP_LATENCY 15UL 79 #define CY_CFG_PWR_USING_LDO 1 80 #define CY_CFG_PWR_VDDA_MV 3300 81 #define CY_CFG_PWR_VDDD_MV 3300 82 #define CY_CFG_PWR_VBACKUP_MV 3300 83 #define CY_CFG_PWR_VDD_NS_MV 3300 84 #define CY_CFG_PWR_VDDIO0_MV 3300 85 #define CY_CFG_PWR_VDDIO1_MV 3300 86 87 #if defined (CY_USING_HAL) 88 extern const cyhal_resource_inst_t srss_0_clock_0_pathmux_0_obj; 89 #endif //defined (CY_USING_HAL) 90 #if defined (CY_USING_HAL) 91 extern const cyhal_resource_inst_t srss_0_clock_0_pathmux_1_obj; 92 #endif //defined (CY_USING_HAL) 93 #if defined (CY_USING_HAL) 94 extern const cyhal_resource_inst_t srss_0_clock_0_pathmux_2_obj; 95 #endif //defined (CY_USING_HAL) 96 #if defined (CY_USING_HAL) 97 extern const cyhal_resource_inst_t srss_0_clock_0_pathmux_3_obj; 98 #endif //defined (CY_USING_HAL) 99 #if defined (CY_USING_HAL) 100 extern const cyhal_resource_inst_t srss_0_clock_0_pathmux_4_obj; 101 #endif //defined (CY_USING_HAL) 102 #if defined (CY_USING_HAL) 103 extern const cyhal_resource_inst_t srss_0_clock_0_pathmux_5_obj; 104 #endif //defined (CY_USING_HAL) 105 106 void init_cycfg_system(void); 107 108 #if defined(__cplusplus) 109 } 110 #endif 111 112 113 #endif /* CYCFG_SYSTEM_H */ 114