<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.2" xml:lang="en-US">
  <compounddef id="mtb__srf__config_8h" kind="file" language="C++">
    <compoundname>mtb_srf_config.h</compoundname>
    <includes local="yes">mtb_srf_iovec.h</includes>
    <incdepgraph>
      <node id="1">
        <label>mtb_srf_config.h</label>
        <link refid="mtb__srf__config_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>mtb_srf_iovec.h</label>
      </node>
    </incdepgraph>
      <sectiondef kind="define">
      <memberdef kind="define" id="group__group__mtb__srf__config_1ga864b2d587f63354c174102937f1c4e36" prot="public" static="no">
        <name>MTB_SRF_MAX_ARG_IN_SIZE</name>
        <initializer>(5U * sizeof(uint32_t))</initializer>
        <briefdescription>
<para>Maximum input argument count in bytes, adjusting the default BSP-generated pool. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" line="48" column="9" bodyfile="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" bodystart="48" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__group__mtb__srf__config_1ga68ee7633d8162c1f31896810f563e206" prot="public" static="no">
        <name>MTB_SRF_MAX_ARG_OUT_SIZE</name>
        <initializer>(2U * sizeof(uint32_t))</initializer>
        <briefdescription>
<para>Maximum output argument count in bytes, adjusting the default BSP-generated pool. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" line="51" column="9" bodyfile="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" bodystart="51" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__group__mtb__srf__config_1ga840535b930f09b3d78ca7406454bc51a" prot="public" static="no">
        <name>MTB_SRF_SECURE_ARG_BUFFER_LEN</name>
        <initializer>    (<ref refid="group__group__mtb__srf__config_1ga864b2d587f63354c174102937f1c4e36" kindref="member">MTB_SRF_MAX_ARG_IN_SIZE</ref> + sizeof(mtb_srf_input_ns_t) + \
     <ref refid="group__group__mtb__srf__config_1ga68ee7633d8162c1f31896810f563e206" kindref="member">MTB_SRF_MAX_ARG_OUT_SIZE</ref> + sizeof(mtb_srf_output_ns_t) + \
     128u)</initializer>
        <briefdescription>
<para>Size in bytes of the secure scratch buffer into which secure request inputs are copied before processing. </para>
        </briefdescription>
        <detaileddescription>
<para>The size must be a multiple of 4 bytes, and be large enough to hold:<itemizedlist>
<listitem><para>An <computeroutput>mtb_srf_input_ns_t</computeroutput> struct</para>
</listitem><listitem><para>The maximum number of scalar input arguments (MTB_SRF_MAX_ARG_IN_SIZE)</para>
</listitem><listitem><para>The largest input argument passed by pointer, excluding buffers whose contents are simply sent over a communications interface without requiring validation.</para>
</listitem><listitem><para>An <computeroutput>mtb_srf_output_ns_t</computeroutput> struct</para>
</listitem><listitem><para>The maximum number of scalar output arguments (MTB_SRF_MAX_ARG_OUT_SIZE) </para>
</listitem></itemizedlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" line="65" column="9" bodyfile="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" bodystart="65" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__group__mtb__srf__config_1ga589067eb1e3af68adab2b2caaf8435d5" prot="public" static="no">
        <name>MTB_SRF_POOL_SIZE</name>
        <initializer>(1U)</initializer>
        <briefdescription>
<para>Number of secure requests object allocated, adjusting the default BSP-generated pool. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" line="75" column="10" bodyfile="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" bodystart="75" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__group__mtb__srf__config_1ga3f76c11e98c959e0ccb9863e20268f66" prot="public" static="no">
        <name>MTB_SRF_IPC_SERVICE_TIMEOUT_US</name>
        <initializer>(MTB_SRF_NEVER_TIMEOUT)</initializer>
        <briefdescription>
<para>IPC integration specific defines, adjusting the default BSP-generated setup. </para>
        </briefdescription>
        <detaileddescription>
