1<?xml version="1.0" encoding="utf-8"?> 2 3 4<!--**************************************************************************** 5* \file iho.cypersonality 6* \version 1.0 7* 8* \brief 9* IHO personality description file. 10* This Supports CAT1B and CAT1D Device families. 11* 12******************************************************************************** 13* \copyright 14* Copyright 2018-2022 Cypress Semiconductor Corporation 15* SPDX-License-Identifier: Apache-2.0 16* 17* Licensed under the Apache License, Version 2.0 (the "License"); 18* you may not use this file except in compliance with the License. 19* You may obtain a copy of the License at 20* 21* http://www.apache.org/licenses/LICENSE-2.0 22* 23* Unless required by applicable law or agreed to in writing, software 24* distributed under the License is distributed on an "AS IS" BASIS, 25* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 26* See the License for the specific language governing permissions and 27* limitations under the License. 28*****************************************************************************--> 29 30<Personality id="mxs40iho" name="IHO" version="1.0" xmlns="http://cypress.com/xsd/cyhwpersonality_v7"> 31 <Dependencies> 32 <IpBlock name="mxs40ssrss,mxs22srss" /> 33 <Resource name="srss\.clock\.iho" /> 34 </Dependencies> 35 <ExposedMembers> 36 <ExposedMember key="frequency" paramId="frequency" /> 37 <ExposedMember key="accuracy" paramId="accuracy" /> 38 </ExposedMembers> 39 <Parameters> 40 <!-- PDL documentation --> 41 <ParamDoc id="pdlDoc" name="Configuration Help" group="Overview" default="file:///`${cy_libs_path()}`/docs/pdl_api_reference_manual/html/group__group__sysclk.html" linkText="Open SysClk Documentation" visible="true" desc="Opens the Peripheral Driver Library Documentation" /> 42 43 <ParamRange id="frequency" name="Frequency (MHz)" group="Internal" default="`${"mxs40ssrss" eq getIpBlockName() ? 48000000 : 12000000}`" min="12000000" max="50000000" resolution="1" visible="false" editable="false" desc="The nominal output frequency" /> 44 <ParamChoice id="accuracy" name="Accuracy" group="Internal" default="1" visible="false" editable="false" desc="The expected accuracy of the output frequency"> 45 <Entry name="1%" value="1" visible="true" /> 46 <Entry name="0.25%" value="0.25" visible="true" /> 47 </ParamChoice> 48 49 <ParamString id="frequencyInfo" name="Frequency" group="General" default="`${formatFrequency(frequency, accuracy)}`" visible="true" editable="false" desc="The nominal output frequency" /> 50 51 </Parameters> 52 <ConfigFirmware> 53 <ConfigInclude value="cy_sysclk.h" include="true" /> 54 <ConfigDefine name="CY_CFG_SYSCLK_IHO_ENABLED" value="1" public="false" include="true" /> 55 <ConfigFunction signature="__STATIC_INLINE void Cy_SysClk_IhoInit()" body=" Cy_SysClk_IhoEnable();" public="false" include="true" /> 56 </ConfigFirmware> 57</Personality> 58