1 /******************************************************************************* 2 * File Name: cycfg_routing.c 3 * 4 * Description: 5 * Establishes all necessary connections between hardware elements. 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 #include "cycfg_routing.h" 30 31 #include "cy_device_headers.h" 32 init_cycfg_routing(void)33void init_cycfg_routing(void) 34 { 35 HSIOM->AMUX_SPLIT_CTL[2] = HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_AA_SL_Msk | 36 HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_AA_SR_Msk | 37 HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_BB_SL_Msk | 38 HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_BB_SR_Msk; 39 HSIOM->AMUX_SPLIT_CTL[4] = HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_AA_SL_Msk | 40 HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_AA_SR_Msk | 41 HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_BB_SL_Msk | 42 HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_BB_SR_Msk; 43 } 44