1<?xml version="1.0" encoding="utf-8"?> 2 3 4<!--**************************************************************************** 5* \file pin_intrinsic-3.0.cypersonality 6* 7* \brief 8* Intrinsic pin personality description file. 9* 10******************************************************************************** 11* \copyright 12* Copyright (c) (2020-2022), 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<Personality id="pin_intrinsic" name="Pin-Intrinsic" intrinsic="true" version="3.0" xmlns="http://cypress.com/xsd/cyhwpersonality_v7"> 30 <Dependencies> 31 <IpBlock name="mxs40ioss,mxs40sioss,mxs22ioss" /> 32 <Resource name="ioss\.port\.pin" /> 33 </Dependencies> 34 <ExposedMembers/> 35 <Parameters> 36 <ParamRange id="ioss" name="" group="" default="`${getInstNumber("ioss")}`" min="0" max="9999" resolution="1" visible="false" editable="false" desc="The ioss number this personality is instantiated on." /> 37 <ParamRange id="port" name="" group="" default="`${getInstNumber("port")}`" min="0" max="127" resolution="1" visible="false" editable="false" desc="The port number this personality is instantiated on." /> 38 <ParamRange id="pin" name="" group="" default="`${getInstNumber("pin")}`" min="0" max="7" resolution="1" visible="false" editable="false" desc="The pin number this personality is instantiated on." /> 39 <ParamString id="blockName" name="" group="" default="`${"ioss_" . ioss . "_port_" . port . "_pin_" . pin}`" visible="false" editable="false" desc="The default identifier name." /> 40 <ParamBool id="hasAlias" name="" group="" default="`${INST_NAME ne blockName}`" visible="false" editable="false" desc="Whether or not the location this personality is instantiated at has at least one alias set." /> 41 <ParamBool id="pinUsed" name="pinUsed" group="" default="`${isBlockUsed("ioss[0].port[" . port . "].pin[" . pin . "]")}`" visible="false" editable="false" desc="" /> 42 </Parameters> 43 <DRCs /> 44 <ConfigFirmware> 45 <ConfigDefine name="`${INST_NAME}`" value="(P`${port}`_`${pin}`)" public="true" include="`${hasAlias && !pinUsed}`" guard="defined (CY_USING_HAL) || (CY_USING_HAL_LITE)" /> 46 </ConfigFirmware> 47</Personality> 48