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 * Configurator Backend 3.0.0
8 * device-db 4.3.0.3855
9 * mtb-pdl-cat1 3.4.0.24948
10 *
11 ********************************************************************************
12 * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or
13 * an affiliate of 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)33 void init_cycfg_routing(void)
34 {
35     HSIOM->AMUX_SPLIT_CTL[4] = 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[5] = 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