1 /***************************************************************************//** 2 * \file cyip_hsiom_v3.h 3 * 4 * \brief 5 * HSIOM IP definitions 6 * 7 ******************************************************************************** 8 * \copyright 9 * (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or 10 * an affiliate of Cypress Semiconductor Corporation. 11 * 12 * SPDX-License-Identifier: Apache-2.0 13 * 14 * Licensed under the Apache License, Version 2.0 (the "License"); 15 * you may not use this file except in compliance with the License. 16 * You may obtain a copy of the License at 17 * 18 * http://www.apache.org/licenses/LICENSE-2.0 19 * 20 * Unless required by applicable law or agreed to in writing, software 21 * distributed under the License is distributed on an "AS IS" BASIS, 22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 23 * See the License for the specific language governing permissions and 24 * limitations under the License. 25 *******************************************************************************/ 26 27 #ifndef _CYIP_HSIOM_V3_H_ 28 #define _CYIP_HSIOM_V3_H_ 29 30 #include "cyip_headers.h" 31 32 /******************************************************************************* 33 * HSIOM 34 *******************************************************************************/ 35 36 #define HSIOM_PRT_SECTION_SIZE 0x00000010UL 37 #define HSIOM_SECTION_SIZE 0x00004000UL 38 39 /** 40 * \brief HSIOM port registers (HSIOM_PRT) 41 */ 42 typedef struct { 43 __IOM uint32_t PORT_SEL0; /*!< 0x00000000 Port selection 0 */ 44 __IOM uint32_t PORT_SEL1; /*!< 0x00000004 Port selection 1 */ 45 __IM uint32_t RESERVED[2]; 46 } HSIOM_PRT_Type; /*!< Size = 16 (0x10) */ 47 48 /** 49 * \brief High Speed IO Matrix (HSIOM) (HSIOM) 50 */ 51 typedef struct { 52 HSIOM_PRT_Type PRT[128]; /*!< 0x00000000 HSIOM port registers */ 53 __IM uint32_t RESERVED[1536]; 54 __IOM uint32_t AMUX_SPLIT_CTL[64]; /*!< 0x00002000 AMUX splitter cell control */ 55 __IM uint32_t RESERVED1[64]; 56 __IOM uint32_t MONITOR_CTL_0; /*!< 0x00002200 Power/Ground Monitor cell control 0 */ 57 __IOM uint32_t MONITOR_CTL_1; /*!< 0x00002204 Power/Ground Monitor cell control 1 */ 58 __IOM uint32_t MONITOR_CTL_2; /*!< 0x00002208 Power/Ground Monitor cell control 2 */ 59 __IOM uint32_t MONITOR_CTL_3; /*!< 0x0000220C Power/Ground Monitor cell control 3 */ 60 __IM uint32_t RESERVED2[12]; 61 __IOM uint32_t ALT_JTAG_EN; /*!< 0x00002240 Alternate JTAG IF selection register */ 62 } HSIOM_Type; /*!< Size = 8772 (0x2244) */ 63 64 65 /* HSIOM_PRT.PORT_SEL0 */ 66 #define HSIOM_PRT_PORT_SEL0_IO0_SEL_Pos 0UL 67 #define HSIOM_PRT_PORT_SEL0_IO0_SEL_Msk 0x1FUL 68 #define HSIOM_PRT_PORT_SEL0_IO1_SEL_Pos 8UL 69 #define HSIOM_PRT_PORT_SEL0_IO1_SEL_Msk 0x1F00UL 70 #define HSIOM_PRT_PORT_SEL0_IO2_SEL_Pos 16UL 71 #define HSIOM_PRT_PORT_SEL0_IO2_SEL_Msk 0x1F0000UL 72 #define HSIOM_PRT_PORT_SEL0_IO3_SEL_Pos 24UL 73 #define HSIOM_PRT_PORT_SEL0_IO3_SEL_Msk 0x1F000000UL 74 /* HSIOM_PRT.PORT_SEL1 */ 75 #define HSIOM_PRT_PORT_SEL1_IO4_SEL_Pos 0UL 76 #define HSIOM_PRT_PORT_SEL1_IO4_SEL_Msk 0x1FUL 77 #define HSIOM_PRT_PORT_SEL1_IO5_SEL_Pos 8UL 78 #define HSIOM_PRT_PORT_SEL1_IO5_SEL_Msk 0x1F00UL 79 #define HSIOM_PRT_PORT_SEL1_IO6_SEL_Pos 16UL 80 #define HSIOM_PRT_PORT_SEL1_IO6_SEL_Msk 0x1F0000UL 81 #define HSIOM_PRT_PORT_SEL1_IO7_SEL_Pos 24UL 82 #define HSIOM_PRT_PORT_SEL1_IO7_SEL_Msk 0x1F000000UL 83 84 85 /* HSIOM.AMUX_SPLIT_CTL */ 86 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_AA_SL_Pos 0UL 87 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_AA_SL_Msk 0x1UL 88 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_AA_SR_Pos 1UL 89 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_AA_SR_Msk 0x2UL 90 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_AA_S0_Pos 2UL 91 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_AA_S0_Msk 0x4UL 92 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_BB_SL_Pos 4UL 93 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_BB_SL_Msk 0x10UL 94 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_BB_SR_Pos 5UL 95 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_BB_SR_Msk 0x20UL 96 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_BB_S0_Pos 6UL 97 #define HSIOM_AMUX_SPLIT_CTL_SWITCH_BB_S0_Msk 0x40UL 98 /* HSIOM.MONITOR_CTL_0 */ 99 #define HSIOM_MONITOR_CTL_0_MONITOR_EN_Pos 0UL 100 #define HSIOM_MONITOR_CTL_0_MONITOR_EN_Msk 0xFFFFFFFFUL 101 /* HSIOM.MONITOR_CTL_1 */ 102 #define HSIOM_MONITOR_CTL_1_MONITOR_EN_Pos 0UL 103 #define HSIOM_MONITOR_CTL_1_MONITOR_EN_Msk 0xFFFFFFFFUL 104 /* HSIOM.MONITOR_CTL_2 */ 105 #define HSIOM_MONITOR_CTL_2_MONITOR_EN_Pos 0UL 106 #define HSIOM_MONITOR_CTL_2_MONITOR_EN_Msk 0xFFFFFFFFUL 107 /* HSIOM.MONITOR_CTL_3 */ 108 #define HSIOM_MONITOR_CTL_3_MONITOR_EN_Pos 0UL 109 #define HSIOM_MONITOR_CTL_3_MONITOR_EN_Msk 0xFFFFFFFFUL 110 /* HSIOM.ALT_JTAG_EN */ 111 #define HSIOM_ALT_JTAG_EN_ENABLE_Pos 31UL 112 #define HSIOM_ALT_JTAG_EN_ENABLE_Msk 0x80000000UL 113 114 115 #endif /* _CYIP_HSIOM_V3_H_ */ 116 117 118 /* [] END OF FILE */ 119