1<?xml version="1.0" encoding="utf-8"?> 2<!--**************************************************************************** 3* \file sysanalog_intrinsic-1.0.cypersonality 4* \version 1.0 5* 6* \brief 7* Intrinsic SysAnalog personality description file. 8* 9******************************************************************************** 10* \copyright 11* Copyright 2018-2022 Cypress Semiconductor Corporation 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<Personality id="mxs40sysanalog_intrinsic" name="SysAnalog Intrinsic" intrinsic="true" version="1.0" xmlns="http://cypress.com/xsd/cyhwpersonality_v7"> 28 <Dependencies> 29 <IpBlock name="mxs40pass_ver2" /> 30 <Resource name="pass"/> 31 </Dependencies> 32 <ExposedMembers/> 33 <Parameters> 34 <ParamRange id="inst" name="inst" group="Internal" default="`${getInstNumber("pass")}`" min="0" max="3" resolution="1" visible="false" editable="false" desc="" /> 35 <ParamBool id="lposcUsed" name="lposcUsed" group="Internal" default="`${isBlockUsed("pass[0].lposc[0]")}`" visible="false" editable="false" desc="" /> 36 <ParamBool id="dpslpUsed" name="dpslpUsed" group="Internal" default="`${isBlockUsed("pass[0].dpslp[0]")}`" visible="false" editable="false" desc="" /> 37 <ParamBool id="timerUsed" name="timerUsed" group="Internal" default="`${isBlockUsed("pass[0].timer[0]")}`" visible="false" editable="false" desc="" /> 38 </Parameters> 39 <DRCs /> 40 <ConfigFirmware> 41 <ConfigStruct name="cy_cfg_pass`${inst}`_deep_sleep_config" type="cy_stc_sysanalog_deep_sleep_config_t" const="true" public="true" include="`${lposcUsed || dpslpUsed || timerUsed}`"> 42 <Member name="lpOscDsMode" value="`${lposcUsed ? "CY_CFG_SYSANALOG_LPOSC_DEEPSLEEP_MODE" : "CY_SYSANALOG_LPOSC_DUTY_CYCLED"}`" /> 43 <Member name="dsClkSource" value="`${dpslpUsed ? "CY_CFG_SYSANALOG_DEEPSLEEP_SRC" : "CY_SYSANALOG_DEEPSLEEP_SRC_LPOSC"}`" /> 44 <Member name="dsClkdivider" value="`${dpslpUsed ? "CY_CFG_SYSANALOG_DEEPSLEEP_DIV" : "CY_SYSANALOG_DEEPSLEEP_CLK_NO_DIV"}`" /> 45 <Member name="timerClock" value="`${timerUsed ? "CY_CFG_SYSANALOG_TIMER_CLOCK" : "CY_SYSANALOG_TIMER_CLK_PERI"}`" /> 46 <Member name="timerPeriod" value="`${timerUsed ? "CY_CFG_SYSANALOG_TIMER_PERIOD" : "1"}`" /> 47 </ConfigStruct> 48 </ConfigFirmware> 49</Personality> 50