1<?xml version="1.0" encoding="utf-8"?> 2 3 4<!--**************************************************************************** 5* \file connectivity_bt_intrinsic.cypersonality 6* \version 1.0 7* 8* \brief 9* Personality description file for the BT part of Low Power Assistant. 10* 11******************************************************************************** 12* \copyright 13* Copyright 2020-2022 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="connectivity_bt_intrinsic" name="BT-Intrinsic" intrinsic="true" version="1.0" xmlns="http://cypress.com/xsd/cyhwpersonality_v8"> 30 <Dependencies> 31 <IpBlock name="43xxx_bt" /> 32 <Resource name="bt\.power" /> 33 <OperatingMode value="COMPANION_CONNECTIVITY"/> 34 </Dependencies> 35 <ExposedMembers> 36 </ExposedMembers> 37 <Parameters> 38 <ParamBool id="isEnabled" name="isEnabled" group="" default="`${isBlockUsed("bt[" . getInstNumber("bt") . "].power[" . getInstNumber("power") . "]")}`" visible="false" editable="false" desc="" /> 39 </Parameters> 40 <ConfigFirmware> 41 <ConfigInclude value="cycfg_pins.h" include="`${!isEnabled}`" /> 42 <ConfigDefine name="bt_0_power_0_ENABLED" public="true" value="(0)" include="`${!isEnabled}`" /> 43 <ConfigDefine name="CYCFG_BT_LP_ENABLED" public="true" value="`${!isEnabled ? "0" : "1"}`" include="`${!isEnabled}`" /> 44 <ConfigDefine name="CYCFG_BT_WAKE_EVENT_ACTIVE_LOW" public="true" value="(0)" include="`${!isEnabled}`" /> 45 <ConfigDefine name="CYCFG_BT_WAKE_EVENT_ACTIVE_HIGH" public="true" value="(1)" include="`${!isEnabled}`"/> 46 <ConfigDefine name="CYCFG_BT_HOST_WAKE_GPIO" public="true" value="`${isEnabled ? "CYBSP_BT_HOST_WAKE" : "CYHAL_NC_PIN_VALUE"}`" include="`${!isEnabled}`" /> 47 <ConfigDefine name="CYCFG_BT_HOST_WAKE_IRQ_EVENT" public="true" value="`${isEnabled ? "CYBT_WAKE_ACTIVE_LOW" : "0"}`" include="`${!isEnabled}`" /> 48 <ConfigDefine name="CYCFG_BT_DEV_WAKE_GPIO" public="true" value="`${isEnabled ? "CYBSP_BT_DEVICE_WAKE" : "CYHAL_NC_PIN_VALUE"}`" include="`${!isEnabled}`" /> 49 <ConfigDefine name="CYCFG_BT_DEV_WAKE_POLARITY" public="true" value="`${isEnabled ? "CYBT_WAKE_ACTIVE_LOW" : "0"}`" include="`${!isEnabled}`" /> 50 </ConfigFirmware> 51</Personality> 52