<para>Default timeout for sending a request that requires IPC </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" line="85" column="9" bodyfile="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" bodystart="85" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__group__mtb__srf__config_1ga9bdc01184ef62328bad398d51241d796" prot="public" static="no">
        <name>MTB_SRF_MODULE_COUNT</name>
        <initializer>(2U)</initializer>
        <briefdescription>
<para>Number of modules. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" line="89" column="9" bodyfile="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" bodystart="89" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__group__mtb__srf__config_1ga023ab19da755d6f9a588dfdd935c1b6f" prot="public" static="no">
        <name>MTB_SRF_MODULE_PDL</name>
        <initializer>(0U)</initializer>
        <briefdescription>
<para>Module for PDL operations. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" line="92" column="9" bodyfile="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" bodystart="92" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__group__mtb__srf__config_1gab41e47ced9cd3a8ccf3064eb69298831" prot="public" static="no">
        <name>MTB_SRF_MODULE_USER</name>
        <initializer>(1U)</initializer>
        <briefdescription>
<para>Module for User operations. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" line="94" column="9" bodyfile="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h" bodystart="94" bodyend="-1"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*******************************************************************************</highlight></codeline>
<codeline lineno="2"><highlight class="comment">*<sp/>\file<sp/>mtb_srf_config.h</highlight></codeline>
<codeline lineno="3"><highlight class="comment">*</highlight></codeline>
<codeline lineno="4"><highlight class="comment">*<sp/>\brief</highlight></codeline>
<codeline lineno="5"><highlight class="comment">*<sp/>Configuration<sp/>for<sp/>the<sp/>Secure<sp/>Request<sp/>Framework<sp/>Library</highlight></codeline>
<codeline lineno="6"><highlight class="comment">*</highlight></codeline>
<codeline lineno="7"><highlight class="comment">*******************************************************************************</highlight></codeline>
<codeline lineno="8"><highlight class="comment">*<sp/>\copyright</highlight></codeline>
<codeline lineno="9"><highlight class="comment">*<sp/>Copyright<sp/>2025<sp/>Cypress<sp/>Semiconductor<sp/>Corporation<sp/>(an<sp/>Infineon<sp/>company)<sp/>or</highlight></codeline>
<codeline lineno="10"><highlight class="comment">*<sp/>an<sp/>affiliate<sp/>of<sp/>Cypress<sp/>Semiconductor<sp/>Corporation.</highlight></codeline>
<codeline lineno="11"><highlight class="comment">*</highlight></codeline>
<codeline lineno="12"><highlight class="comment">*<sp/>SPDX-License-Identifier:<sp/>Apache-2.0</highlight></codeline>
<codeline lineno="13"><highlight class="comment">*</highlight></codeline>
<codeline lineno="14"><highlight class="comment">*<sp/>Licensed<sp/>under<sp/>the<sp/>Apache<sp/>License,<sp/>Version<sp/>2.0<sp/>(the<sp/>&quot;License&quot;);</highlight></codeline>
<codeline lineno="15"><highlight class="comment">*<sp/>you<sp/>may<sp/>not<sp/>use<sp/>this<sp/>file<sp/>except<sp/>in<sp/>compliance<sp/>with<sp/>the<sp/>License.</highlight></codeline>
<codeline lineno="16"><highlight class="comment">*<sp/>You<sp/>may<sp/>obtain<sp/>a<sp/>copy<sp/>of<sp/>the<sp/>License<sp/>at</highlight></codeline>
<codeline lineno="17"><highlight class="comment">*</highlight></codeline>
<codeline lineno="18"><highlight class="comment">*<sp/><sp/><sp/><sp/><sp/>http://www.apache.org/licenses/LICENSE-2.0</highlight></codeline>
<codeline lineno="19"><highlight class="comment">*</highlight></codeline>
<codeline lineno="20"><highlight class="comment">*<sp/>Unless<sp/>required<sp/>by<sp/>applicable<sp/>law<sp/>or<sp/>agreed<sp/>to<sp/>in<sp/>writing,<sp/>software</highlight></codeline>
<codeline lineno="21"><highlight class="comment">*<sp/>distributed<sp/>under<sp/>the<sp/>License<sp/>is<sp/>distributed<sp/>on<sp/>an<sp/>&quot;AS<sp/>IS&quot;<sp/>BASIS,</highlight></codeline>
<codeline lineno="22"><highlight class="comment">*<sp/>WITHOUT<sp/>WARRANTIES<sp/>OR<sp/>CONDITIONS<sp/>OF<sp/>ANY<sp/>KIND,<sp/>either<sp/>express<sp/>or<sp/>implied.</highlight></codeline>
<codeline lineno="23"><highlight class="comment">*<sp/>See<sp/>the<sp/>License<sp/>for<sp/>the<sp/>specific<sp/>language<sp/>governing<sp/>permissions<sp/>and</highlight></codeline>
<codeline lineno="24"><highlight class="comment">*<sp/>limitations<sp/>under<sp/>the<sp/>License.</highlight></codeline>
<codeline lineno="25"><highlight class="comment">*******************************************************************************/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;mtb_srf_iovec.h&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="42"><highlight class="normal"></highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">&quot;C&quot;</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>defined(__cplusplus)<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="46"><highlight class="normal"></highlight></codeline>
<codeline lineno="48"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_MAX_ARG_IN_SIZE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(5U<sp/>*<sp/>sizeof(uint32_t))</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="49"><highlight class="normal"></highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_MAX_ARG_OUT_SIZE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(2U<sp/>*<sp/>sizeof(uint32_t))</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><highlight class="normal"></highlight></codeline>
<codeline lineno="64"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>MTB_SRF_SECURE_ARG_BUFFER_LEN</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="65"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_SECURE_ARG_BUFFER_LEN<sp/>\</highlight></codeline>
<codeline lineno="66"><highlight class="preprocessor"><sp/><sp/><sp/><sp/>(MTB_SRF_MAX_ARG_IN_SIZE<sp/>+<sp/>sizeof(mtb_srf_input_ns_t)<sp/>+<sp/>\</highlight></codeline>
<codeline lineno="67"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/>MTB_SRF_MAX_ARG_OUT_SIZE<sp/>+<sp/>sizeof(mtb_srf_output_ns_t)<sp/>+<sp/>\</highlight></codeline>
<codeline lineno="68"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/>128u)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="69"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="70"><highlight class="normal"></highlight></codeline>
<codeline lineno="72"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>defined(CY_RTOS_AWARE)<sp/>||<sp/>defined(COMPONENT_RTOS_AWARE)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="73"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_POOL_SIZE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(3U)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="74"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="75"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_POOL_SIZE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(1U)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="76"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>defined(CY_RTOS_AWARE)<sp/>||<sp/>defined(COMPONENT_RTOS_AWARE)<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="77"><highlight class="normal"></highlight></codeline>
<codeline lineno="79"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>defined(COMPONENT_MW_MTB_IPC)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="80"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>(CY_SYSTEM_CPU_M55)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="82"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_SUBMIT_USE_IPC</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="83"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="85"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_IPC_SERVICE_TIMEOUT_US<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(MTB_SRF_NEVER_TIMEOUT)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="86"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">//<sp/>if<sp/>defined(COMPONENT_MW_MTB_IPC)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="87"><highlight class="normal"></highlight></codeline>
<codeline lineno="89"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_MODULE_COUNT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(2U)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="90"><highlight class="normal"></highlight></codeline>
<codeline lineno="92"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_MODULE_PDL<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(0U)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="94"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MTB_SRF_MODULE_USER<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(1U)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="95"><highlight class="normal"></highlight></codeline>
<codeline lineno="96"><highlight class="normal"></highlight></codeline>
<codeline lineno="97"><highlight class="normal"></highlight></codeline>
<codeline lineno="100"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="101"><highlight class="normal">}</highlight></codeline>
<codeline lineno="102"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>defined(__cplusplus)<sp/>*/</highlight><highlight class="preprocessor"></highlight></codeline>
    </programlisting>
    <location file="output/bsps/TARGET_KIT_PSE84_AI/mtb_srf_config.h"/>
  </compounddef>
</doxygen>
