diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/SConscript b/bsp/Infineon/libraries/IFX_PSOC6_HAL/SConscript index 5fd9a14556..5ef305f38f 100644 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/SConscript +++ b/bsp/Infineon/libraries/IFX_PSOC6_HAL/SConscript @@ -78,7 +78,6 @@ if GetDepend(['SOC_CY8C6244LQI_S4D92']): src += Glob('psoc6cm0p/COMPONENT_CM0P_SLEEP/*.c') if GetDepend(['RT_USING_SERIAL']): - src += ['retarget-io/cy_retarget_io.c'] src += ['mtb-hal-cat1/source/cyhal_uart.c'] src += ['mtb-pdl-cat1/drivers/source/cy_scb_uart.c'] @@ -93,7 +92,7 @@ if GetDepend(['RT_USING_ADC']): src += ['mtb-pdl-cat1/drivers/source/cy_dmac.c'] src += ['mtb-pdl-cat1/drivers/source/cy_sysanalog.c'] -if GetDepend(['RT_USING_SDIO']): +if GetDepend(['RT_USING_SDIO']) or GetDepend(['BSP_USING_CYW43012_WIFI']): src += ['mtb-hal-cat1/source/cyhal_sdhc.c'] src += ['mtb-pdl-cat1/drivers/source/cy_sd_host.c'] diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/.gitignore b/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/.gitignore deleted file mode 100644 index d8f8d46921..0000000000 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/.gitignore +++ /dev/null @@ -1 +0,0 @@ -docs diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/EULA b/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/EULA deleted file mode 100644 index f10c742b10..0000000000 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/EULA +++ /dev/null @@ -1,55 +0,0 @@ -CYPRESS END USER LICENSE AGREEMENT - -PLEASE READ THIS END USER LICENSE AGREEMENT ("Agreement") CAREFULLY BEFORE DOWNLOADING, INSTALLING, COPYING, OR USING THIS SOFTWARE AND ACCOMPANYING DOCUMENTATION. BY DOWNLOADING, INSTALLING, COPYING OR USING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, PROMPTLY RETURN AND DO NOT USE THE SOFTWARE. IF YOU HAVE PURCHASED THIS LICENSE TO THE SOFTWARE, YOUR RIGHT TO RETURN THE SOFTWARE EXPIRES 30 DAYS AFTER YOUR PURCHASE AND APPLIES ONLY TO THE ORIGINAL PURCHASER. - -1. Definitions. - - "Software" means this software and any accompanying documentation, including any upgrades, updates, bug fixes or modified versions provided to you by Cypress. - - "Source Code" means software in human-readable form. - - "Binary Code" means the software in binary code form such as object code or an executable. - - "Development Tools" means software that is intended to be installed on a personal computer and used to create programming code for Firmware, Drivers, or Host Applications. Examples of Development Tools are Cypress's PSoC Creator software, Cypress's WICED SDKs, and Cypress's ModusToolbox software. - - "Firmware" means software that executes on a Cypress hardware product. - - "Driver" means software that enables the use of a Cypress hardware product on a particular host operating system such as GNU/Linux, Windows, MacOS, Android, and iOS. - - "Host Application" means software that executes on a device other than a Cypress hardware product in order to program, control, or communicate with a Cypress hardware product. - - "inf File" means a hardware setup information file (.inf file) created by the Software to allow a Microsoft Windows operating system to install the driver for a Cypress hardware product. - -2. License. Subject to the terms and conditions of this Agreement, Cypress Semiconductor Corporation ("Cypress") and its suppliers grant to you a non-exclusive, non-transferable license under their copyright rights: - - a. to use the Development Tools in object code form solely for the purpose of creating Firmware, Drivers, Host Applications, and inf Files for Cypress hardware products; and - - b. (i) if provided in Source Code form, to copy, modify, and compile the Firmware Source Code to create Firmware for execution on a Cypress hardware product, and (ii) to distribute Firmware in binary code form only, only when installed onto a Cypress hardware product; and - - c. (i) if provided in Source Code form, to copy, modify, and compile the Driver Source Code to create one or more Drivers to enable the use of a Cypress hardware product on a particular host operating system, and (ii) to distribute the Driver, in binary code form only, only when installed on a device that includes the Cypress hardware product that the Driver is intended to enable; and - - d. (i) if provided in Source Code form, to copy, modify, and compile the Host Application Source Code to create one or more Host Applications to program, control, or communicate with a Cypress hardware product, and (ii) to distribute Host Applications, in binary code form only, only when installed on a device that includes a Cypress hardware product that the Host Application is intended to program, control, or communicate with; and - - e. to freely distribute any inf File. - -Any distribution of Software permitted under this Agreement must be made pursuant to your standard end user license agreement used for your proprietary (closed source) software products, such end user license agreement to include, at a minimum, provisions limiting your licensors' liability and prohibiting reverse engineering of the Software, consistent with such provisions in this Agreement. - -3. Free and Open Source Software. Portions of the Software may be licensed under free and/or open source licenses such as the GNU General Public License or other licenses from third parties ("Third Party Software"). Third Party Software is subject to the applicable license agreement and not this Agreement. If you are entitled to receive the source code from Cypress for any Third Party Software included with the Software, either the source code will be included with the Software or you may obtain the source code at no charge from . The applicable license terms will accompany each source code package. To review the license terms applicable to any Third Party Software for which Cypress is not required to provide you with source code, please see the Software's installation directory on your computer. - -4. Proprietary Rights; Ownership. The Software, including all intellectual property rights therein, is and will remain the sole and exclusive property of Cypress or its suppliers. Cypress retains ownership of the Source Code and any compiled version thereof. Subject to Cypress' ownership of the underlying Software (including Source Code), you retain ownership of any modifications you make to the Source Code. You agree not to remove any Cypress copyright or other notices from the Source Code and any modifications thereof. You agree to keep the Source Code confidential. Any reproduction, modification, translation, compilation, or representation of the Source Code except as permitted in Section 2 ("License") is prohibited without the express written permission of Cypress. Except as otherwise expressly provided in this Agreement, you may not: (i) modify, adapt, or create derivative works based upon the Software; (ii) copy the Software; (iii) except and only to the extent explicitly permitted by applicable law despite this limitation, decompile, translate, reverse engineer, disassemble or otherwise reduce the Software to human-readable form; or (iv) use the Software or any sample code other than for the Purpose. You hereby covenant that you will not assert any claim that the Software, or derivative works thereof created by or for Cypress, infringe any intellectual property right owned or controlled by you - -5. No Support. Cypress may, but is not required to, provide technical support for the Software. - -6. Term and Termination. This Agreement is effective until terminated, and either party may terminate this Agreement at any time with or without cause. This Agreement and your license rights under this Agreement will terminate immediately without notice from Cypress if you fail to comply with any provision of this Agreement. Upon termination, you must destroy all copies of Software in your possession or control. The following paragraphs shall survive any termination of this Agreement: "Free and Open Source Software," "Proprietary Rights; Ownership," "Compliance With Law," "Disclaimer," "Limitation of Liability," and "General." - -7. Compliance With Law. Each party agrees to comply with all applicable laws, rules and regulations in connection with its activities under this Agreement. Without limiting the foregoing, the Software may be subject to export control laws and regulations of the United States and other countries. You agree to comply strictly with all such laws and regulations and acknowledge that you have the responsibility to obtain licenses to export, re-export, or import the Software. - -8. Disclaimer. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THE SOFTWARE, INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes to the Software without notice. Cypress does not assume any liability arising out of the application or use of Software or any product or circuit described in the Software. It is the responsibility of the user of the Software to properly design, program, and test the functionality and safety of any application made of the Software and any resulting product. Cypress does not authorize its Software or products for use in any products where a malfunction or failure of the Software or Cypress product may reasonably be expected to result in significant property damage, injury or death ("High Risk Product"). If you include any Software or Cypress product in a High Risk Product, you assume all risk of such use and agree to indemnify Cypress and its suppliers against all liability. No computing device can be absolutely secure. Therefore, despite security measures implemented in Cypress hardware or software products, Cypress does not assume any liability arising out of any security breach, such as unauthorized access to or use of a Cypress product. - -9. Limitation of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL CYPRESS OR ITS SUPPLIERS, RESELLERS, OR DISTRIBUTORS BE LIABLE FOR ANY LOST REVENUE, PROFIT, OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL, OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF CYPRESS OR ITS SUPPLIERS, RESELLERS, OR DISTRIBUTORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT SHALL CYPRESS' OR ITS SUPPLIERS', RESELLERS', OR DISTRIBUTORS' TOTAL LIABILITY TO YOU, WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, EXCEED THE GREATER OF US$500 OR THE PRICE PAID BY YOU FOR THE SOFTWARE. THE FOREGOING LIMITATIONS SHALL APPLY EVEN IF THE ABOVE-STATED WARRANTY FAILS OF ITS ESSENTIAL PURPOSE. BECAUSE SOME STATES OR JURISDICTIONS DO NOT ALLOW LIMITATION OR EXCLUSION OF CONSEQUENTIAL OR INCIDENTAL DAMAGES, ALL OR PORTIONS OF THE ABOVE LIMITATION MAY NOT APPLY TO YOU. - -10. Restricted Rights. The Software is commercial computer software as that term is described in 48 C.F.R. 252.227-7014(a)(1). If the Software is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in Software shall be only those set forth in this Agreement. - -11. Personal Information. You agree that information you provide through your registration on Cypress IoT Community Forum or other Cypress websites, including contact information or other personal information, may be collected and used by Cypress consistent with its Data Privacy Policy (www.cypress.com/privacy-policy), as updated or revised from time to time, and may be provided to its third party sales representatives, distributors and other entities conducting sales activities for Cypress for sales-related and other business purposes. - -12. General. This Agreement will bind and inure to the benefit of each party's successors and assigns, provided that you may not assign or transfer this Agreement, in whole or in part, without Cypress' written consent. This Agreement shall be governed by and construed in accordance with the laws of the State of California, United States of America, as if performed wholly within the state and without giving effect to the principles of conflict of law. The parties consent to personal and exclusive jurisdiction of and venue in, the state and federal courts within Santa Clara County, California; provided however, that nothing in this Agreement will limit Cypress' right to bring legal action in any venue in order to protect or enforce its intellectual property rights. No failure of either party to exercise or enforce any of its rights under this Agreement will act as a waiver of such rights. If any portion of this Agreement is found to be void or unenforceable, the remaining provisions of this Agreement shall remain in full force and effect. This Agreement is the complete and exclusive agreement between the parties with respect to the subject matter hereof, superseding and replacing any and all prior agreements, communications, and understandings (both written and oral) regarding such subject matter. Any notice to Cypress will be deemed effective when actually received and must be sent to Cypress Semiconductor Corporation, ATTN: Chief Legal Officer, 198 Champion Court, San Jose, CA 95134 USA. diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/LICENSE b/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/LICENSE deleted file mode 100644 index 59cd3f8a32..0000000000 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/LICENSE +++ /dev/null @@ -1,165 +0,0 @@ -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and -distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright -owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities -that control, are controlled by, or are under common control with that entity. -For the purposes of this definition, "control" means (i) the power, direct or -indirect, to cause the direction or management of such entity, whether by -contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the -outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising -permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including -but not limited to software source code, documentation source, and configuration -files. - -"Object" form shall mean any form resulting from mechanical transformation or -translation of a Source form, including but not limited to compiled object code, -generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made -available under the License, as indicated by a copyright notice that is included -in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that -is based on (or derived from) the Work and for which the editorial revisions, -annotations, elaborations, or other modifications represent, as a whole, an -original work of authorship. For the purposes of this License, Derivative Works -shall not include works that remain separable from, or merely link (or bind by -name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version -of the Work and any modifications or additions to that Work or Derivative Works -thereof, that is intentionally submitted to Licensor for inclusion in the Work -by the copyright owner or by an individual or Legal Entity authorized to submit -on behalf of the copyright owner. For the purposes of this definition, -"submitted" means any form of electronic, verbal, or written communication sent -to the Licensor or its representatives, including but not limited to -communication on electronic mailing lists, source code control systems, and -issue tracking systems that are managed by, or on behalf of, the Licensor for -the purpose of discussing and improving the Work, but excluding communication -that is conspicuously marked or otherwise designated in writing by the copyright -owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf -of whom a Contribution has been received by Licensor and subsequently -incorporated within the Work. - -2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby -grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, -irrevocable copyright license to reproduce, prepare Derivative Works of, -publicly display, publicly perform, sublicense, and distribute the Work and such -Derivative Works in Source or Object form. - -3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby -grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, -irrevocable (except as stated in this section) patent license to make, have -made, use, offer to sell, sell, import, and otherwise transfer the Work, where -such license applies only to those patent claims licensable by such Contributor -that are necessarily infringed by their Contribution(s) alone or by combination -of their Contribution(s) with the Work to which such Contribution(s) was -submitted. If You institute patent litigation against any entity (including a -cross-claim or counterclaim in a lawsuit) alleging that the Work or a -Contribution incorporated within the Work constitutes direct or contributory -patent infringement, then any patent licenses granted to You under this License -for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof -in any medium, with or without modifications, and in Source or Object form, -provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of -this License; and -You must cause any modified files to carry prominent notices stating that You -changed the files; and -You must retain, in the Source form of any Derivative Works that You distribute, -all copyright, patent, trademark, and attribution notices from the Source form -of the Work, excluding those notices that do not pertain to any part of the -Derivative Works; and -If the Work includes a "NOTICE" text file as part of its distribution, then any -Derivative Works that You distribute must include a readable copy of the -attribution notices contained within such NOTICE file, excluding those notices -that do not pertain to any part of the Derivative Works, in at least one of the -following places: within a NOTICE text file distributed as part of the -Derivative Works; within the Source form or documentation, if provided along -with the Derivative Works; or, within a display generated by the Derivative -Works, if and wherever such third-party notices normally appear. The contents of -the NOTICE file are for informational purposes only and do not modify the -License. You may add Your own attribution notices within Derivative Works that -You distribute, alongside or as an addendum to the NOTICE text from the Work, -provided that such additional attribution notices cannot be construed as -modifying the License. -You may add Your own copyright statement to Your modifications and may provide -additional or different license terms and conditions for use, reproduction, or -distribution of Your modifications, or for any such Derivative Works as a whole, -provided Your use, reproduction, and distribution of the Work otherwise complies -with the conditions stated in this License. - -5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted -for inclusion in the Work by You to the Licensor shall be under the terms and -conditions of this License, without any additional terms or conditions. -Notwithstanding the above, nothing herein shall supersede or modify the terms of -any separate license agreement you may have executed with Licensor regarding -such Contributions. - -6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, -service marks, or product names of the Licensor, except as required for -reasonable and customary use in describing the origin of the Work and -reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the -Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, -including, without limitation, any warranties or conditions of TITLE, -NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are -solely responsible for determining the appropriateness of using or -redistributing the Work and assume any risks associated with Your exercise of -permissions under this License. - -8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), -contract, or otherwise, unless required by applicable law (such as deliberate -and grossly negligent acts) or agreed to in writing, shall any Contributor be -liable to You for damages, including any direct, indirect, special, incidental, -or consequential damages of any character arising as a result of this License or -out of the use or inability to use the Work (including but not limited to -damages for loss of goodwill, work stoppage, computer failure or malfunction, or -any and all other commercial damages or losses), even if such Contributor has -been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to -offer, and charge a fee for, acceptance of support, warranty, indemnity, or -other liability obligations and/or rights consistent with this License. However, -in accepting such obligations, You may act only on Your own behalf and on Your -sole responsibility, not on behalf of any other Contributor, and only if You -agree to indemnify, defend, and hold each Contributor harmless for any liability -incurred by, or claims asserted against, such Contributor by reason of your -accepting any such warranty or additional liability. diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/README.md b/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/README.md deleted file mode 100644 index df5f1baf62..0000000000 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# Retarget IO - -### Overview - -A utility library to retarget the standard input/output (STDIO) messages to a UART port. With this library, you can directly print messages on a UART terminal using `printf()`. You can specify the TX pin, RX pin, and the baud rate through the `cy_retarget_io_init()` function. The UART HAL object is externally accessible so that you can use it with other UART HAL functions. - -**NOTE:** The standard library is not standard in how it treats an I/O stream. Some implement a data buffer by default. The buffer is not flushed until it is full. In that case it may appear that your I/O is not working. You should be aware of how the library buffers data, and you should identify a buffering strategy and buffer size for a specified stream. If you supply a buffer, it must exist until the stream is closed. The following line of code disables the buffer for the standard library that accompanies the GCC compiler: - - setvbuf( stdin, NULL, _IONBF, 0 ); - -**NOTE:** If the application is built using newlib-nano, by default, floating point format strings (%f) are not supported. To enable this support, you must add `-u _printf_float` to the linker command line. - -# RTOS Integration -To avoid concurrent access to the UART peripheral in a RTOS environment, the ARM and IAR libraries use mutexes to control access to stdio streams. For Newlib (GCC_ARM), the mutex must be implemented in _write() and can be enabled by adding `DEFINES+=CY_RTOS_AWARE` to the Makefile. For all libraries, the program must start the RTOS kernel before calling any stdio functions. - -### Quick Start -1. Add `#include "cy_retarget_io.h"` -2. Call `cy_retarget_io_init(CYBSP_DEBUG_UART_TX, CYBSP_DEBUG_UART_RX, CY_RETARGET_IO_BAUDRATE);` - - `CYBSP_DEBUG_UART_TX` and `CYBSP_DEBUG_UART_RX` pins are defined in the BSP and `CY_RETARGET_IO_BAUDRATE` is set to 115200. You can use a different baud rate if you prefer. - -3. Start printing using `printf()` - -### Enabling Conversion of '\\n' into "\r\n" -If you want to use only '\\n' instead of "\r\n" for printing a new line using printf(), define the macro `CY_RETARGET_IO_CONVERT_LF_TO_CRLF` using the *DEFINES* variable in the application Makefile. The library will then append '\\r' before '\\n' character on the output direction (STDOUT). No conversion occurs if "\r\n" is already present. - -### More information - -* [API Reference Guide](https://infineon.github.io/retarget-io/html/index.html) -* [Cypress Semiconductor, an Infineon Technologies Company](http://www.cypress.com) -* [Infineon GitHub](https://github.com/infineon) -* [ModusToolbox™](https://www.cypress.com/products/modustoolbox-software-environment) -* [PSoC™ 6 Code Examples using ModusToolbox™ IDE](https://github.com/infineon/Code-Examples-for-ModusToolbox-Software) -* [ModusToolbox™ Software](https://github.com/Infineon/modustoolbox-software) -* [PSoC™ 6 Resources - KBA223067](https://community.cypress.com/docs/DOC-14644) - ---- -© Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation, 2019-2021. diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/RELEASE.md b/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/RELEASE.md deleted file mode 100644 index f8faf96a0c..0000000000 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/RELEASE.md +++ /dev/null @@ -1,49 +0,0 @@ -# Retarget IO - -A utility library to retarget the standard input/output (STDIO) messages to a UART port. With this library, you can directly print messages on a UART terminal using `printf()`. - -### What's Included? -* printf() support over a UART terminal -* Support for GCC, IAR, and ARM toolchains -* Thread safe write for NewLib - -### What Changed? -#### v1.3.0 -* Added support for checking whether data is being transmitted and waiting until done before finishing the deinit process -* Added support for using with HAL v1 or v2 -#### v1.2.0 -* Improve error handling -* Add de-initialization of the mutex to `cy_retarget_io_deinit` -* Update documentation for integration of the library in a RTOS environment. -#### v1.1.1 -* Minor update for documentation & branding -#### v1.1.0 -* Implemented system I/O retarget functions specific to ARM Compiler 6. -* Made _write implementation thread-safe for Newlib. -#### v1.0.0 -* Initial release - -### Supported Software and Tools -This version of the Retarget IO was validated for compatibility with the following Software and Tools: - -| Software and Tools | Version | -| :--- | :----: | -| ModusToolbox™ Software Environment | 2.4.0 | -| GCC Compiler | 10.3.1 | -| IAR Compiler | 8.4 | -| ARM Compiler 6 | 6.11 | - -Minimum required ModusToolbox™ Software Environment: v2.0 - -### More information - -* [API Reference Guide](https://infineon.github.io/retarget-io/html/index.html) -* [Cypress Semiconductor, an Infineon Technologies Company](http://www.cypress.com) -* [Infineon GitHub](https://github.com/infineon) -* [ModusToolbox™](https://www.cypress.com/products/modustoolbox-software-environment) -* [PSoC™ 6 Code Examples using ModusToolbox™ IDE](https://github.com/infineon/Code-Examples-for-ModusToolbox-Software) -* [ModusToolbox™ Software](https://github.com/Infineon/modustoolbox-software) -* [PSoC™ 6 Resources - KBA223067](https://community.cypress.com/docs/DOC-14644) - ---- -© Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation, 2019-2021. \ No newline at end of file diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/cy_retarget_io.c b/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/cy_retarget_io.c deleted file mode 100644 index 5a6239836d..0000000000 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/cy_retarget_io.c +++ /dev/null @@ -1,603 +0,0 @@ -/***************************************************************************//** -* \file cy_retarget_io.c -* -* \brief -* Provides APIs for retargeting stdio to UART hardware contained on the Cypress -* kits. -* -******************************************************************************** -* \copyright -* Copyright 2018-2021 Cypress Semiconductor Corporation (an Infineon company) or -* an affiliate of Cypress Semiconductor Corporation -* -* SPDX-License-Identifier: Apache-2.0 -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*******************************************************************************/ - -#include "cy_retarget_io.h" -#include "cyhal_hw_types.h" -#include "cyhal_uart.h" -#include "cy_utils.h" -#include "cyhal_system.h" -#include -#include - -#if (defined(CY_RTOS_AWARE) || defined(COMPONENT_RTOS_AWARE)) && defined(__GNUC__) && \ - !defined(__ARMCC_VERSION) && !defined(__clang__) - -// The cyhal_uart driver is not necessarily thread-safe. To avoid concurrent -// access, the ARM and IAR libraries use mutexes to control access to stdio -// streams. For Newlib, the mutex must be implemented in _write(). For all -// libraries, the program must start the RTOS kernel before calling any stdio -// functions. - -#include "cyabs_rtos.h" - -static cy_mutex_t cy_retarget_io_mutex; -static bool cy_retarget_io_mutex_initialized = false; -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_mutex_init -//-------------------------------------------------------------------------------------------------- -static cy_rslt_t cy_retarget_io_mutex_init(void) -{ - cy_rslt_t rslt; - if (cy_retarget_io_mutex_initialized) - { - rslt = CY_RSLT_SUCCESS; - } - else if (CY_RSLT_SUCCESS == (rslt = cy_rtos_init_mutex(&cy_retarget_io_mutex))) - { - cy_retarget_io_mutex_initialized = true; - } - return rslt; -} - - -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_mutex_acquire -//-------------------------------------------------------------------------------------------------- -static void cy_retarget_io_mutex_acquire(void) -{ - CY_ASSERT(cy_retarget_io_mutex_initialized); - cy_rslt_t rslt = cy_rtos_get_mutex(&cy_retarget_io_mutex, CY_RTOS_NEVER_TIMEOUT); - if (rslt != CY_RSLT_SUCCESS) - { - abort(); - } -} - - -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_mutex_release -//-------------------------------------------------------------------------------------------------- -static void cy_retarget_io_mutex_release(void) -{ - CY_ASSERT(cy_retarget_io_mutex_initialized); - cy_rslt_t rslt = cy_rtos_set_mutex(&cy_retarget_io_mutex); - if (rslt != CY_RSLT_SUCCESS) - { - abort(); - } -} - - -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_mutex_deinit -//-------------------------------------------------------------------------------------------------- -static void cy_retarget_io_mutex_deinit(void) -{ - CY_ASSERT(cy_retarget_io_mutex_initialized); - cy_rslt_t rslt = cy_rtos_deinit_mutex(&cy_retarget_io_mutex); - if (rslt != CY_RSLT_SUCCESS) - { - abort(); - } -} - - -#else // if (defined(CY_RTOS_AWARE) || defined(COMPONENT_RTOS_AWARE)) && defined(__GNUC__) && -// !defined(__ARMCC_VERSION) && !defined(__clang__) -#ifdef __ICCARM__ -// Ignore unused functions -#pragma diag_suppress=Pe177 -#endif -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_mutex_init -//-------------------------------------------------------------------------------------------------- -static inline cy_rslt_t cy_retarget_io_mutex_init(void) -{ - return CY_RSLT_SUCCESS; -} - - -#if defined(__ARMCC_VERSION) // ARM-MDK -__attribute__((unused)) -#endif -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_mutex_acquire -//-------------------------------------------------------------------------------------------------- -static inline void cy_retarget_io_mutex_acquire(void) -{ -} - - -#if defined(__ARMCC_VERSION) // ARM-MDK -__attribute__((unused)) -#endif -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_mutex_release -//-------------------------------------------------------------------------------------------------- -static inline void cy_retarget_io_mutex_release(void) -{ -} - - -#if defined(__ARMCC_VERSION) // ARM-MDK -__attribute__((unused)) -#endif -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_mutex_deinit -//-------------------------------------------------------------------------------------------------- -static inline void cy_retarget_io_mutex_deinit(void) -{ -} - - -#endif // if (defined(CY_RTOS_AWARE) || defined(COMPONENT_RTOS_AWARE)) && defined(__GNUC__) && -// !defined(__ARMCC_VERSION) && !defined(__clang__) - -#if defined(__cplusplus) -extern "C" { -#endif - -// UART HAL object used by BSP for Debug UART port -cyhal_uart_t cy_retarget_io_uart_obj; - -// Tracks the previous character sent to output stream -#ifdef CY_RETARGET_IO_CONVERT_LF_TO_CRLF -static char cy_retarget_io_stdout_prev_char = 0; -#endif // CY_RETARGET_IO_CONVERT_LF_TO_CRLF - -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_getchar -//-------------------------------------------------------------------------------------------------- -static inline cy_rslt_t cy_retarget_io_getchar(char* c) -{ - return cyhal_uart_getc(&cy_retarget_io_uart_obj, (uint8_t*)c, 0); -} - - -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_putchar -//-------------------------------------------------------------------------------------------------- -static inline cy_rslt_t cy_retarget_io_putchar(char c) -{ - return cyhal_uart_putc(&cy_retarget_io_uart_obj, (uint8_t)c); -} - - -#if defined(__ARMCC_VERSION) // ARM-MDK -//-------------------------------------------------------------------------------------------------- -// fputc -//-------------------------------------------------------------------------------------------------- -__attribute__((weak)) int fputc(int ch, FILE* f) -{ - (void)f; - cy_rslt_t rslt = CY_RSLT_SUCCESS; - #ifdef CY_RETARGET_IO_CONVERT_LF_TO_CRLF - if (((char)ch == '\n') && (cy_retarget_io_stdout_prev_char != '\r')) - { - rslt = cy_retarget_io_putchar('\r'); - } - #endif // CY_RETARGET_IO_CONVERT_LF_TO_CRLF - - if (CY_RSLT_SUCCESS == rslt) - { - rslt = cy_retarget_io_putchar(ch); - } - - #ifdef CY_RETARGET_IO_CONVERT_LF_TO_CRLF - if (CY_RSLT_SUCCESS == rslt) - { - cy_retarget_io_stdout_prev_char = (char)ch; - } - #endif // CY_RETARGET_IO_CONVERT_LF_TO_CRLF - - return (CY_RSLT_SUCCESS == rslt) ? ch : EOF; -} - - -#elif defined (__ICCARM__) // IAR - #include - -//-------------------------------------------------------------------------------------------------- -// __write -//-------------------------------------------------------------------------------------------------- -__weak size_t __write(int handle, const unsigned char* buffer, size_t size) -{ - size_t nChars = 0; - // This template only writes to "standard out", for all other file handles it returns failure. - if (handle != _LLIO_STDOUT) - { - return (_LLIO_ERROR); - } - if (buffer != NULL) - { - cy_rslt_t rslt = CY_RSLT_SUCCESS; - for (; nChars < size; ++nChars) - { - #ifdef CY_RETARGET_IO_CONVERT_LF_TO_CRLF - if ((*buffer == '\n') && (cy_retarget_io_stdout_prev_char != '\r')) - { - rslt = cy_retarget_io_putchar('\r'); - } - #endif // CY_RETARGET_IO_CONVERT_LF_TO_CRLF - - if (rslt == CY_RSLT_SUCCESS) - { - rslt = cy_retarget_io_putchar(*buffer); - } - - if (rslt != CY_RSLT_SUCCESS) - { - break; - } - - #ifdef CY_RETARGET_IO_CONVERT_LF_TO_CRLF - cy_retarget_io_stdout_prev_char = *buffer; - #endif // CY_RETARGET_IO_CONVERT_LF_TO_CRLF - ++buffer; - } - } - return (nChars); -} - - -#else // (__GNUC__) GCC -// Add an explicit reference to the floating point printf library to allow the usage of floating -// point conversion specifier. -__asm(".global _printf_float"); -//-------------------------------------------------------------------------------------------------- -// _write -//-------------------------------------------------------------------------------------------------- -__attribute__((weak)) int _write(int fd, const char* ptr, int len) -{ - int nChars = 0; - (void)fd; - if (ptr != NULL) - { - cy_rslt_t rslt = CY_RSLT_SUCCESS; - cy_retarget_io_mutex_acquire(); - for (; nChars < len; ++nChars) - { - #ifdef CY_RETARGET_IO_CONVERT_LF_TO_CRLF - if ((*ptr == '\n') && (cy_retarget_io_stdout_prev_char != '\r')) - { - rslt = cy_retarget_io_putchar('\r'); - } - #endif // CY_RETARGET_IO_CONVERT_LF_TO_CRLF - - if (CY_RSLT_SUCCESS == rslt) - { - rslt = cy_retarget_io_putchar((uint32_t)*ptr); - } - - if (CY_RSLT_SUCCESS != rslt) - { - break; - } - - #ifdef CY_RETARGET_IO_CONVERT_LF_TO_CRLF - cy_retarget_io_stdout_prev_char = *ptr; - #endif // CY_RETARGET_IO_CONVERT_LF_TO_CRLF - ++ptr; - } - cy_retarget_io_mutex_release(); - } - return (nChars); -} - - -#endif // if defined(__ARMCC_VERSION) - - -#if defined(__ARMCC_VERSION) // ARM-MDK -//-------------------------------------------------------------------------------------------------- -// fgetc -//-------------------------------------------------------------------------------------------------- -__attribute__((weak)) int fgetc(FILE* f) -{ - (void)f; - char c; - cy_rslt_t rslt = cy_retarget_io_getchar(&c); - return (CY_RSLT_SUCCESS == rslt) ? c : EOF; -} - - -#elif defined (__ICCARM__) // IAR -//-------------------------------------------------------------------------------------------------- -// __read -//-------------------------------------------------------------------------------------------------- -__weak size_t __read(int handle, unsigned char* buffer, size_t size) -{ - // This template only reads from "standard in", for all other file handles it returns failure. - if ((handle != _LLIO_STDIN) || (buffer == NULL)) - { - return (_LLIO_ERROR); - } - else - { - cy_rslt_t rslt = cy_retarget_io_getchar((char*)buffer); - return (CY_RSLT_SUCCESS == rslt) ? 1 : 0; - } -} - - -#else // (__GNUC__) GCC -// Add an explicit reference to the floating point scanf library to allow the usage of floating -// point conversion specifier. -__asm(".global _scanf_float"); -//-------------------------------------------------------------------------------------------------- -// _read -//-------------------------------------------------------------------------------------------------- -__attribute__((weak)) int _read(int fd, char* ptr, int len) -{ - (void)fd; - - cy_rslt_t rslt; - int nChars = 0; - if (ptr != NULL) - { - for (; nChars < len; ++ptr) - { - rslt = cy_retarget_io_getchar(ptr); - if (rslt == CY_RSLT_SUCCESS) - { - ++nChars; - if ((*ptr == '\n') || (*ptr == '\r')) - { - break; - } - } - else - { - break; - } - } - } - return (nChars); -} - - -#endif // if defined(__ARMCC_VERSION) - -#if defined(__ARMCC_VERSION) // ARM-MDK -// Include _sys_* prototypes provided by ARM Compiler runtime library - #include - -// Prevent linkage of library functions that use semihosting calls -__asm(".global __use_no_semihosting\n\t"); - -// Enable the linker to select an optimized library that does not include code to handle input -// arguments to main() -__asm(".global __ARM_use_no_argv\n\t"); - -//-------------------------------------------------------------------------------------------------- -// _sys_open -// -// Open a file: dummy implementation. -// Everything goes to the same output, no need to translate the file names -// (__stdin_name/__stdout_name/__stderr_name) to descriptor numbers -//-------------------------------------------------------------------------------------------------- -FILEHANDLE __attribute__((weak)) _sys_open(const char* name, int openmode) -{ - (void)name; - (void)openmode; - return 1; -} - - -//-------------------------------------------------------------------------------------------------- -// _sys_close -// -// Close a file: dummy implementation. -//-------------------------------------------------------------------------------------------------- -int __attribute__((weak)) _sys_close(FILEHANDLE fh) -{ - (void)fh; - return 0; -} - - -//-------------------------------------------------------------------------------------------------- -// _sys_write -// -// Write to a file: dummy implementation. -// The low-level function fputc retargets output to use UART TX -//-------------------------------------------------------------------------------------------------- -int __attribute__((weak)) _sys_write(FILEHANDLE fh, const unsigned char* buf, unsigned len, - int mode) -{ - (void)fh; - (void)buf; - (void)len; - (void)mode; - return 0; -} - - -//-------------------------------------------------------------------------------------------------- -// _sys_read -// -// Read from a file: dummy implementation. -// The low-level function fputc retargets input to use UART RX -//-------------------------------------------------------------------------------------------------- -int __attribute__((weak)) _sys_read(FILEHANDLE fh, unsigned char* buf, unsigned len, int mode) -{ - (void)fh; - (void)buf; - (void)len; - (void)mode; - return -1; -} - - -//-------------------------------------------------------------------------------------------------- -// _ttywrch -// -// Write a character to the output channel: dummy implementation. -//-------------------------------------------------------------------------------------------------- -void __attribute__((weak)) _ttywrch(int ch) -{ - (void)ch; -} - - -//-------------------------------------------------------------------------------------------------- -// _sys_istty -// -// Check if the file is connected to a terminal: dummy implementation -//-------------------------------------------------------------------------------------------------- -int __attribute__((weak)) _sys_istty(FILEHANDLE fh) -{ - (void)fh; - return 0; -} - - -//-------------------------------------------------------------------------------------------------- -// _sys_seek -// -// Move the file position to a given offset: dummy implementation -//-------------------------------------------------------------------------------------------------- -int __attribute__((weak)) _sys_seek(FILEHANDLE fh, long pos) -{ - (void)fh; - (void)pos; - return -1; -} - - -//-------------------------------------------------------------------------------------------------- -// _sys_flen -// Return the current length of a file: dummy implementation -//-------------------------------------------------------------------------------------------------- -long __attribute__((weak)) _sys_flen(FILEHANDLE fh) -{ - (void)fh; - return 0; -} - - -//-------------------------------------------------------------------------------------------------- -// _sys_exit -// -// Terminate the program: dummy implementation -//-------------------------------------------------------------------------------------------------- -void __attribute__((weak)) _sys_exit(int returncode) -{ - (void)returncode; - for (;;) - { - // Halt here forever - } -} - - -//-------------------------------------------------------------------------------------------------- -// _sys_command_string -// -// Return a pointer to the command line: dummy implementation -//-------------------------------------------------------------------------------------------------- -char __attribute__((weak)) *_sys_command_string(char* cmd, int len) -{ - (void)cmd; - (void)len; - return NULL; -} - - -#endif // ARM-MDK - -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_init -//-------------------------------------------------------------------------------------------------- -cy_rslt_t cy_retarget_io_init(cyhal_gpio_t tx, cyhal_gpio_t rx, uint32_t baudrate) -{ - const cyhal_uart_cfg_t uart_config = - { - .data_bits = 8, - .stop_bits = 1, - .parity = CYHAL_UART_PARITY_NONE, - .rx_buffer = NULL, - .rx_buffer_size = 0 - }; - - #if (CYHAL_API_VERSION >= 2) - cy_rslt_t result = - cyhal_uart_init(&cy_retarget_io_uart_obj, tx, rx, NC, NC, NULL, &uart_config); - #else // HAL API version 1 - cy_rslt_t result = cyhal_uart_init(&cy_retarget_io_uart_obj, tx, rx, NULL, &uart_config); - #endif - - if (result == CY_RSLT_SUCCESS) - { - result = cyhal_uart_set_baud(&cy_retarget_io_uart_obj, baudrate, NULL); - } - - if (result == CY_RSLT_SUCCESS) - { - result = cy_retarget_io_mutex_init(); - } - - return result; -} - - -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_is_tx_active -//-------------------------------------------------------------------------------------------------- -bool cy_retarget_io_is_tx_active() -{ - return cyhal_uart_is_tx_active(&cy_retarget_io_uart_obj); -} - - -//-------------------------------------------------------------------------------------------------- -// cy_retarget_io_deinit -//-------------------------------------------------------------------------------------------------- -void cy_retarget_io_deinit(void) -{ - // Since the largest hardware buffer would be 256 bytes - // it takes about 500 ms to transmit the 256 bytes at 9600 baud. - // Thus 1000 ms gives roughly 50% padding to this time. - int timeout_remaining_ms = 1000; - while (timeout_remaining_ms > 0) - { - if (!cy_retarget_io_is_tx_active()) - { - break; - } - cyhal_system_delay_ms(1); - timeout_remaining_ms--; - } - CY_ASSERT(timeout_remaining_ms != 0); - cyhal_uart_free(&cy_retarget_io_uart_obj); - cy_retarget_io_mutex_deinit(); -} - - -#if defined(__cplusplus) -} -#endif diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/cy_retarget_io.h b/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/cy_retarget_io.h deleted file mode 100644 index 7f51bf4a5b..0000000000 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/cy_retarget_io.h +++ /dev/null @@ -1,99 +0,0 @@ -/***********************************************************************************************//** - * \file cy_retarget_io.h - * - * \brief - * Provides APIs for transmitting messages to or from the board via standard - * printf/scanf functions. Messages are transmitted over a UART connection which - * is generally connected to a host machine. Transmission is done at 115200 baud - * using the tx and rx pins provided by the user of this library. The UART - * instance is made available via cy_retarget_io_uart_obj in case any changes - * to the default configuration are desired. - * NOTE: If the application is built using newlib-nano, by default, floating - * point format strings (%f) are not supported. To enable this support you must - * add '-u _printf_float' to the linker command line. - * - *************************************************************************************************** - * \copyright - * Copyright 2018-2021 Cypress Semiconductor Corporation (an Infineon company) or - * an affiliate of Cypress Semiconductor Corporation - * - * SPDX-License-Identifier: Apache-2.0 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - **************************************************************************************************/ - -/** - * \addtogroup group_board_libs Retarget IO - * \{ - */ - -#pragma once - -#include -#include "cy_result.h" -#include "cyhal_hw_types.h" - -#if defined(__cplusplus) -extern "C" { -#endif - -/** UART HAL object used by this library */ -extern cyhal_uart_t cy_retarget_io_uart_obj; - -/** UART baud rate */ -#define CY_RETARGET_IO_BAUDRATE (115200) - -#ifdef DOXYGEN - -/** Defining this macro enables conversion of line feed (LF) into carriage - * return followed by line feed (CR & LF) on the output direction (STDOUT). You - * can define this macro through the DEFINES variable in the application - * Makefile. - */ -#define CY_RETARGET_IO_CONVERT_LF_TO_CRLF - -#endif // DOXYGEN - -/** - * \brief Initialization function for redirecting low level IO commands to allow - * sending messages over a UART interface. This will setup the communication - * interface to allow using printf and related functions. - * - * In an RTOS environment, this function must be called after the RTOS has been - * initialized. - * - * \param tx UART TX pin - * \param rx UART RX pin - * \param baudrate UART baudrate - * \returns CY_RSLT_SUCCESS if successfully initialized, else an error about - * what went wrong - */ -cy_rslt_t cy_retarget_io_init(cyhal_gpio_t tx, cyhal_gpio_t rx, uint32_t baudrate); - -/** - * \brief Checks whether there is data waiting to be written to the serial console. - * \returns true if there are pending TX transactions, otherwise false - */ -bool cy_retarget_io_is_tx_active(); - -/** - * \brief Releases the UART interface allowing it to be used for other purposes. - * After calling this, printf and related functions will no longer work. - */ -void cy_retarget_io_deinit(void); - -#if defined(__cplusplus) -} -#endif - -/** \} group_board_libs */ diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/version.xml b/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/version.xml deleted file mode 100644 index e2b767079e..0000000000 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/retarget-io/version.xml +++ /dev/null @@ -1 +0,0 @@ -1.3.0.25183 diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/.gitignore b/bsp/Infineon/psoc6-evaluationkit-062S2/.gitignore index 7221bde019..8199c46fa5 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/.gitignore +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/.gitignore @@ -13,7 +13,6 @@ build Debug documentation/html -packages/ *~ *.o *.obj diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig b/bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig index 346d12fc35..47b0a8d512 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig @@ -372,53 +372,57 @@ menu "Board extended module Drivers" default n endif - menuconfig BSP_USING_RW007 - bool "Enable RW007" - default n - select PKG_USING_RW007 - select BSP_USING_SPI - select BSP_USING_SPI0 - select RW007_NOT_USE_EXAMPLE_DRIVERS + menuconfig BSP_USING_RW007 + bool "Enable RW007" + default n + select PKG_USING_RW007 + select BSP_USING_SPI + select BSP_USING_SPI0 + select RW007_NOT_USE_EXAMPLE_DRIVERS - if BSP_USING_RW007 - comment "Notice: P5_7 --> 47; P5_6 -->46; P0_5 --> 5; P0_4 --> 4" - config IFX_RW007_SPI_BUS_NAME - string "RW007 BUS NAME" - default "spi0" + if BSP_USING_RW007 + comment "Notice: P5_7 --> 47; P5_6 -->46; P0_5 --> 5; P0_4 --> 4" + config IFX_RW007_SPI_BUS_NAME + string "RW007 BUS NAME" + default "spi0" - config IFX_RW007_WIFI_SSID - string "Wi-Fi SSID" - default "realthread_VIP" + config IFX_RW007_WIFI_SSID + string "Wi-Fi SSID" + default "realthread_VIP" - config IFX_RW007_WIFI_PASSWORD - string "Wi-Fi Password" - default "your wifi password" + config IFX_RW007_WIFI_PASSWORD + string "Wi-Fi Password" + default "your wifi password" - config IFX_RW007_CS_PIN - int "(INT)CS pin index" - range 1 113 - default 5 + config IFX_RW007_CS_PIN + int "(INT)CS pin index" + range 1 113 + default 5 - config IFX_RW007_BOOT0_PIN - int "(INT)BOOT0 pin index (same as spi clk pin)" - range 1 113 - default 4 + config IFX_RW007_BOOT0_PIN + int "(INT)BOOT0 pin index (same as spi clk pin)" + range 1 113 + default 4 - config IFX_RW007_BOOT1_PIN - int "(INT)BOOT1 pin index (same as spi cs pin)" - range 1 113 - default 5 + config IFX_RW007_BOOT1_PIN + int "(INT)BOOT1 pin index (same as spi cs pin)" + range 1 113 + default 5 - config IFX_RW007_INT_BUSY_PIN - int "(INT)INT/BUSY pin index" - range 1 113 - default 47 + config IFX_RW007_INT_BUSY_PIN + int "(INT)INT/BUSY pin index" + range 1 113 + default 47 - config IFX_RW007_RST_PIN - int "(INT)RESET pin index" - range 1 113 - default 46 - endif + config IFX_RW007_RST_PIN + int "(INT)RESET pin index" + range 1 113 + default 46 + endif + config BSP_USING_CYW43012_WIFI + bool "Enable cyw43012 wifi" + select PKG_USING_WLAN_CYW43012 + default n endmenu endmenu diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/board/SConscript b/bsp/Infineon/psoc6-evaluationkit-062S2/board/SConscript index cc8d7415db..12bd7a5c31 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/board/SConscript +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/board/SConscript @@ -19,6 +19,9 @@ if GetDepend(['BSP_USING_SPI3_SAMPLE']): if GetDepend(['BSP_USING_RW007']): src += Glob('ports/drv_rw007.c') +if GetDepend(['BSP_USING_CYW43012_WIFI']): + src += Glob('ports/drv_cyw43012.c') + if GetDepend(['BSP_USING_SLIDER_SAMPLE']): src += Glob('ports/slider_sample.c') @@ -35,6 +38,14 @@ elif rtconfig.PLATFORM in ['armclang']: '/IFX_PSOC6_HAL/mtb-pdl-cat1/drivers/source/TOOLCHAIN_ARM/cy_syslib_ext.S'] CPPDEFINES = ['CY8C624ALQI_S2D42', 'CORE_NAME_CM0P_0', 'CORE_NAME_CM4_0', 'CY_USING_PREBUILT_CM0P_IMAGE', 'CY_USING_HAL', 'COMPONENT_CAT1A', 'COMPONENT_CAT1'] + +if GetDepend(['BSP_USING_CYW43012_WIFI']): + CPPDEFINES += [ + "COMPONENT_WIFI_INTERFACE_SDIO", + "CYBSP_WIFI_CAPABLE", + "CY_RTOS_AWARE", + "CY_SUPPORTS_DEVICE_VALIDATION", + ] group = DefineGroup('Drivers', src, depend=[''], CPPPATH=path, CPPDEFINES=CPPDEFINES) Return('group') diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/board/ports/drv_cyw43012.c b/bsp/Infineon/psoc6-evaluationkit-062S2/board/ports/drv_cyw43012.c new file mode 100644 index 0000000000..98d49eb9f1 --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/board/ports/drv_cyw43012.c @@ -0,0 +1,16 @@ +#include +#include +#ifdef BSP_USING_CYW43012_WIFI +#include + +int wifi_cyw43012_device_init(void) +{ + rt_wlan_set_mode(RT_WLAN_DEVICE_STA_NAME, RT_WLAN_STATION); + rt_wlan_set_mode(RT_WLAN_DEVICE_AP_NAME, RT_WLAN_AP); + + return 0; +} +INIT_APP_EXPORT(wifi_cyw43012_device_init); + + +#endif /* BSP_USING_CYW43012_WIFI */ diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/.ignore_format.yml b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/.ignore_format.yml new file mode 100644 index 0000000000..48692ccb88 --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/.ignore_format.yml @@ -0,0 +1,6 @@ +# files format check exclude path, please follow the instructions below to modify; +# If you need to exclude an entire folder, add the folder path in dir_path; +# If you need to exclude a file, add the path to the file in file_path. + +dir_path: +- TARGET_RTT-062S2 diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM0P/TOOLCHAIN_GCC_ARM/startup_psoc6_02_cm0plus.S b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM0P/TOOLCHAIN_GCC_ARM/startup_psoc6_02_cm0plus.S index 6866b8e646..93f2361579 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM0P/TOOLCHAIN_GCC_ARM/startup_psoc6_02_cm0plus.S +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM0P/TOOLCHAIN_GCC_ARM/startup_psoc6_02_cm0plus.S @@ -287,7 +287,7 @@ Reset_Handler: bl SystemInit #endif - bl entry + bl main /* Should never get here */ b . diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM0P/system_psoc6_cm0plus.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM0P/system_psoc6_cm0plus.c index 79d4a00ba0..52927b3306 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM0P/system_psoc6_cm0plus.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM0P/system_psoc6_cm0plus.c @@ -114,8 +114,6 @@ uint32_t cy_delayFreqKhz = CY_SYSLIB_DIV_ROUNDUP(CY_CLK_SYSTEM_FREQ_HZ_DEFAULT, uint8_t cy_delayFreqMhz = (uint8_t)CY_SYSLIB_DIV_ROUNDUP(CY_CLK_SYSTEM_FREQ_HZ_DEFAULT, CY_DELAY_1M_THRESHOLD); -uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD * - CY_SYSLIB_DIV_ROUNDUP(CY_CLK_SYSTEM_FREQ_HZ_DEFAULT, CY_DELAY_1K_THRESHOLD); /******************************************************************************* * Cy_SysEnableCM4(), Cy_SysRetainCM4(), and Cy_SysResetCM4() @@ -258,7 +256,7 @@ void SystemCoreClockUpdate (void) /* Sets clock frequency for Delay API */ cy_delayFreqMhz = (uint8_t)CY_SYSLIB_DIV_ROUNDUP(SystemCoreClock, CY_DELAY_1M_THRESHOLD); cy_delayFreqKhz = CY_SYSLIB_DIV_ROUNDUP(SystemCoreClock, CY_DELAY_1K_THRESHOLD); - cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD * cy_delayFreqKhz; + /* Get the frequency of AHB source, CLK HF0 is the source for AHB*/ cy_AhbFreqHz = Cy_SysClk_ClkHfGetFrequency(0UL); } diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM4/system_psoc6_cm4.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM4/system_psoc6_cm4.c index bd4a18e4cd..2c766c1a9d 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM4/system_psoc6_cm4.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/COMPONENT_CM4/system_psoc6_cm4.c @@ -101,8 +101,6 @@ uint32_t cy_delayFreqKhz = CY_SYSLIB_DIV_ROUNDUP(CY_CLK_SYSTEM_FREQ_HZ_DEFAULT, uint8_t cy_delayFreqMhz = (uint8_t)CY_SYSLIB_DIV_ROUNDUP(CY_CLK_SYSTEM_FREQ_HZ_DEFAULT, CY_DELAY_1M_THRESHOLD); -uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD * - CY_SYSLIB_DIV_ROUNDUP(CY_CLK_SYSTEM_FREQ_HZ_DEFAULT, CY_DELAY_1K_THRESHOLD); void SystemInit(void) { @@ -252,7 +250,7 @@ void SystemCoreClockUpdate (void) /* Sets clock frequency for Delay API */ cy_delayFreqMhz = (uint8_t)CY_SYSLIB_DIV_ROUNDUP(SystemCoreClock, CY_DELAY_1M_THRESHOLD); cy_delayFreqKhz = CY_SYSLIB_DIV_ROUNDUP(SystemCoreClock, CY_DELAY_1K_THRESHOLD); - cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD * cy_delayFreqKhz; + /* Get the frequency of AHB source, CLK HF0 is the source for AHB*/ cy_AhbFreqHz = Cy_SysClk_ClkHfGetFrequency(0UL); } diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/README.md b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/README.md new file mode 100644 index 0000000000..d90adbfdfd --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/README.md @@ -0,0 +1,74 @@ +# CY8CKIT-062S2-43012 BSP + +## Overview + +The CY8CKIT-062S2-43012 PSoC™ 6S2 Wi-Fi BT Pioneer Kit is a low-cost hardware platform that enables design and debug of PSoC™ 6 MCUs. It comes with a Murata 1LV Module (CYW43012 Wi-Fi + Bluetooth Combo Chip), industry-leading CAPSENSE™ for touch buttons and slider, on-board debugger/programmer with KitProg3, microSD card interface, 512-Mb Quad-SPI NOR flash, PDM-PCM microphone interface. + +![](docs/html/board.png) + +To use code from the BSP, simply include a reference to `cybsp.h`. + +## Features + +### Kit Features: + +* Support of up to 2MB Flash and 1MB SRAM +* Dedicated SDHC to interface with WICED wireless devices. +* Delivers dual-cores, with a 150-MHz Arm® Cortex®-M4 as the primary application processor and a 100-MHz Arm® Cortex®-M0+ as the secondary processor for low-power operations. +* Supports Full-Speed USB, capacitive-sensing with CAPSENSE, a PDM-PCM digital microphone interface, a Quad- SPI interface, 13 serial communication blocks, 7 programmable analog blocks, and 56 programmable digital blocks. + +### Kit Contents: + +* PSoC™ 6S2 Wi-Fi BT Pioneer Board +* USB Type-A to Micro-B cable +* Quick Start Guide +* Four jumper wires (4 inches each) +* Two jumper wires (5 inches each) + +## BSP Configuration + +The BSP has a few hooks that allow its behavior to be configured. Some of these items are enabled by default while others must be explicitly enabled. Items enabled by default are specified in the CY8CKIT-062S2-43012.mk file. The items that are enabled can be changed by creating a custom BSP or by editing the application makefile. + +Components: +* Device specific category reference (e.g.: CAT1) - This component, enabled by default, pulls in any device specific code for this board. + +Defines: +* CYBSP_WIFI_CAPABLE - This define, disabled by default, causes the BSP to initialize the interface to an onboard wireless chip if it has one. +* CY_USING_HAL - This define, enabled by default, specifies that the HAL is intended to be used by the application. This will cause the BSP to include the applicable header file and to initialize the system level drivers. +* CYBSP_CUSTOM_SYSCLK_PM_CALLBACK - This define, disabled by default, causes the BSP to skip registering its default SysClk Power Management callback, if any, and instead to invoke the application-defined function `cybsp_register_custom_sysclk_pm_callback` to register an application-specific callback. + +### Clock Configuration + +| Clock | Source | Output Frequency | +|----------|-----------|------------------| +| FLL | IMO | 100.0 MHz | +| PLL | IMO | 48.0 MHz | +| CLK_HF0 | CLK_PATH0 | 100 MHz | + +### Power Configuration + +* System Active Power Mode: LP +* System Idle Power Mode: Deep Sleep +* VDDA Voltage: 3300 mV +* VDDD Voltage: 3300 mV + +See the [BSP Setttings][settings] for additional board specific configuration settings. + +## API Reference Manual + +The CY8CKIT-062S2-43012 Board Support Package provides a set of APIs to configure, initialize and use the board resources. + +See the [BSP API Reference Manual][api] for the complete list of the provided interfaces. + +## More information +* [CY8CKIT-062S2-43012 BSP API Reference Manual][api] +* [CY8CKIT-062S2-43012 Documentation](http://www.cypress.com/CY8CKIT-062S2-43012) +* [Cypress Semiconductor, an Infineon Technologies Company](http://www.cypress.com) +* [Infineon GitHub](https://github.com/infineon) +* [ModusToolbox™](https://www.cypress.com/products/modustoolbox-software-environment) + +[api]: https://infineon.github.io/TARGET_CY8CKIT-062S2-43012/html/modules.html +[settings]: https://infineon.github.io/TARGET_CY8CKIT-062S2-43012/html/md_bsp_settings.html + +--- +© Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation, 2019-2022. \ No newline at end of file diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/RELEASE.md b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/RELEASE.md new file mode 100644 index 0000000000..b723ce96c8 --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/RELEASE.md @@ -0,0 +1,106 @@ +# CY8CKIT-062S2-43012 BSP Release Notes +The CY8CKIT-062S2-43012 PSoC™ 6S2 Wi-Fi BT Pioneer Kit is a low-cost hardware platform that enables design and debug of PSoC™ 6 MCUs. It comes with a Murata 1LV Module (CYW43012 Wi-Fi + Bluetooth Combo Chip), industry-leading CAPSENSE™ for touch buttons and slider, on-board debugger/programmer with KitProg3, microSD card interface, 512-Mb Quad-SPI NOR flash, PDM-PCM microphone interface. + +NOTE: BSPs are versioned by family. This means that version 1.2.0 of any BSP in a family (eg: PSoC™ 6) will have the same software maturity level. However, not all updates are necessarily applicable for each BSP in the family so not all version numbers will exist for each board. Additionally, new BSPs may not start at version 1.0.0. In the event of adding a common feature across all BSPs, the libraries are assigned the same version number. For example if BSP_A is at v1.3.0 and BSP_B is at v1.2.0, the event will trigger a version update to v1.4.0 for both BSP_A and BSP_B. This allows the common feature to be tracked in a consistent way. + +### What's Included? +The CY8CKIT-062S2-43012 library includes the following: +* BSP specific makefile to configure the build process for the board +* cybsp.c/h files to initialize the board and any system peripherals +* cybsp_types.h file describing basic board setup +* CM4 Linker script & startup code for GCC, IAR, and ARM toolchains +* CM0+ Linker script & startup code for GCC, IAR, and ARM toolchains +* Configurator design files (and generated code) to setup board specific peripherals +* .lib file references for all dependent libraries +* API documentation + +### What Changed? +#### v4.2.0 +* Updated linker scripts and startup code to align with mtb-pdl-cat1 v3.4.0 +* Added functionality to enable BSP Assistant chip flow +* Added capabilities to match BSPS created by BSP Assistant chip flow +#### v4.1.0 +* Add macro `CYBSP_USER_BTN_DRIVE` indicating the drive mode that should be used for user buttons +* PSoC 64 boards: Fix cybsp_init not recognizing that a prebuilt CM0+ image is in use when using TFM. +#### v4.0.0 +Note: This revision is only compatible with ModusToolbox Tools 3.0 and newer. +* Removed default dependency on CAPSENSE™ middleware. The library manager can be used to add this dependency if desired. +* Updated recipe-make, core-make, and PDL to new major versions +* Regenerated code with Configurators from ModusToolbox™ v3.0.0 +* Renamed top level board makefile to bsp.mk +* Removed version.xml file in favor of new props.json +#### v3.1.0 +* Added optional macro CYBSP_CUSTOM_SYSCLK_PM_CALLBACK to allow overriding default clock power management behavior. +* Enable AIROC™ BLE stack for MCUs with an integrated BLE radio +#### v3.0.0 +* Updated to HAL dependency to v2.0.0 +* Updated CAPSENSE™ dependency to v3.0.0 +* Regenerated code with Configurators from ModusToolbox™ v2.4.0 +#### v2.3.0 +* Add new connectivity components for easier board customization +* Simplify BT configuration settings for boards that support it +* Minor branding updates +#### v2.2.0 +* Updated PSoC™ 64 linker sections to match secure policy settings +* Minor documentation updates +#### v2.1.0 +* Added component CAT1 to all boards +* Added new components for connectivity chips +* Added BT configuration settings for boards that support it +* Minor documentation updates +#### v2.0.1 +* Minor update to better handle when to include the SCL library in the build +#### v2.0.0 +* Updated design files and GeneratedSource with ModusToolbox™ 2.2 release +* Migrated pin definitions into design.modus file +* Updated clock frequencies to 100 MHz (fast) / 50 MHz (slow) +* Updated MPNs on some boards to non-obsolete parts +* Switched psoc6pdl dependency to new mtb-pdl +* Switched psoc6hal dependency to new mtb-hal +* Switched psoc6make dependency to new core-make & recipe-make-cat1a +NOTE: This version requires ModusToolbox™ tools 2.2 or later. This version is not backwards compatible with 1.X versions. Additional manual steps must be taken to successfully update a design using a 1.x version of the BSP to this version. +#### v1.3.0 +* Minor update for documentation & branding +* Updated design files to use latest personality files +* Initialize VDDA voltage if set in configurator +NOTE: This requires psoc6hal 1.3.0 or later +#### v1.2.1 +* Added 43012/4343W/43438 component to appropriate BSPs +* Added multi-image policy for secure (064) BSPs +#### v1.2.0 +* Standardize version numbering for all boards in a family +* Moved UDB SDIO implementation into its own library udb-sdio-whd library +* Added call to setup HAL SysPM driver (requires HAL 1.2.0 or later) +* Updated documentation +NOTE: This requires psoc6hal 1.2.0 or later +#### v1.1.0 +* Updated linker scripts and startup code for the CM0+ and CM4 cores. The files are now in core specific directories. +* Minor updates to avoid potential warnings on some toolchains +#### v1.0.1 +* Added pin references for the board's J2 Header (for appropriate boards) +#### v1.0.0 +* Initial release + +### Supported Software and Tools +This version of the CY8CKIT-062S2-43012 BSP was validated for compatibility with the following Software and Tools: + +| Software and Tools | Version | +| :--- | :----: | +| ModusToolbox™ Software Environment | 3.1.0 | +| GCC Compiler | 12.2.1 | +| IAR Compiler | 9.30.1 | +| ARM Compiler | 6.16 | + +Minimum required ModusToolbox™ Software Environment: v3.0.0 + +### More information +* [CY8CKIT-062S2-43012 BSP API Reference Manual][api] +* [CY8CKIT-062S2-43012 Documentation](http://www.cypress.com/CY8CKIT-062S2-43012) +* [Cypress Semiconductor, an Infineon Technologies Company](http://www.cypress.com) +* [Infineon GitHub](https://github.com/infineon) +* [ModusToolbox™](https://www.cypress.com/products/modustoolbox-software-environment) + +[api]: https://infineon.github.io/TARGET_CY8CKIT-062S2-43012/html/modules.html + +--- +© Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation, 2019-2022. \ No newline at end of file diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/bluetooth/cybsp_bt_config.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/bluetooth/cybsp_bt_config.c new file mode 100644 index 0000000000..8837d6f503 --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/bluetooth/cybsp_bt_config.c @@ -0,0 +1,92 @@ +/***********************************************************************************************//** + * \copyright + * Copyright 2020-2022 Cypress Semiconductor Corporation (an Infineon company) or + * an affiliate of Cypress Semiconductor Corporation + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **************************************************************************************************/ + +#if defined(COMPONENT_WICED_BLE) || defined(COMPONENT_WICED_DUALMODE) + +#include "cybsp_bt_config.h" +#include "cycfg_connectivity_bt.h" +#include "wiced_bt_dev.h" + +// Not all boards use all of these pins. Any that arn't defined we will fallback on No Connects. +#if !defined(CYBSP_BT_POWER) + #define CYBSP_BT_POWER (NC) +#endif +#if !defined(CYCFG_BT_DEV_WAKE_GPIO) + #define CYCFG_BT_DEV_WAKE_GPIO (NC) +#endif +#if !defined(CYCFG_BT_HOST_WAKE_GPIO) + #define CYCFG_BT_HOST_WAKE_GPIO (NC) +#endif +#if !defined(CYBSP_BT_UART_TX) + #define CYBSP_BT_UART_TX (NC) +#endif +#if !defined(CYBSP_BT_UART_RX) + #define CYBSP_BT_UART_RX (NC) +#endif +#if !defined(CYBSP_BT_UART_RTS) + #define CYBSP_BT_UART_RTS (NC) +#endif +#if !defined(CYBSP_BT_UART_CTS) + #define CYBSP_BT_UART_CTS (NC) +#endif + +const cybt_platform_config_t cybsp_bt_platform_cfg = +{ + .hci_config = + { + .hci_transport = CYBT_HCI_UART, + + .hci = + { + .hci_uart = + { + .uart_tx_pin = CYBSP_BT_UART_TX, + .uart_rx_pin = CYBSP_BT_UART_RX, + .uart_rts_pin = CYBSP_BT_UART_RTS, + .uart_cts_pin = CYBSP_BT_UART_CTS, + + .baud_rate_for_fw_download = CYBSP_BT_PLATFORM_CFG_BAUD_DOWNLOAD, + .baud_rate_for_feature = CYBSP_BT_PLATFORM_CFG_BAUD_FEATURE, + + .data_bits = CYBSP_BT_PLATFORM_CFG_BITS_DATA, + .stop_bits = CYBSP_BT_PLATFORM_CFG_BITS_STOP, + .parity = CYHAL_UART_PARITY_NONE, + .flow_control = true + } + } + }, + + .controller_config = + { + .bt_power_pin = CYBSP_BT_POWER, + .sleep_mode = + { + .sleep_mode_enabled = CYBSP_BT_PLATFORM_CFG_SLEEP_MODE_LP_ENABLED, + .device_wakeup_pin = CYCFG_BT_DEV_WAKE_GPIO, + .host_wakeup_pin = CYCFG_BT_HOST_WAKE_GPIO, + .device_wake_polarity = CYCFG_BT_DEV_WAKE_POLARITY, + .host_wake_polarity = CYCFG_BT_HOST_WAKE_IRQ_EVENT + } + }, + + .task_mem_pool_size = CYBSP_BT_PLATFORM_CFG_MEM_POOL_BYTES +}; + +#endif /* defined(COMPONENT_WICED_BLE) || defined(COMPONENT_WICED_DUALMODE) */ diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/bluetooth/cybsp_bt_config.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/bluetooth/cybsp_bt_config.h new file mode 100644 index 0000000000..18dee49d5f --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/bluetooth/cybsp_bt_config.h @@ -0,0 +1,76 @@ +/***********************************************************************************************//** + * \copyright + * Copyright 2020-2022 Cypress Semiconductor Corporation (an Infineon company) or + * an affiliate of Cypress Semiconductor Corporation + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **************************************************************************************************/ + +/** + * \addtogroup group_bsp_bt Bluetooth Configuration Structure + * \{ + * Basic configuration structure for the Bluetooth interface on this board. + */ +#pragma once + +#if defined(COMPONENT_WICED_BLE) || defined(COMPONENT_WICED_DUALMODE) + +#include "cybt_platform_config.h" +#include "cycfg_pins.h" + +#if defined(__cplusplus) +extern "C" { +#endif + +#if !defined(CYBSP_BT_PLATFORM_CFG_BAUD_DOWNLOAD) +/** If not already defined, the baud rate to download data at. */ +#define CYBSP_BT_PLATFORM_CFG_BAUD_DOWNLOAD (115200) +#endif + +#if !defined(CYBSP_BT_PLATFORM_CFG_BAUD_FEATURE) +/** If not already defined, the baud rate for general operation. */ +#define CYBSP_BT_PLATFORM_CFG_BAUD_FEATURE (115200) +#endif + +#if !defined(CYBSP_BT_PLATFORM_CFG_BITS_DATA) +/** If not already defined, the number of data bits to transmit. */ +#define CYBSP_BT_PLATFORM_CFG_BITS_DATA (8) +#endif + +#if !defined(CYBSP_BT_PLATFORM_CFG_BITS_STOP) +/** If not already defined, the number of stop bits to transmit. */ +#define CYBSP_BT_PLATFORM_CFG_BITS_STOP (1) +#endif + +#if !defined(CYBSP_BT_PLATFORM_CFG_MEM_POOL_BYTES) +/** If not already defined, the number of bytes to allocated for the task memory pool. */ +#define CYBSP_BT_PLATFORM_CFG_MEM_POOL_BYTES (2048) +#endif + +#if !defined(CYBSP_BT_PLATFORM_CFG_SLEEP_MODE_LP_ENABLED) +/** If not already defined, the sleep mode LP is enabled. */ +#define CYBSP_BT_PLATFORM_CFG_SLEEP_MODE_LP_ENABLED (CYCFG_BT_LP_ENABLED) +#endif + +/** Bluetooth platform configuration settings for the board. */ +extern const cybt_platform_config_t cybsp_bt_platform_cfg; + +#ifdef __cplusplus +} +#endif // __cplusplus + +#endif /* defined(COMPONENT_WICED_BLE) || defined(COMPONENT_WICED_DUALMODE) */ + +/** \} group_bsp_bt */ diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.c index cd98ac6802..bb0769fe3b 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.c @@ -5,8 +5,8 @@ * Wrapper function to initialize all generated code. * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.h index 10610828b1..378ee713a1 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.h @@ -5,8 +5,8 @@ * Simple wrapper header containing all generated files. * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -35,6 +35,7 @@ extern "C" { #include "cycfg_notices.h" #include "cycfg_system.h" +#include "cycfg_connectivity_bt.h" #include "cycfg_clocks.h" #include "cycfg_routing.h" #include "cycfg_peripherals.h" diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.timestamp b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.timestamp index cca894e388..77e9ed8698 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.timestamp +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg.timestamp @@ -5,8 +5,8 @@ * Sentinel file for determining if generated source is up to date. * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.c index b6eb57c1f2..9fdac72ca7 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.c @@ -4,10 +4,10 @@ * Description: * CAPSENSE Middleware configuration * This file should not be modified. It was automatically generated by -* CAPSENSE Configurator 5.0.0.2684 +* CAPSENSE Configurator 6.10.0.3796 * ******************************************************************************** -* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) +* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) * or an affiliate of Cypress Semiconductor Corporation. * SPDX-License-Identifier: Apache-2.0 * @@ -26,7 +26,7 @@ #include "cycfg_capsense.h" -/* This enables code only when the CAPSENSE(TM) Middleware is present in the project +/* This enables code only when the CAPSENSE(TM) Middleware is present in the project * or the information about the Middleware presence cannot be obtained. */ #if (defined(COMPONENT_MW_CAPSENSE) || !defined(COMPONENT_MW_CORE_MAKE)) @@ -80,6 +80,10 @@ static cy_stc_capsense_internal_context_t cy_capsense_internalContext; static uint16_t cy_capsense_rawFilterHistory[CY_CAPSENSE_RAW_HISTORY_SIZE] = {0}; #endif +#if (CY_CAPSENSE_RAW_ALP_HISTORY_SIZE > 0) + static uint16_t cy_capsense_rawAlpFilterHistory[CY_CAPSENSE_RAW_ALP_HISTORY_SIZE] = {0}; +#endif + #if (CY_CAPSENSE_IIR_HISTORY_LOW_SIZE > 0) static uint8_t cy_capsense_iirHistoryLow[CY_CAPSENSE_IIR_HISTORY_LOW_SIZE] = {0}; #endif @@ -138,6 +142,7 @@ static const cy_stc_capsense_common_config_t cy_capsense_commonConfig = .numPin = CY_CAPSENSE_PIN_COUNT, .numSns = CY_CAPSENSE_SENSOR_COUNT, .numWd = CY_CAPSENSE_TOTAL_WIDGET_COUNT, +#if (CY_CAPSENSE_MW_VERSION < 400) .csdEn = CY_CAPSENSE_ENABLE, .csxEn = CY_CAPSENSE_DISABLE, #if (CY_CAPSENSE_MW_VERSION < 300) @@ -147,6 +152,7 @@ static const cy_stc_capsense_common_config_t cy_capsense_commonConfig = .bistEn = CY_CAPSENSE_DISABLE, #endif .positionFilterEn = CY_CAPSENSE_DISABLE, +#endif .periDividerType = (uint8_t)CY_CAPSENSE_PERI_DIV_TYPE, .periDividerIndex = CY_CAPSENSE_PERI_DIV_INDEX, .analogWakeupDelay = 25u, @@ -182,34 +188,46 @@ static const cy_stc_capsense_common_config_t cy_capsense_commonConfig = .pinCsh = 0u, .pinCintA = 0u, .pinCintB = 0u, +#if (CY_CAPSENSE_MW_VERSION < 400) .csdShieldEn = CY_CAPSENSE_DISABLE, +#endif .csdInactiveSnsConnection = CY_CAPSENSE_SNS_CONNECTION_GROUND, - #if (CY_CAPSENSE_MW_VERSION >= 300) - .csxInactiveSnsConnection = CY_CAPSENSE_SNS_CONNECTION_GROUND, - #endif +#if (CY_CAPSENSE_MW_VERSION >= 300) + .csxInactiveSnsConnection = CY_CAPSENSE_SNS_CONNECTION_GROUND, +#endif .csdShieldDelay = CY_CAPSENSE_SH_DELAY_0NS, .csdVref = 0u, .csdRConst = 1000u, +#if (CY_CAPSENSE_MW_VERSION < 400) .csdCTankShieldEn = CY_CAPSENSE_DISABLE, +#endif .csdShieldNumPin = 0u, .csdShieldSwRes = CY_CAPSENSE_SHIELD_SW_RES_MEDIUM, .csdInitSwRes = CY_CAPSENSE_INIT_SW_RES_MEDIUM, .csdChargeTransfer = CY_CAPSENSE_IDAC_SOURCING, .csdRawTarget = 85u, +#if (CY_CAPSENSE_MW_VERSION < 400) .csdAutotuneEn = CY_CAPSENSE_CSD_SS_HWTH_EN, .csdIdacAutocalEn = CY_CAPSENSE_ENABLE, .csdIdacAutoGainEn = CY_CAPSENSE_ENABLE, +#endif .csdCalibrationError = 10u, .csdIdacGainInitIndex = 4u, .csdIdacMin = 20u, +#if (CY_CAPSENSE_MW_VERSION < 400) .csdIdacCompEn = CY_CAPSENSE_ENABLE, +#endif .csdFineInitTime = 10u, +#if (CY_CAPSENSE_MW_VERSION < 400) .csdIdacRowColAlignEn = CY_CAPSENSE_ENABLE, +#endif .csdMfsDividerOffsetF1 = 1u, .csdMfsDividerOffsetF2 = 2u, .csxRawTarget = 40u, +#if (CY_CAPSENSE_MW_VERSION < 400) .csxIdacGainInitIndex = 2u, .csxIdacAutocalEn = CY_CAPSENSE_DISABLE, +#endif .csxCalibrationError = 20u, .csxFineInitTime = 10u, .csxInitSwRes = CY_CAPSENSE_INIT_SW_RES_MEDIUM, @@ -385,6 +403,14 @@ static const cy_stc_capsense_common_config_t cy_capsense_commonConfig = static const cy_stc_capsense_pin_config_t cy_capsense_pinConfig[CY_CAPSENSE_PIN_COUNT] = { + { /* Button0_Sns0 */ + Button0_Sns0_PORT, + Button0_Sns0_PIN, + }, + { /* Button1_Sns0 */ + Button1_Sns0_PORT, + Button1_Sns0_PIN, + }, { /* LinearSlider0_Sns0 */ LinearSlider0_Sns0_PORT, LinearSlider0_Sns0_PIN, @@ -416,37 +442,47 @@ static const cy_stc_capsense_pin_config_t cy_capsense_pinConfig[CY_CAPSENSE_PIN_ #if (CY_CAPSENSE_ELTD_COUNT > 0) static const cy_stc_capsense_electrode_config_t cy_capsense_electrodeConfig[CY_CAPSENSE_ELTD_COUNT] = { - { /* LinearSlider0_Sns0 */ + { /* Button0_Sns0 */ .ptrPin = &cy_capsense_pinConfig[0u], .type = (uint8_t)CY_CAPSENSE_ELTD_TYPE_SELF_E, .numPins = 1u, }, - { /* LinearSlider0_Sns1 */ + { /* Button1_Sns0 */ .ptrPin = &cy_capsense_pinConfig[1u], .type = (uint8_t)CY_CAPSENSE_ELTD_TYPE_SELF_E, .numPins = 1u, }, - { /* LinearSlider0_Sns2 */ + { /* LinearSlider0_Sns0 */ .ptrPin = &cy_capsense_pinConfig[2u], .type = (uint8_t)CY_CAPSENSE_ELTD_TYPE_SELF_E, .numPins = 1u, }, - { /* LinearSlider0_Sns3 */ + { /* LinearSlider0_Sns1 */ .ptrPin = &cy_capsense_pinConfig[3u], .type = (uint8_t)CY_CAPSENSE_ELTD_TYPE_SELF_E, .numPins = 1u, }, - { /* LinearSlider0_Sns4 */ + { /* LinearSlider0_Sns2 */ .ptrPin = &cy_capsense_pinConfig[4u], .type = (uint8_t)CY_CAPSENSE_ELTD_TYPE_SELF_E, .numPins = 1u, }, + { /* LinearSlider0_Sns3 */ + .ptrPin = &cy_capsense_pinConfig[5u], + .type = (uint8_t)CY_CAPSENSE_ELTD_TYPE_SELF_E, + .numPins = 1u, + }, + { /* LinearSlider0_Sns4 */ + .ptrPin = &cy_capsense_pinConfig[6u], + .type = (uint8_t)CY_CAPSENSE_ELTD_TYPE_SELF_E, + .numPins = 1u, + }, }; #endif static const cy_stc_capsense_widget_config_t cy_capsense_widgetConfig[CY_CAPSENSE_WIDGET_COUNT] = { - { /* LinearSlider0 */ + { /* Button0 */ .ptrWdContext = &cy_capsense_tuner.widgetContext[0u], .ptrSnsContext = &cy_capsense_tuner.sensorContext[0u], .ptrEltdConfig = &cy_capsense_electrodeConfig[0u], @@ -460,6 +496,126 @@ static const cy_stc_capsense_widget_config_t cy_capsense_widgetConfig[CY_CAPSENS .iirCoeff = 128u, .ptrDebounceArr = &cy_capsense_debounce[0u], .ptrDiplexTable = NULL, + .centroidConfig = 0u, + .xResolution = 0u, + .yResolution = 0u, + .numSns = 1u, + .numCols = 1u, + .numRows = 0u, + .ptrPosFilterHistory = NULL, + .ptrCsxTouchHistory = NULL, + .ptrCsxTouchBuffer = NULL, + .ptrCsdTouchBuffer = NULL, + .ptrGestureConfig = NULL, + .ptrGestureContext = NULL, + .ballisticConfig = { + .accelCoeff = 9u, + .speedCoeff = 2u, + .divisorValue = 4u, + .speedThresholdX = 3u, + .speedThresholdY = 4u, + }, + .ptrBallisticContext = NULL, + .aiirConfig = { + .maxK = 60u, + .minK = 1u, + .noMovTh = 3u, + .littleMovTh = 7u, + .largeMovTh = 12u, + .divVal = 64u, + }, + .advConfig = { + .penultimateTh = 100u, + .virtualSnsTh = 100u, + .crossCouplingTh = 5u, + }, + .posFilterConfig = 0u, + .rawFilterConfig = 0u, +#if (CY_CAPSENSE_MW_VERSION >= 400) + .alpOnThreshold = 15u, + .alpOffThreshold = 5u, +#endif + #if (CY_CAPSENSE_MW_VERSION >= 300) + .senseMethod = CY_CAPSENSE_CSD_GROUP, + #else + .senseMethod = CY_CAPSENSE_SENSE_METHOD_CSD_E, + #endif + .wdType = (uint8_t)CY_CAPSENSE_WD_BUTTON_E, + }, + { /* Button1 */ + .ptrWdContext = &cy_capsense_tuner.widgetContext[1u], + .ptrSnsContext = &cy_capsense_tuner.sensorContext[1u], + .ptrEltdConfig = &cy_capsense_electrodeConfig[1u], +#if (CY_CAPSENSE_BIST_SUPPORTED) + .ptrEltdCapacitance = NULL, + .ptrBslnInv = NULL, +#endif + .ptrNoiseEnvelope = &cy_capsense_noiseEnvelope[1u], + .ptrRawFilterHistory = NULL, + .ptrRawFilterHistoryLow = NULL, + .iirCoeff = 128u, + .ptrDebounceArr = &cy_capsense_debounce[1u], + .ptrDiplexTable = NULL, + .centroidConfig = 0u, + .xResolution = 0u, + .yResolution = 0u, + .numSns = 1u, + .numCols = 1u, + .numRows = 0u, + .ptrPosFilterHistory = NULL, + .ptrCsxTouchHistory = NULL, + .ptrCsxTouchBuffer = NULL, + .ptrCsdTouchBuffer = NULL, + .ptrGestureConfig = NULL, + .ptrGestureContext = NULL, + .ballisticConfig = { + .accelCoeff = 9u, + .speedCoeff = 2u, + .divisorValue = 4u, + .speedThresholdX = 3u, + .speedThresholdY = 4u, + }, + .ptrBallisticContext = NULL, + .aiirConfig = { + .maxK = 60u, + .minK = 1u, + .noMovTh = 3u, + .littleMovTh = 7u, + .largeMovTh = 12u, + .divVal = 64u, + }, + .advConfig = { + .penultimateTh = 100u, + .virtualSnsTh = 100u, + .crossCouplingTh = 5u, + }, + .posFilterConfig = 0u, + .rawFilterConfig = 0u, +#if (CY_CAPSENSE_MW_VERSION >= 400) + .alpOnThreshold = 15u, + .alpOffThreshold = 5u, +#endif + #if (CY_CAPSENSE_MW_VERSION >= 300) + .senseMethod = CY_CAPSENSE_CSD_GROUP, + #else + .senseMethod = CY_CAPSENSE_SENSE_METHOD_CSD_E, + #endif + .wdType = (uint8_t)CY_CAPSENSE_WD_BUTTON_E, + }, + { /* LinearSlider0 */ + .ptrWdContext = &cy_capsense_tuner.widgetContext[2u], + .ptrSnsContext = &cy_capsense_tuner.sensorContext[2u], + .ptrEltdConfig = &cy_capsense_electrodeConfig[2u], +#if (CY_CAPSENSE_BIST_SUPPORTED) + .ptrEltdCapacitance = NULL, + .ptrBslnInv = NULL, +#endif + .ptrNoiseEnvelope = &cy_capsense_noiseEnvelope[2u], + .ptrRawFilterHistory = NULL, + .ptrRawFilterHistoryLow = NULL, + .iirCoeff = 128u, + .ptrDebounceArr = &cy_capsense_debounce[2u], + .ptrDiplexTable = NULL, .centroidConfig = 1u, .xResolution = 300u, .yResolution = 0u, @@ -495,6 +651,10 @@ static const cy_stc_capsense_widget_config_t cy_capsense_widgetConfig[CY_CAPSENS }, .posFilterConfig = 0u, .rawFilterConfig = 0u, +#if (CY_CAPSENSE_MW_VERSION >= 400) + .alpOnThreshold = 15u, + .alpOffThreshold = 5u, +#endif #if (CY_CAPSENSE_MW_VERSION >= 300) .senseMethod = CY_CAPSENSE_CSD_GROUP, #else @@ -508,11 +668,11 @@ cy_stc_capsense_tuner_t cy_capsense_tuner = { .commonContext = { #if (CY_CAPSENSE_MW_VERSION < 300) - .configId = 0xcb38, + .configId = 0xa368, #elif (CY_CAPSENSE_MW_VERSION < 400) - .configId = 0xcb39, + .configId = 0xa369, #else - .configId = 0xcb3a, + .configId = 0xa36a, #endif .tunerCmd = 0u, @@ -533,6 +693,70 @@ cy_stc_capsense_tuner_t cy_capsense_tuner = .tunerCnt = 0u, }, .widgetContext = { + { /* Button0 */ + .fingerCap = 160u, + .sigPFC = 0u, + .resolution = 12u, + .maxRawCount = 0u, + #if (CY_CAPSENSE_MW_VERSION >= 300) + .maxRawCountRow = 0u, + #endif + .fingerTh = 100u, + .proxTh = 200u, + .lowBslnRst = 30u, + .snsClk = 4u, + .rowSnsClk = 4u, + .gestureDetected = 0u, + .gestureDirection = 0u, + .xDelta = 0, + .yDelta = 0, + .noiseTh = 40u, + .nNoiseTh = 40u, + .hysteresis = 10u, + .onDebounce = 3u, + .snsClkSource = CY_CAPSENSE_CLK_SOURCE_AUTO_MASK, + .idacMod = { 32u, 32u, 32u, }, + .idacGainIndex = 4u, + .rowIdacMod = { 32u, 32u, 32u, }, + .bslnCoeff = 1u, + .status = 0u, + .wdTouch = { + .ptrPosition = NULL, + .numPosition = 0, + }, + }, + { /* Button1 */ + .fingerCap = 160u, + .sigPFC = 0u, + .resolution = 12u, + .maxRawCount = 0u, + #if (CY_CAPSENSE_MW_VERSION >= 300) + .maxRawCountRow = 0u, + #endif + .fingerTh = 100u, + .proxTh = 200u, + .lowBslnRst = 30u, + .snsClk = 4u, + .rowSnsClk = 4u, + .gestureDetected = 0u, + .gestureDirection = 0u, + .xDelta = 0, + .yDelta = 0, + .noiseTh = 40u, + .nNoiseTh = 40u, + .hysteresis = 10u, + .onDebounce = 3u, + .snsClkSource = CY_CAPSENSE_CLK_SOURCE_AUTO_MASK, + .idacMod = { 32u, 32u, 32u, }, + .idacGainIndex = 4u, + .rowIdacMod = { 32u, 32u, 32u, }, + .bslnCoeff = 1u, + .status = 0u, + .wdTouch = { + .ptrPosition = NULL, + .numPosition = 0, + }, + }, { /* LinearSlider0 */ .fingerCap = 160u, .sigPFC = 0u, @@ -567,6 +791,24 @@ cy_stc_capsense_tuner_t cy_capsense_tuner = }, }, .sensorContext = { + { /* Button0_Sns0 */ + .raw = 0u, + .bsln = 0u, + .diff = 0u, + .status = 0u, + .negBslnRstCnt = 0u, + .idacComp = 32u, + .bslnExt = 0u, + }, + { /* Button1_Sns0 */ + .raw = 0u, + .bsln = 0u, + .diff = 0u, + .status = 0u, + .negBslnRstCnt = 0u, + .idacComp = 32u, + .bslnExt = 0u, + }, { /* LinearSlider0_Sns0 */ .raw = 0u, .bsln = 0u, diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.h index 3377d745f1..6dd320e670 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.h @@ -4,10 +4,10 @@ * Description: * CAPSENSE Middleware configuration * This file should not be modified. It was automatically generated by -* CAPSENSE Configurator 5.0.0.2684 +* CAPSENSE Configurator 6.10.0.3796 * ******************************************************************************** -* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) +* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) * or an affiliate of Cypress Semiconductor Corporation. * SPDX-License-Identifier: Apache-2.0 * @@ -27,7 +27,7 @@ #if !defined(CYCFG_CAPSENSE_H) #define CYCFG_CAPSENSE_H -/* This enables code only when the CAPSENSE(TM) Middleware is present in the project +/* This enables code only when the CAPSENSE(TM) Middleware is present in the project * or the information about the Middleware presence cannot be obtained. */ #if (defined(COMPONENT_MW_CAPSENSE) || !defined(COMPONENT_MW_CORE_MAKE)) @@ -37,7 +37,7 @@ #include "cycfg_peripherals.h" #include "cycfg_capsense_defines.h" -#define CY_CAPSENSE_CFG_TOOL_VERSION (500) +#define CY_CAPSENSE_CFG_TOOL_VERSION (610) #if !defined(CY_DISABLE_CAPSENSE) @@ -48,6 +48,14 @@ #error Cmod Capacitor is not assigned: missing #define Cmod_PORT, #define Cmod_PIN, #define Cmod_PORT_NUM #endif +#if !defined(Button0_Sns0_PORT) || !defined(Button0_Sns0_PIN) +#error Button0_Sns0 Sensor is not assigned: missing #define Button0_Sns0_PORT, #define Button0_Sns0_PIN +#endif + +#if !defined(Button1_Sns0_PORT) || !defined(Button1_Sns0_PIN) +#error Button1_Sns0 Sensor is not assigned: missing #define Button1_Sns0_PORT, #define Button1_Sns0_PIN +#endif + #if !defined(LinearSlider0_Sns0_PORT) || !defined(LinearSlider0_Sns0_PIN) #error LinearSlider0_Sns0 Sensor is not assigned: missing #define LinearSlider0_Sns0_PORT, #define LinearSlider0_Sns0_PIN #endif @@ -117,7 +125,15 @@ extern "C" { #endif /* Widget names */ -#define CY_CAPSENSE_LINEARSLIDER0_WDGT_ID (0u) +#define CY_CAPSENSE_BUTTON0_WDGT_ID (0u) +#define CY_CAPSENSE_BUTTON1_WDGT_ID (1u) +#define CY_CAPSENSE_LINEARSLIDER0_WDGT_ID (2u) + +/* Button0 sensor names */ +#define CY_CAPSENSE_BUTTON0_SNS0_ID (0u) + +/* Button1 sensor names */ +#define CY_CAPSENSE_BUTTON1_SNS0_ID (0u) /* LinearSlider0 sensor names */ #define CY_CAPSENSE_LINEARSLIDER0_SNS0_ID (0u) @@ -129,8 +145,8 @@ extern "C" { typedef struct { cy_stc_capsense_common_context_t commonContext; - cy_stc_capsense_widget_context_t widgetContext[1]; - cy_stc_capsense_sensor_context_t sensorContext[5]; + cy_stc_capsense_widget_context_t widgetContext[3]; + cy_stc_capsense_sensor_context_t sensorContext[7]; cy_stc_capsense_position_t position[1]; } cy_stc_capsense_tuner_t; @@ -215,345 +231,705 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_TUNER_CNT_SIZE (1u) #define CY_CAPSENSE_TUNER_CNT_PARAM_ID (0x01000026u) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_VALUE (cy_capsense_tuner.widgetContext[0].fingerCap) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_OFFSET (40u) +#define CY_CAPSENSE_BUTTON0_FINGER_CP_VALUE (cy_capsense_tuner.widgetContext[0].fingerCap) +#define CY_CAPSENSE_BUTTON0_FINGER_CP_OFFSET (40u) +#define CY_CAPSENSE_BUTTON0_FINGER_CP_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_FINGER_CP_PARAM_ID (0x06000028u) + +#define CY_CAPSENSE_BUTTON0_SIGPFC_VALUE (cy_capsense_tuner.widgetContext[0].sigPFC) +#define CY_CAPSENSE_BUTTON0_SIGPFC_OFFSET (42u) +#define CY_CAPSENSE_BUTTON0_SIGPFC_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SIGPFC_PARAM_ID (0x0600002au) + +#define CY_CAPSENSE_BUTTON0_RESOLUTION_VALUE (cy_capsense_tuner.widgetContext[0].resolution) +#define CY_CAPSENSE_BUTTON0_RESOLUTION_OFFSET (44u) +#define CY_CAPSENSE_BUTTON0_RESOLUTION_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_RESOLUTION_PARAM_ID (0x0600002cu) + +#define CY_CAPSENSE_BUTTON0_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[0].maxRawCount) +#define CY_CAPSENSE_BUTTON0_MAX_RAW_COUNT_OFFSET (46u) +#define CY_CAPSENSE_BUTTON0_MAX_RAW_COUNT_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_MAX_RAW_COUNT_PARAM_ID (0x0600002eu) + +#define CY_CAPSENSE_BUTTON0_FINGER_TH_VALUE (cy_capsense_tuner.widgetContext[0].fingerTh) +#define CY_CAPSENSE_BUTTON0_FINGER_TH_OFFSET (48u) +#define CY_CAPSENSE_BUTTON0_FINGER_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_FINGER_TH_PARAM_ID (0x02000030u) + +#define CY_CAPSENSE_BUTTON0_PROX_TOUCH_TH_VALUE (cy_capsense_tuner.widgetContext[0].proxTh) +#define CY_CAPSENSE_BUTTON0_PROX_TOUCH_TH_OFFSET (50u) +#define CY_CAPSENSE_BUTTON0_PROX_TOUCH_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_PROX_TOUCH_TH_PARAM_ID (0x02000032u) + +#define CY_CAPSENSE_BUTTON0_LOW_BSLN_RST_VALUE (cy_capsense_tuner.widgetContext[0].lowBslnRst) +#define CY_CAPSENSE_BUTTON0_LOW_BSLN_RST_OFFSET (52u) +#define CY_CAPSENSE_BUTTON0_LOW_BSLN_RST_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_LOW_BSLN_RST_PARAM_ID (0x06000034u) + +#define CY_CAPSENSE_BUTTON0_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[0].snsClk) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_OFFSET (54u) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_PARAM_ID (0x06000036u) + +#define CY_CAPSENSE_BUTTON0_ROW_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[0].rowSnsClk) +#define CY_CAPSENSE_BUTTON0_ROW_SNS_CLK_OFFSET (56u) +#define CY_CAPSENSE_BUTTON0_ROW_SNS_CLK_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_ROW_SNS_CLK_PARAM_ID (0x06000038u) + +#define CY_CAPSENSE_BUTTON0_GESTURE_DETECTED_VALUE (cy_capsense_tuner.widgetContext[0].gestureDetected) +#define CY_CAPSENSE_BUTTON0_GESTURE_DETECTED_OFFSET (58u) +#define CY_CAPSENSE_BUTTON0_GESTURE_DETECTED_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_GESTURE_DETECTED_PARAM_ID (0x0200003au) + +#define CY_CAPSENSE_BUTTON0_GESTURE_DIRECTION_VALUE (cy_capsense_tuner.widgetContext[0].gestureDirection) +#define CY_CAPSENSE_BUTTON0_GESTURE_DIRECTION_OFFSET (60u) +#define CY_CAPSENSE_BUTTON0_GESTURE_DIRECTION_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_GESTURE_DIRECTION_PARAM_ID (0x0200003cu) + +#define CY_CAPSENSE_BUTTON0_XDELTA_VALUE (cy_capsense_tuner.widgetContext[0].xDelta) +#define CY_CAPSENSE_BUTTON0_XDELTA_OFFSET (62u) +#define CY_CAPSENSE_BUTTON0_XDELTA_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_XDELTA_PARAM_ID (0x0200003eu) + +#define CY_CAPSENSE_BUTTON0_YDELTA_VALUE (cy_capsense_tuner.widgetContext[0].yDelta) +#define CY_CAPSENSE_BUTTON0_YDELTA_OFFSET (64u) +#define CY_CAPSENSE_BUTTON0_YDELTA_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_YDELTA_PARAM_ID (0x02000040u) + +#define CY_CAPSENSE_BUTTON0_NOISE_TH_VALUE (cy_capsense_tuner.widgetContext[0].noiseTh) +#define CY_CAPSENSE_BUTTON0_NOISE_TH_OFFSET (66u) +#define CY_CAPSENSE_BUTTON0_NOISE_TH_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_NOISE_TH_PARAM_ID (0x01000042u) + +#define CY_CAPSENSE_BUTTON0_NNOISE_TH_VALUE (cy_capsense_tuner.widgetContext[0].nNoiseTh) +#define CY_CAPSENSE_BUTTON0_NNOISE_TH_OFFSET (67u) +#define CY_CAPSENSE_BUTTON0_NNOISE_TH_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_NNOISE_TH_PARAM_ID (0x01000043u) + +#define CY_CAPSENSE_BUTTON0_HYSTERESIS_VALUE (cy_capsense_tuner.widgetContext[0].hysteresis) +#define CY_CAPSENSE_BUTTON0_HYSTERESIS_OFFSET (68u) +#define CY_CAPSENSE_BUTTON0_HYSTERESIS_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_HYSTERESIS_PARAM_ID (0x01000044u) + +#define CY_CAPSENSE_BUTTON0_ON_DEBOUNCE_VALUE (cy_capsense_tuner.widgetContext[0].onDebounce) +#define CY_CAPSENSE_BUTTON0_ON_DEBOUNCE_OFFSET (69u) +#define CY_CAPSENSE_BUTTON0_ON_DEBOUNCE_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_ON_DEBOUNCE_PARAM_ID (0x05000045u) + +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SOURCE_VALUE (cy_capsense_tuner.widgetContext[0].snsClkSource) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SOURCE_OFFSET (70u) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SOURCE_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SOURCE_PARAM_ID (0x05000046u) + +#define CY_CAPSENSE_BUTTON0_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[0]) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD0_OFFSET (71u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD0_PARAM_ID (0x05000047u) + +#define CY_CAPSENSE_BUTTON0_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[1]) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD1_OFFSET (72u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD1_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD1_PARAM_ID (0x05000048u) + +#define CY_CAPSENSE_BUTTON0_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[2]) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD2_OFFSET (73u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD2_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD2_PARAM_ID (0x05000049u) + +#define CY_CAPSENSE_BUTTON0_IDAC_GAIN_INDEX_VALUE (cy_capsense_tuner.widgetContext[0].idacGainIndex) +#define CY_CAPSENSE_BUTTON0_IDAC_GAIN_INDEX_OFFSET (74u) +#define CY_CAPSENSE_BUTTON0_IDAC_GAIN_INDEX_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_IDAC_GAIN_INDEX_PARAM_ID (0x0500004au) + +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[0]) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD0_OFFSET (75u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD0_PARAM_ID (0x0500004bu) + +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[1]) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD1_OFFSET (76u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD1_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD1_PARAM_ID (0x0500004cu) + +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[2]) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD2_OFFSET (77u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD2_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD2_PARAM_ID (0x0500004du) + +#define CY_CAPSENSE_BUTTON0_REGULAR_IIR_BL_N_VALUE (cy_capsense_tuner.widgetContext[0].bslnCoeff) +#define CY_CAPSENSE_BUTTON0_REGULAR_IIR_BL_N_OFFSET (78u) +#define CY_CAPSENSE_BUTTON0_REGULAR_IIR_BL_N_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_REGULAR_IIR_BL_N_PARAM_ID (0x0500004eu) + +#define CY_CAPSENSE_BUTTON0_STATUS_VALUE (cy_capsense_tuner.widgetContext[0].status) +#define CY_CAPSENSE_BUTTON0_STATUS_OFFSET (79u) +#define CY_CAPSENSE_BUTTON0_STATUS_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_STATUS_PARAM_ID (0x0100004fu) + +#define CY_CAPSENSE_BUTTON0_PTRPOSITION_VALUE (cy_capsense_tuner.widgetContext[0].wdTouch.ptrPosition) +#define CY_CAPSENSE_BUTTON0_PTRPOSITION_OFFSET (80u) +#define CY_CAPSENSE_BUTTON0_PTRPOSITION_SIZE (4u) +#define CY_CAPSENSE_BUTTON0_PTRPOSITION_PARAM_ID (0x03000050u) + +#define CY_CAPSENSE_BUTTON0_NUM_POSITIONS_VALUE (cy_capsense_tuner.widgetContext[0].wdTouch.numPosition) +#define CY_CAPSENSE_BUTTON0_NUM_POSITIONS_OFFSET (84u) +#define CY_CAPSENSE_BUTTON0_NUM_POSITIONS_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_NUM_POSITIONS_PARAM_ID (0x01000054u) + +#define CY_CAPSENSE_BUTTON1_FINGER_CP_VALUE (cy_capsense_tuner.widgetContext[1].fingerCap) +#define CY_CAPSENSE_BUTTON1_FINGER_CP_OFFSET (88u) +#define CY_CAPSENSE_BUTTON1_FINGER_CP_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_FINGER_CP_PARAM_ID (0x06010058u) + +#define CY_CAPSENSE_BUTTON1_SIGPFC_VALUE (cy_capsense_tuner.widgetContext[1].sigPFC) +#define CY_CAPSENSE_BUTTON1_SIGPFC_OFFSET (90u) +#define CY_CAPSENSE_BUTTON1_SIGPFC_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SIGPFC_PARAM_ID (0x0601005au) + +#define CY_CAPSENSE_BUTTON1_RESOLUTION_VALUE (cy_capsense_tuner.widgetContext[1].resolution) +#define CY_CAPSENSE_BUTTON1_RESOLUTION_OFFSET (92u) +#define CY_CAPSENSE_BUTTON1_RESOLUTION_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_RESOLUTION_PARAM_ID (0x0601005cu) + +#define CY_CAPSENSE_BUTTON1_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[1].maxRawCount) +#define CY_CAPSENSE_BUTTON1_MAX_RAW_COUNT_OFFSET (94u) +#define CY_CAPSENSE_BUTTON1_MAX_RAW_COUNT_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_MAX_RAW_COUNT_PARAM_ID (0x0601005eu) + +#define CY_CAPSENSE_BUTTON1_FINGER_TH_VALUE (cy_capsense_tuner.widgetContext[1].fingerTh) +#define CY_CAPSENSE_BUTTON1_FINGER_TH_OFFSET (96u) +#define CY_CAPSENSE_BUTTON1_FINGER_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_FINGER_TH_PARAM_ID (0x02010060u) + +#define CY_CAPSENSE_BUTTON1_PROX_TOUCH_TH_VALUE (cy_capsense_tuner.widgetContext[1].proxTh) +#define CY_CAPSENSE_BUTTON1_PROX_TOUCH_TH_OFFSET (98u) +#define CY_CAPSENSE_BUTTON1_PROX_TOUCH_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_PROX_TOUCH_TH_PARAM_ID (0x02010062u) + +#define CY_CAPSENSE_BUTTON1_LOW_BSLN_RST_VALUE (cy_capsense_tuner.widgetContext[1].lowBslnRst) +#define CY_CAPSENSE_BUTTON1_LOW_BSLN_RST_OFFSET (100u) +#define CY_CAPSENSE_BUTTON1_LOW_BSLN_RST_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_LOW_BSLN_RST_PARAM_ID (0x06010064u) + +#define CY_CAPSENSE_BUTTON1_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[1].snsClk) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_OFFSET (102u) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_PARAM_ID (0x06010066u) + +#define CY_CAPSENSE_BUTTON1_ROW_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[1].rowSnsClk) +#define CY_CAPSENSE_BUTTON1_ROW_SNS_CLK_OFFSET (104u) +#define CY_CAPSENSE_BUTTON1_ROW_SNS_CLK_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_ROW_SNS_CLK_PARAM_ID (0x06010068u) + +#define CY_CAPSENSE_BUTTON1_GESTURE_DETECTED_VALUE (cy_capsense_tuner.widgetContext[1].gestureDetected) +#define CY_CAPSENSE_BUTTON1_GESTURE_DETECTED_OFFSET (106u) +#define CY_CAPSENSE_BUTTON1_GESTURE_DETECTED_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_GESTURE_DETECTED_PARAM_ID (0x0201006au) + +#define CY_CAPSENSE_BUTTON1_GESTURE_DIRECTION_VALUE (cy_capsense_tuner.widgetContext[1].gestureDirection) +#define CY_CAPSENSE_BUTTON1_GESTURE_DIRECTION_OFFSET (108u) +#define CY_CAPSENSE_BUTTON1_GESTURE_DIRECTION_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_GESTURE_DIRECTION_PARAM_ID (0x0201006cu) + +#define CY_CAPSENSE_BUTTON1_XDELTA_VALUE (cy_capsense_tuner.widgetContext[1].xDelta) +#define CY_CAPSENSE_BUTTON1_XDELTA_OFFSET (110u) +#define CY_CAPSENSE_BUTTON1_XDELTA_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_XDELTA_PARAM_ID (0x0201006eu) + +#define CY_CAPSENSE_BUTTON1_YDELTA_VALUE (cy_capsense_tuner.widgetContext[1].yDelta) +#define CY_CAPSENSE_BUTTON1_YDELTA_OFFSET (112u) +#define CY_CAPSENSE_BUTTON1_YDELTA_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_YDELTA_PARAM_ID (0x02010070u) + +#define CY_CAPSENSE_BUTTON1_NOISE_TH_VALUE (cy_capsense_tuner.widgetContext[1].noiseTh) +#define CY_CAPSENSE_BUTTON1_NOISE_TH_OFFSET (114u) +#define CY_CAPSENSE_BUTTON1_NOISE_TH_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_NOISE_TH_PARAM_ID (0x01010072u) + +#define CY_CAPSENSE_BUTTON1_NNOISE_TH_VALUE (cy_capsense_tuner.widgetContext[1].nNoiseTh) +#define CY_CAPSENSE_BUTTON1_NNOISE_TH_OFFSET (115u) +#define CY_CAPSENSE_BUTTON1_NNOISE_TH_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_NNOISE_TH_PARAM_ID (0x01010073u) + +#define CY_CAPSENSE_BUTTON1_HYSTERESIS_VALUE (cy_capsense_tuner.widgetContext[1].hysteresis) +#define CY_CAPSENSE_BUTTON1_HYSTERESIS_OFFSET (116u) +#define CY_CAPSENSE_BUTTON1_HYSTERESIS_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_HYSTERESIS_PARAM_ID (0x01010074u) + +#define CY_CAPSENSE_BUTTON1_ON_DEBOUNCE_VALUE (cy_capsense_tuner.widgetContext[1].onDebounce) +#define CY_CAPSENSE_BUTTON1_ON_DEBOUNCE_OFFSET (117u) +#define CY_CAPSENSE_BUTTON1_ON_DEBOUNCE_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_ON_DEBOUNCE_PARAM_ID (0x05010075u) + +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SOURCE_VALUE (cy_capsense_tuner.widgetContext[1].snsClkSource) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SOURCE_OFFSET (118u) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SOURCE_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SOURCE_PARAM_ID (0x05010076u) + +#define CY_CAPSENSE_BUTTON1_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[1].idacMod[0]) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD0_OFFSET (119u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD0_PARAM_ID (0x05010077u) + +#define CY_CAPSENSE_BUTTON1_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[1].idacMod[1]) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD1_OFFSET (120u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD1_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD1_PARAM_ID (0x05010078u) + +#define CY_CAPSENSE_BUTTON1_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[1].idacMod[2]) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD2_OFFSET (121u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD2_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD2_PARAM_ID (0x05010079u) + +#define CY_CAPSENSE_BUTTON1_IDAC_GAIN_INDEX_VALUE (cy_capsense_tuner.widgetContext[1].idacGainIndex) +#define CY_CAPSENSE_BUTTON1_IDAC_GAIN_INDEX_OFFSET (122u) +#define CY_CAPSENSE_BUTTON1_IDAC_GAIN_INDEX_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_IDAC_GAIN_INDEX_PARAM_ID (0x0501007au) + +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[1].rowIdacMod[0]) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD0_OFFSET (123u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD0_PARAM_ID (0x0501007bu) + +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[1].rowIdacMod[1]) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD1_OFFSET (124u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD1_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD1_PARAM_ID (0x0501007cu) + +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[1].rowIdacMod[2]) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD2_OFFSET (125u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD2_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD2_PARAM_ID (0x0501007du) + +#define CY_CAPSENSE_BUTTON1_REGULAR_IIR_BL_N_VALUE (cy_capsense_tuner.widgetContext[1].bslnCoeff) +#define CY_CAPSENSE_BUTTON1_REGULAR_IIR_BL_N_OFFSET (126u) +#define CY_CAPSENSE_BUTTON1_REGULAR_IIR_BL_N_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_REGULAR_IIR_BL_N_PARAM_ID (0x0501007eu) + +#define CY_CAPSENSE_BUTTON1_STATUS_VALUE (cy_capsense_tuner.widgetContext[1].status) +#define CY_CAPSENSE_BUTTON1_STATUS_OFFSET (127u) +#define CY_CAPSENSE_BUTTON1_STATUS_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_STATUS_PARAM_ID (0x0101007fu) + +#define CY_CAPSENSE_BUTTON1_PTRPOSITION_VALUE (cy_capsense_tuner.widgetContext[1].wdTouch.ptrPosition) +#define CY_CAPSENSE_BUTTON1_PTRPOSITION_OFFSET (128u) +#define CY_CAPSENSE_BUTTON1_PTRPOSITION_SIZE (4u) +#define CY_CAPSENSE_BUTTON1_PTRPOSITION_PARAM_ID (0x03010080u) + +#define CY_CAPSENSE_BUTTON1_NUM_POSITIONS_VALUE (cy_capsense_tuner.widgetContext[1].wdTouch.numPosition) +#define CY_CAPSENSE_BUTTON1_NUM_POSITIONS_OFFSET (132u) +#define CY_CAPSENSE_BUTTON1_NUM_POSITIONS_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_NUM_POSITIONS_PARAM_ID (0x01010084u) + +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_VALUE (cy_capsense_tuner.widgetContext[2].fingerCap) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_OFFSET (136u) #define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_PARAM_ID (0x06000028u) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_PARAM_ID (0x06020088u) -#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_VALUE (cy_capsense_tuner.widgetContext[0].sigPFC) -#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_OFFSET (42u) +#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_VALUE (cy_capsense_tuner.widgetContext[2].sigPFC) +#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_OFFSET (138u) #define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_PARAM_ID (0x0600002au) +#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_PARAM_ID (0x0602008au) -#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_VALUE (cy_capsense_tuner.widgetContext[0].resolution) -#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_OFFSET (44u) +#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_VALUE (cy_capsense_tuner.widgetContext[2].resolution) +#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_OFFSET (140u) #define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_PARAM_ID (0x0600002cu) +#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_PARAM_ID (0x0602008cu) -#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[0].maxRawCount) -#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_OFFSET (46u) +#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[2].maxRawCount) +#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_OFFSET (142u) #define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_PARAM_ID (0x0200002eu) +#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_PARAM_ID (0x0602008eu) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_VALUE (cy_capsense_tuner.widgetContext[0].fingerTh) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_OFFSET (48u) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_VALUE (cy_capsense_tuner.widgetContext[2].fingerTh) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_OFFSET (144u) #define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_PARAM_ID (0x02000030u) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_PARAM_ID (0x02020090u) -#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_VALUE (cy_capsense_tuner.widgetContext[0].proxTh) -#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_OFFSET (50u) +#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_VALUE (cy_capsense_tuner.widgetContext[2].proxTh) +#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_OFFSET (146u) #define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_PARAM_ID (0x02000032u) +#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_PARAM_ID (0x02020092u) -#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_VALUE (cy_capsense_tuner.widgetContext[0].lowBslnRst) -#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_OFFSET (52u) +#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_VALUE (cy_capsense_tuner.widgetContext[2].lowBslnRst) +#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_OFFSET (148u) #define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_PARAM_ID (0x06000034u) +#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_PARAM_ID (0x06020094u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[0].snsClk) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_OFFSET (54u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[2].snsClk) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_OFFSET (150u) #define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_PARAM_ID (0x06000036u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_PARAM_ID (0x06020096u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[0].rowSnsClk) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_OFFSET (56u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[2].rowSnsClk) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_OFFSET (152u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_PARAM_ID (0x06000038u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_PARAM_ID (0x06020098u) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_VALUE (cy_capsense_tuner.widgetContext[0].gestureDetected) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_OFFSET (58u) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_VALUE (cy_capsense_tuner.widgetContext[2].gestureDetected) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_OFFSET (154u) #define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_PARAM_ID (0x0200003au) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_PARAM_ID (0x0202009au) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_VALUE (cy_capsense_tuner.widgetContext[0].gestureDirection) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_OFFSET (60u) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_VALUE (cy_capsense_tuner.widgetContext[2].gestureDirection) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_OFFSET (156u) #define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_PARAM_ID (0x0200003cu) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_PARAM_ID (0x0202009cu) -#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_VALUE (cy_capsense_tuner.widgetContext[0].xDelta) -#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_OFFSET (62u) +#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_VALUE (cy_capsense_tuner.widgetContext[2].xDelta) +#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_OFFSET (158u) #define CY_CAPSENSE_LINEARSLIDER0_XDELTA_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_PARAM_ID (0x0200003eu) +#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_PARAM_ID (0x0202009eu) -#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_VALUE (cy_capsense_tuner.widgetContext[0].yDelta) -#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_OFFSET (64u) +#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_VALUE (cy_capsense_tuner.widgetContext[2].yDelta) +#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_OFFSET (160u) #define CY_CAPSENSE_LINEARSLIDER0_YDELTA_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_PARAM_ID (0x02000040u) +#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_PARAM_ID (0x020200a0u) -#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_VALUE (cy_capsense_tuner.widgetContext[0].noiseTh) -#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_OFFSET (66u) +#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_VALUE (cy_capsense_tuner.widgetContext[2].noiseTh) +#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_OFFSET (162u) #define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_PARAM_ID (0x01000042u) +#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_PARAM_ID (0x010200a2u) -#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_VALUE (cy_capsense_tuner.widgetContext[0].nNoiseTh) -#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_OFFSET (67u) +#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_VALUE (cy_capsense_tuner.widgetContext[2].nNoiseTh) +#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_OFFSET (163u) #define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_PARAM_ID (0x01000043u) +#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_PARAM_ID (0x010200a3u) -#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_VALUE (cy_capsense_tuner.widgetContext[0].hysteresis) -#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_OFFSET (68u) +#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_VALUE (cy_capsense_tuner.widgetContext[2].hysteresis) +#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_OFFSET (164u) #define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_PARAM_ID (0x01000044u) +#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_PARAM_ID (0x010200a4u) -#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_VALUE (cy_capsense_tuner.widgetContext[0].onDebounce) -#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_OFFSET (69u) +#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_VALUE (cy_capsense_tuner.widgetContext[2].onDebounce) +#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_OFFSET (165u) #define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_PARAM_ID (0x05000045u) +#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_PARAM_ID (0x050200a5u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_VALUE (cy_capsense_tuner.widgetContext[0].snsClkSource) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_OFFSET (70u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_VALUE (cy_capsense_tuner.widgetContext[2].snsClkSource) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_OFFSET (166u) #define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_PARAM_ID (0x05000046u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_PARAM_ID (0x050200a6u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[0]) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_OFFSET (71u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[2].idacMod[0]) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_OFFSET (167u) #define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_PARAM_ID (0x05000047u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_PARAM_ID (0x050200a7u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[1]) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_OFFSET (72u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[2].idacMod[1]) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_OFFSET (168u) #define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_PARAM_ID (0x05000048u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_PARAM_ID (0x050200a8u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[2]) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_OFFSET (73u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[2].idacMod[2]) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_OFFSET (169u) #define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_PARAM_ID (0x05000049u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_PARAM_ID (0x050200a9u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_VALUE (cy_capsense_tuner.widgetContext[0].idacGainIndex) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_OFFSET (74u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_VALUE (cy_capsense_tuner.widgetContext[2].idacGainIndex) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_OFFSET (170u) #define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_PARAM_ID (0x0500004au) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_PARAM_ID (0x050200aau) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[0]) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_OFFSET (75u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[2].rowIdacMod[0]) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_OFFSET (171u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_PARAM_ID (0x0500004bu) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_PARAM_ID (0x050200abu) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[1]) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_OFFSET (76u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[2].rowIdacMod[1]) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_OFFSET (172u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_PARAM_ID (0x0500004cu) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_PARAM_ID (0x050200acu) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[2]) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_OFFSET (77u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[2].rowIdacMod[2]) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_OFFSET (173u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_PARAM_ID (0x0500004du) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_PARAM_ID (0x050200adu) -#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_VALUE (cy_capsense_tuner.widgetContext[0].bslnCoeff) -#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_OFFSET (78u) +#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_VALUE (cy_capsense_tuner.widgetContext[2].bslnCoeff) +#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_OFFSET (174u) #define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_PARAM_ID (0x0100004eu) +#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_PARAM_ID (0x050200aeu) -#define CY_CAPSENSE_LINEARSLIDER0_STATUS_VALUE (cy_capsense_tuner.widgetContext[0].status) -#define CY_CAPSENSE_LINEARSLIDER0_STATUS_OFFSET (79u) +#define CY_CAPSENSE_LINEARSLIDER0_STATUS_VALUE (cy_capsense_tuner.widgetContext[2].status) +#define CY_CAPSENSE_LINEARSLIDER0_STATUS_OFFSET (175u) #define CY_CAPSENSE_LINEARSLIDER0_STATUS_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_STATUS_PARAM_ID (0x0100004fu) +#define CY_CAPSENSE_LINEARSLIDER0_STATUS_PARAM_ID (0x010200afu) -#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_VALUE (cy_capsense_tuner.widgetContext[0].wdTouch.ptrPosition) -#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_OFFSET (80u) +#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_VALUE (cy_capsense_tuner.widgetContext[2].wdTouch.ptrPosition) +#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_OFFSET (176u) #define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_SIZE (4u) -#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_PARAM_ID (0x03000050u) +#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_PARAM_ID (0x030200b0u) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_VALUE (cy_capsense_tuner.widgetContext[0].wdTouch.numPosition) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_OFFSET (84u) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_VALUE (cy_capsense_tuner.widgetContext[2].wdTouch.numPosition) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_OFFSET (180u) #define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_PARAM_ID (0x01000054u) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_PARAM_ID (0x010200b4u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_VALUE (cy_capsense_tuner.sensorContext[0].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_OFFSET (88u) +#define CY_CAPSENSE_BUTTON0_SNS0_RAW0_VALUE (cy_capsense_tuner.sensorContext[0].raw) +#define CY_CAPSENSE_BUTTON0_SNS0_RAW0_OFFSET (184u) +#define CY_CAPSENSE_BUTTON0_SNS0_RAW0_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SNS0_RAW0_PARAM_ID (0x020000b8u) + +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN0_VALUE (cy_capsense_tuner.sensorContext[0].bsln) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN0_OFFSET (186u) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN0_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN0_PARAM_ID (0x020000bau) + +#define CY_CAPSENSE_BUTTON0_SNS0_DIFF0_VALUE (cy_capsense_tuner.sensorContext[0].diff) +#define CY_CAPSENSE_BUTTON0_SNS0_DIFF0_OFFSET (188u) +#define CY_CAPSENSE_BUTTON0_SNS0_DIFF0_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SNS0_DIFF0_PARAM_ID (0x020000bcu) + +#define CY_CAPSENSE_BUTTON0_SNS0_STATUS0_VALUE (cy_capsense_tuner.sensorContext[0].status) +#define CY_CAPSENSE_BUTTON0_SNS0_STATUS0_OFFSET (190u) +#define CY_CAPSENSE_BUTTON0_SNS0_STATUS0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS0_STATUS0_PARAM_ID (0x010000beu) + +#define CY_CAPSENSE_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[0].negBslnRstCnt) +#define CY_CAPSENSE_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (191u) +#define CY_CAPSENSE_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_PARAM_ID (0x010000bfu) + +#define CY_CAPSENSE_BUTTON0_SNS0_IDAC0_VALUE (cy_capsense_tuner.sensorContext[0].idacComp) +#define CY_CAPSENSE_BUTTON0_SNS0_IDAC0_OFFSET (192u) +#define CY_CAPSENSE_BUTTON0_SNS0_IDAC0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS0_IDAC0_PARAM_ID (0x010000c0u) + +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[0].bslnExt) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN_EXT0_OFFSET (193u) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN_EXT0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN_EXT0_PARAM_ID (0x010000c1u) + +#define CY_CAPSENSE_BUTTON1_SNS0_RAW0_VALUE (cy_capsense_tuner.sensorContext[1].raw) +#define CY_CAPSENSE_BUTTON1_SNS0_RAW0_OFFSET (194u) +#define CY_CAPSENSE_BUTTON1_SNS0_RAW0_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SNS0_RAW0_PARAM_ID (0x020100c2u) + +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN0_VALUE (cy_capsense_tuner.sensorContext[1].bsln) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN0_OFFSET (196u) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN0_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN0_PARAM_ID (0x020100c4u) + +#define CY_CAPSENSE_BUTTON1_SNS0_DIFF0_VALUE (cy_capsense_tuner.sensorContext[1].diff) +#define CY_CAPSENSE_BUTTON1_SNS0_DIFF0_OFFSET (198u) +#define CY_CAPSENSE_BUTTON1_SNS0_DIFF0_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SNS0_DIFF0_PARAM_ID (0x020100c6u) + +#define CY_CAPSENSE_BUTTON1_SNS0_STATUS0_VALUE (cy_capsense_tuner.sensorContext[1].status) +#define CY_CAPSENSE_BUTTON1_SNS0_STATUS0_OFFSET (200u) +#define CY_CAPSENSE_BUTTON1_SNS0_STATUS0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS0_STATUS0_PARAM_ID (0x010100c8u) + +#define CY_CAPSENSE_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[1].negBslnRstCnt) +#define CY_CAPSENSE_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_OFFSET (201u) +#define CY_CAPSENSE_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_PARAM_ID (0x010100c9u) + +#define CY_CAPSENSE_BUTTON1_SNS0_IDAC0_VALUE (cy_capsense_tuner.sensorContext[1].idacComp) +#define CY_CAPSENSE_BUTTON1_SNS0_IDAC0_OFFSET (202u) +#define CY_CAPSENSE_BUTTON1_SNS0_IDAC0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS0_IDAC0_PARAM_ID (0x010100cau) + +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[1].bslnExt) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN_EXT0_OFFSET (203u) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN_EXT0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN_EXT0_PARAM_ID (0x010100cbu) + +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_VALUE (cy_capsense_tuner.sensorContext[2].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_OFFSET (204u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_PARAM_ID (0x02000058u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_PARAM_ID (0x020200ccu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_VALUE (cy_capsense_tuner.sensorContext[0].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_OFFSET (90u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_VALUE (cy_capsense_tuner.sensorContext[2].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_OFFSET (206u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_PARAM_ID (0x0200005au) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_PARAM_ID (0x020200ceu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_VALUE (cy_capsense_tuner.sensorContext[0].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_OFFSET (92u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_VALUE (cy_capsense_tuner.sensorContext[2].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_OFFSET (208u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_PARAM_ID (0x0200005cu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_PARAM_ID (0x020200d0u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_VALUE (cy_capsense_tuner.sensorContext[0].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_OFFSET (94u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_VALUE (cy_capsense_tuner.sensorContext[2].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_OFFSET (210u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_PARAM_ID (0x0100005eu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_PARAM_ID (0x010200d2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[0].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (95u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[2].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (211u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_PARAM_ID (0x0100005fu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200d3u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_VALUE (cy_capsense_tuner.sensorContext[0].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_OFFSET (96u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_VALUE (cy_capsense_tuner.sensorContext[2].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_OFFSET (212u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_PARAM_ID (0x01000060u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_PARAM_ID (0x010200d4u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[0].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_OFFSET (97u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[2].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_OFFSET (213u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_PARAM_ID (0x01000061u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_PARAM_ID (0x010200d5u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_VALUE (cy_capsense_tuner.sensorContext[1].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_OFFSET (98u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_VALUE (cy_capsense_tuner.sensorContext[3].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_OFFSET (214u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_PARAM_ID (0x02000062u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_PARAM_ID (0x020200d6u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_VALUE (cy_capsense_tuner.sensorContext[1].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_OFFSET (100u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_VALUE (cy_capsense_tuner.sensorContext[3].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_OFFSET (216u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_PARAM_ID (0x02000064u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_PARAM_ID (0x020200d8u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_VALUE (cy_capsense_tuner.sensorContext[1].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_OFFSET (102u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_VALUE (cy_capsense_tuner.sensorContext[3].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_OFFSET (218u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_PARAM_ID (0x02000066u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_PARAM_ID (0x020200dau) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_VALUE (cy_capsense_tuner.sensorContext[1].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_OFFSET (104u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_VALUE (cy_capsense_tuner.sensorContext[3].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_OFFSET (220u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_PARAM_ID (0x01000068u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_PARAM_ID (0x010200dcu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[1].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_OFFSET (105u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[3].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_OFFSET (221u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_PARAM_ID (0x01000069u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200ddu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_VALUE (cy_capsense_tuner.sensorContext[1].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_OFFSET (106u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_VALUE (cy_capsense_tuner.sensorContext[3].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_OFFSET (222u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_PARAM_ID (0x0100006au) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_PARAM_ID (0x010200deu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[1].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_OFFSET (107u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[3].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_OFFSET (223u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_PARAM_ID (0x0100006bu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_PARAM_ID (0x010200dfu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_VALUE (cy_capsense_tuner.sensorContext[2].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_OFFSET (108u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_VALUE (cy_capsense_tuner.sensorContext[4].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_OFFSET (224u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_PARAM_ID (0x0200006cu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_PARAM_ID (0x020200e0u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_VALUE (cy_capsense_tuner.sensorContext[2].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_OFFSET (110u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_VALUE (cy_capsense_tuner.sensorContext[4].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_OFFSET (226u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_PARAM_ID (0x0200006eu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_PARAM_ID (0x020200e2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_VALUE (cy_capsense_tuner.sensorContext[2].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_OFFSET (112u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_VALUE (cy_capsense_tuner.sensorContext[4].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_OFFSET (228u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_PARAM_ID (0x02000070u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_PARAM_ID (0x020200e4u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_VALUE (cy_capsense_tuner.sensorContext[2].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_OFFSET (114u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_VALUE (cy_capsense_tuner.sensorContext[4].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_OFFSET (230u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_PARAM_ID (0x01000072u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_PARAM_ID (0x010200e6u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[2].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_OFFSET (115u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[4].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_OFFSET (231u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_PARAM_ID (0x01000073u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200e7u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_VALUE (cy_capsense_tuner.sensorContext[2].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_OFFSET (116u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_VALUE (cy_capsense_tuner.sensorContext[4].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_OFFSET (232u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_PARAM_ID (0x01000074u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_PARAM_ID (0x010200e8u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[2].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_OFFSET (117u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[4].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_OFFSET (233u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_PARAM_ID (0x01000075u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_PARAM_ID (0x010200e9u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_VALUE (cy_capsense_tuner.sensorContext[3].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_OFFSET (118u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_VALUE (cy_capsense_tuner.sensorContext[5].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_OFFSET (234u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_PARAM_ID (0x02000076u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_PARAM_ID (0x020200eau) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_VALUE (cy_capsense_tuner.sensorContext[3].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_OFFSET (120u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_VALUE (cy_capsense_tuner.sensorContext[5].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_OFFSET (236u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_PARAM_ID (0x02000078u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_PARAM_ID (0x020200ecu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_VALUE (cy_capsense_tuner.sensorContext[3].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_OFFSET (122u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_VALUE (cy_capsense_tuner.sensorContext[5].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_OFFSET (238u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_PARAM_ID (0x0200007au) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_PARAM_ID (0x020200eeu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_VALUE (cy_capsense_tuner.sensorContext[3].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_OFFSET (124u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_VALUE (cy_capsense_tuner.sensorContext[5].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_OFFSET (240u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_PARAM_ID (0x0100007cu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_PARAM_ID (0x010200f0u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[3].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_OFFSET (125u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[5].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_OFFSET (241u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_PARAM_ID (0x0100007du) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200f1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_VALUE (cy_capsense_tuner.sensorContext[3].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_OFFSET (126u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_VALUE (cy_capsense_tuner.sensorContext[5].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_OFFSET (242u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_PARAM_ID (0x0100007eu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_PARAM_ID (0x010200f2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[3].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_OFFSET (127u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[5].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_OFFSET (243u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_PARAM_ID (0x0100007fu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_PARAM_ID (0x010200f3u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_VALUE (cy_capsense_tuner.sensorContext[4].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_OFFSET (128u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_VALUE (cy_capsense_tuner.sensorContext[6].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_OFFSET (244u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_PARAM_ID (0x02000080u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_PARAM_ID (0x020200f4u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_VALUE (cy_capsense_tuner.sensorContext[4].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_OFFSET (130u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_VALUE (cy_capsense_tuner.sensorContext[6].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_OFFSET (246u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_PARAM_ID (0x02000082u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_PARAM_ID (0x020200f6u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_VALUE (cy_capsense_tuner.sensorContext[4].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_OFFSET (132u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_VALUE (cy_capsense_tuner.sensorContext[6].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_OFFSET (248u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_PARAM_ID (0x02000084u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_PARAM_ID (0x020200f8u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_VALUE (cy_capsense_tuner.sensorContext[4].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_OFFSET (134u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_VALUE (cy_capsense_tuner.sensorContext[6].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_OFFSET (250u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_PARAM_ID (0x01000086u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_PARAM_ID (0x010200fau) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[4].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_OFFSET (135u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[6].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_OFFSET (251u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_PARAM_ID (0x01000087u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200fbu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_VALUE (cy_capsense_tuner.sensorContext[4].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_OFFSET (136u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_VALUE (cy_capsense_tuner.sensorContext[6].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_OFFSET (252u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_PARAM_ID (0x01000088u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_PARAM_ID (0x010200fcu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[4].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_OFFSET (137u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[6].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_OFFSET (253u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_PARAM_ID (0x01000089u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_PARAM_ID (0x010200fdu) #define CY_CAPSENSE_LINEARSLIDER0_X0_VALUE (cy_capsense_tuner.position[0].x) -#define CY_CAPSENSE_LINEARSLIDER0_X0_OFFSET (138u) +#define CY_CAPSENSE_LINEARSLIDER0_X0_OFFSET (254u) #define CY_CAPSENSE_LINEARSLIDER0_X0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_X0_PARAM_ID (0x0200008au) +#define CY_CAPSENSE_LINEARSLIDER0_X0_PARAM_ID (0x020200feu) #define CY_CAPSENSE_LINEARSLIDER0_Y0_VALUE (cy_capsense_tuner.position[0].y) -#define CY_CAPSENSE_LINEARSLIDER0_Y0_OFFSET (140u) +#define CY_CAPSENSE_LINEARSLIDER0_Y0_OFFSET (256u) #define CY_CAPSENSE_LINEARSLIDER0_Y0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_Y0_PARAM_ID (0x0200008cu) +#define CY_CAPSENSE_LINEARSLIDER0_Y0_PARAM_ID (0x02020100u) #define CY_CAPSENSE_LINEARSLIDER0_Z0_VALUE (cy_capsense_tuner.position[0].z) -#define CY_CAPSENSE_LINEARSLIDER0_Z0_OFFSET (142u) +#define CY_CAPSENSE_LINEARSLIDER0_Z0_OFFSET (258u) #define CY_CAPSENSE_LINEARSLIDER0_Z0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_Z0_PARAM_ID (0x0200008eu) +#define CY_CAPSENSE_LINEARSLIDER0_Z0_PARAM_ID (0x02020102u) #define CY_CAPSENSE_LINEARSLIDER0_ID0_VALUE (cy_capsense_tuner.position[0].id) -#define CY_CAPSENSE_LINEARSLIDER0_ID0_OFFSET (144u) +#define CY_CAPSENSE_LINEARSLIDER0_ID0_OFFSET (260u) #define CY_CAPSENSE_LINEARSLIDER0_ID0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_ID0_PARAM_ID (0x02000090u) +#define CY_CAPSENSE_LINEARSLIDER0_ID0_PARAM_ID (0x02020104u) #else /* CY_CAPSENSE_MW_VERSION >= 300 */ #define CY_CAPSENSE_CONFIG_ID_VALUE (cy_capsense_tuner.commonContext.configId) @@ -611,350 +987,720 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_TUNER_CNT_SIZE (1u) #define CY_CAPSENSE_TUNER_CNT_PARAM_ID (0x01000016u) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_VALUE (cy_capsense_tuner.widgetContext[0].fingerCap) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_OFFSET (24u) +#define CY_CAPSENSE_BUTTON0_FINGER_CP_VALUE (cy_capsense_tuner.widgetContext[0].fingerCap) +#define CY_CAPSENSE_BUTTON0_FINGER_CP_OFFSET (24u) +#define CY_CAPSENSE_BUTTON0_FINGER_CP_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_FINGER_CP_PARAM_ID (0x06000018u) + +#define CY_CAPSENSE_BUTTON0_SIGPFC_VALUE (cy_capsense_tuner.widgetContext[0].sigPFC) +#define CY_CAPSENSE_BUTTON0_SIGPFC_OFFSET (26u) +#define CY_CAPSENSE_BUTTON0_SIGPFC_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SIGPFC_PARAM_ID (0x0600001au) + +#define CY_CAPSENSE_BUTTON0_RESOLUTION_VALUE (cy_capsense_tuner.widgetContext[0].resolution) +#define CY_CAPSENSE_BUTTON0_RESOLUTION_OFFSET (28u) +#define CY_CAPSENSE_BUTTON0_RESOLUTION_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_RESOLUTION_PARAM_ID (0x0600001cu) + +#define CY_CAPSENSE_BUTTON0_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[0].maxRawCount) +#define CY_CAPSENSE_BUTTON0_MAX_RAW_COUNT_OFFSET (30u) +#define CY_CAPSENSE_BUTTON0_MAX_RAW_COUNT_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_MAX_RAW_COUNT_PARAM_ID (0x0600001eu) + +#define CY_CAPSENSE_BUTTON0_ROW_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[0].maxRawCountRow) +#define CY_CAPSENSE_BUTTON0_ROW_MAX_RAW_COUNT_OFFSET (32u) +#define CY_CAPSENSE_BUTTON0_ROW_MAX_RAW_COUNT_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_ROW_MAX_RAW_COUNT_PARAM_ID (0x06000020u) + +#define CY_CAPSENSE_BUTTON0_FINGER_TH_VALUE (cy_capsense_tuner.widgetContext[0].fingerTh) +#define CY_CAPSENSE_BUTTON0_FINGER_TH_OFFSET (34u) +#define CY_CAPSENSE_BUTTON0_FINGER_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_FINGER_TH_PARAM_ID (0x02000022u) + +#define CY_CAPSENSE_BUTTON0_PROX_TOUCH_TH_VALUE (cy_capsense_tuner.widgetContext[0].proxTh) +#define CY_CAPSENSE_BUTTON0_PROX_TOUCH_TH_OFFSET (36u) +#define CY_CAPSENSE_BUTTON0_PROX_TOUCH_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_PROX_TOUCH_TH_PARAM_ID (0x02000024u) + +#define CY_CAPSENSE_BUTTON0_LOW_BSLN_RST_VALUE (cy_capsense_tuner.widgetContext[0].lowBslnRst) +#define CY_CAPSENSE_BUTTON0_LOW_BSLN_RST_OFFSET (38u) +#define CY_CAPSENSE_BUTTON0_LOW_BSLN_RST_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_LOW_BSLN_RST_PARAM_ID (0x06000026u) + +#define CY_CAPSENSE_BUTTON0_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[0].snsClk) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_OFFSET (40u) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_PARAM_ID (0x06000028u) + +#define CY_CAPSENSE_BUTTON0_ROW_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[0].rowSnsClk) +#define CY_CAPSENSE_BUTTON0_ROW_SNS_CLK_OFFSET (42u) +#define CY_CAPSENSE_BUTTON0_ROW_SNS_CLK_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_ROW_SNS_CLK_PARAM_ID (0x0600002au) + +#define CY_CAPSENSE_BUTTON0_GESTURE_DETECTED_VALUE (cy_capsense_tuner.widgetContext[0].gestureDetected) +#define CY_CAPSENSE_BUTTON0_GESTURE_DETECTED_OFFSET (44u) +#define CY_CAPSENSE_BUTTON0_GESTURE_DETECTED_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_GESTURE_DETECTED_PARAM_ID (0x0200002cu) + +#define CY_CAPSENSE_BUTTON0_GESTURE_DIRECTION_VALUE (cy_capsense_tuner.widgetContext[0].gestureDirection) +#define CY_CAPSENSE_BUTTON0_GESTURE_DIRECTION_OFFSET (46u) +#define CY_CAPSENSE_BUTTON0_GESTURE_DIRECTION_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_GESTURE_DIRECTION_PARAM_ID (0x0200002eu) + +#define CY_CAPSENSE_BUTTON0_XDELTA_VALUE (cy_capsense_tuner.widgetContext[0].xDelta) +#define CY_CAPSENSE_BUTTON0_XDELTA_OFFSET (48u) +#define CY_CAPSENSE_BUTTON0_XDELTA_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_XDELTA_PARAM_ID (0x02000030u) + +#define CY_CAPSENSE_BUTTON0_YDELTA_VALUE (cy_capsense_tuner.widgetContext[0].yDelta) +#define CY_CAPSENSE_BUTTON0_YDELTA_OFFSET (50u) +#define CY_CAPSENSE_BUTTON0_YDELTA_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_YDELTA_PARAM_ID (0x02000032u) + +#define CY_CAPSENSE_BUTTON0_NOISE_TH_VALUE (cy_capsense_tuner.widgetContext[0].noiseTh) +#define CY_CAPSENSE_BUTTON0_NOISE_TH_OFFSET (52u) +#define CY_CAPSENSE_BUTTON0_NOISE_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_NOISE_TH_PARAM_ID (0x02000034u) + +#define CY_CAPSENSE_BUTTON0_NNOISE_TH_VALUE (cy_capsense_tuner.widgetContext[0].nNoiseTh) +#define CY_CAPSENSE_BUTTON0_NNOISE_TH_OFFSET (54u) +#define CY_CAPSENSE_BUTTON0_NNOISE_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_NNOISE_TH_PARAM_ID (0x02000036u) + +#define CY_CAPSENSE_BUTTON0_HYSTERESIS_VALUE (cy_capsense_tuner.widgetContext[0].hysteresis) +#define CY_CAPSENSE_BUTTON0_HYSTERESIS_OFFSET (56u) +#define CY_CAPSENSE_BUTTON0_HYSTERESIS_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_HYSTERESIS_PARAM_ID (0x02000038u) + +#define CY_CAPSENSE_BUTTON0_ON_DEBOUNCE_VALUE (cy_capsense_tuner.widgetContext[0].onDebounce) +#define CY_CAPSENSE_BUTTON0_ON_DEBOUNCE_OFFSET (58u) +#define CY_CAPSENSE_BUTTON0_ON_DEBOUNCE_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_ON_DEBOUNCE_PARAM_ID (0x0500003au) + +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SOURCE_VALUE (cy_capsense_tuner.widgetContext[0].snsClkSource) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SOURCE_OFFSET (59u) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SOURCE_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS_CLK_SOURCE_PARAM_ID (0x0500003bu) + +#define CY_CAPSENSE_BUTTON0_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[0]) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD0_OFFSET (60u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD0_PARAM_ID (0x0500003cu) + +#define CY_CAPSENSE_BUTTON0_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[1]) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD1_OFFSET (61u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD1_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD1_PARAM_ID (0x0500003du) + +#define CY_CAPSENSE_BUTTON0_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[2]) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD2_OFFSET (62u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD2_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_IDAC_MOD2_PARAM_ID (0x0500003eu) + +#define CY_CAPSENSE_BUTTON0_IDAC_GAIN_INDEX_VALUE (cy_capsense_tuner.widgetContext[0].idacGainIndex) +#define CY_CAPSENSE_BUTTON0_IDAC_GAIN_INDEX_OFFSET (63u) +#define CY_CAPSENSE_BUTTON0_IDAC_GAIN_INDEX_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_IDAC_GAIN_INDEX_PARAM_ID (0x0500003fu) + +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[0]) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD0_OFFSET (64u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD0_PARAM_ID (0x05000040u) + +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[1]) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD1_OFFSET (65u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD1_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD1_PARAM_ID (0x05000041u) + +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[2]) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD2_OFFSET (66u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD2_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_ROW_IDAC_MOD2_PARAM_ID (0x05000042u) + +#define CY_CAPSENSE_BUTTON0_REGULAR_IIR_BL_N_VALUE (cy_capsense_tuner.widgetContext[0].bslnCoeff) +#define CY_CAPSENSE_BUTTON0_REGULAR_IIR_BL_N_OFFSET (67u) +#define CY_CAPSENSE_BUTTON0_REGULAR_IIR_BL_N_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_REGULAR_IIR_BL_N_PARAM_ID (0x05000043u) + +#define CY_CAPSENSE_BUTTON0_STATUS_VALUE (cy_capsense_tuner.widgetContext[0].status) +#define CY_CAPSENSE_BUTTON0_STATUS_OFFSET (68u) +#define CY_CAPSENSE_BUTTON0_STATUS_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_STATUS_PARAM_ID (0x01000044u) + +#define CY_CAPSENSE_BUTTON0_PTRPOSITION_VALUE (cy_capsense_tuner.widgetContext[0].wdTouch.ptrPosition) +#define CY_CAPSENSE_BUTTON0_PTRPOSITION_OFFSET (72u) +#define CY_CAPSENSE_BUTTON0_PTRPOSITION_SIZE (4u) +#define CY_CAPSENSE_BUTTON0_PTRPOSITION_PARAM_ID (0x03000048u) + +#define CY_CAPSENSE_BUTTON0_NUM_POSITIONS_VALUE (cy_capsense_tuner.widgetContext[0].wdTouch.numPosition) +#define CY_CAPSENSE_BUTTON0_NUM_POSITIONS_OFFSET (76u) +#define CY_CAPSENSE_BUTTON0_NUM_POSITIONS_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_NUM_POSITIONS_PARAM_ID (0x0100004cu) + +#define CY_CAPSENSE_BUTTON1_FINGER_CP_VALUE (cy_capsense_tuner.widgetContext[1].fingerCap) +#define CY_CAPSENSE_BUTTON1_FINGER_CP_OFFSET (80u) +#define CY_CAPSENSE_BUTTON1_FINGER_CP_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_FINGER_CP_PARAM_ID (0x06010050u) + +#define CY_CAPSENSE_BUTTON1_SIGPFC_VALUE (cy_capsense_tuner.widgetContext[1].sigPFC) +#define CY_CAPSENSE_BUTTON1_SIGPFC_OFFSET (82u) +#define CY_CAPSENSE_BUTTON1_SIGPFC_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SIGPFC_PARAM_ID (0x06010052u) + +#define CY_CAPSENSE_BUTTON1_RESOLUTION_VALUE (cy_capsense_tuner.widgetContext[1].resolution) +#define CY_CAPSENSE_BUTTON1_RESOLUTION_OFFSET (84u) +#define CY_CAPSENSE_BUTTON1_RESOLUTION_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_RESOLUTION_PARAM_ID (0x06010054u) + +#define CY_CAPSENSE_BUTTON1_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[1].maxRawCount) +#define CY_CAPSENSE_BUTTON1_MAX_RAW_COUNT_OFFSET (86u) +#define CY_CAPSENSE_BUTTON1_MAX_RAW_COUNT_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_MAX_RAW_COUNT_PARAM_ID (0x06010056u) + +#define CY_CAPSENSE_BUTTON1_ROW_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[1].maxRawCountRow) +#define CY_CAPSENSE_BUTTON1_ROW_MAX_RAW_COUNT_OFFSET (88u) +#define CY_CAPSENSE_BUTTON1_ROW_MAX_RAW_COUNT_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_ROW_MAX_RAW_COUNT_PARAM_ID (0x06010058u) + +#define CY_CAPSENSE_BUTTON1_FINGER_TH_VALUE (cy_capsense_tuner.widgetContext[1].fingerTh) +#define CY_CAPSENSE_BUTTON1_FINGER_TH_OFFSET (90u) +#define CY_CAPSENSE_BUTTON1_FINGER_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_FINGER_TH_PARAM_ID (0x0201005au) + +#define CY_CAPSENSE_BUTTON1_PROX_TOUCH_TH_VALUE (cy_capsense_tuner.widgetContext[1].proxTh) +#define CY_CAPSENSE_BUTTON1_PROX_TOUCH_TH_OFFSET (92u) +#define CY_CAPSENSE_BUTTON1_PROX_TOUCH_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_PROX_TOUCH_TH_PARAM_ID (0x0201005cu) + +#define CY_CAPSENSE_BUTTON1_LOW_BSLN_RST_VALUE (cy_capsense_tuner.widgetContext[1].lowBslnRst) +#define CY_CAPSENSE_BUTTON1_LOW_BSLN_RST_OFFSET (94u) +#define CY_CAPSENSE_BUTTON1_LOW_BSLN_RST_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_LOW_BSLN_RST_PARAM_ID (0x0601005eu) + +#define CY_CAPSENSE_BUTTON1_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[1].snsClk) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_OFFSET (96u) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_PARAM_ID (0x06010060u) + +#define CY_CAPSENSE_BUTTON1_ROW_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[1].rowSnsClk) +#define CY_CAPSENSE_BUTTON1_ROW_SNS_CLK_OFFSET (98u) +#define CY_CAPSENSE_BUTTON1_ROW_SNS_CLK_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_ROW_SNS_CLK_PARAM_ID (0x06010062u) + +#define CY_CAPSENSE_BUTTON1_GESTURE_DETECTED_VALUE (cy_capsense_tuner.widgetContext[1].gestureDetected) +#define CY_CAPSENSE_BUTTON1_GESTURE_DETECTED_OFFSET (100u) +#define CY_CAPSENSE_BUTTON1_GESTURE_DETECTED_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_GESTURE_DETECTED_PARAM_ID (0x02010064u) + +#define CY_CAPSENSE_BUTTON1_GESTURE_DIRECTION_VALUE (cy_capsense_tuner.widgetContext[1].gestureDirection) +#define CY_CAPSENSE_BUTTON1_GESTURE_DIRECTION_OFFSET (102u) +#define CY_CAPSENSE_BUTTON1_GESTURE_DIRECTION_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_GESTURE_DIRECTION_PARAM_ID (0x02010066u) + +#define CY_CAPSENSE_BUTTON1_XDELTA_VALUE (cy_capsense_tuner.widgetContext[1].xDelta) +#define CY_CAPSENSE_BUTTON1_XDELTA_OFFSET (104u) +#define CY_CAPSENSE_BUTTON1_XDELTA_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_XDELTA_PARAM_ID (0x02010068u) + +#define CY_CAPSENSE_BUTTON1_YDELTA_VALUE (cy_capsense_tuner.widgetContext[1].yDelta) +#define CY_CAPSENSE_BUTTON1_YDELTA_OFFSET (106u) +#define CY_CAPSENSE_BUTTON1_YDELTA_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_YDELTA_PARAM_ID (0x0201006au) + +#define CY_CAPSENSE_BUTTON1_NOISE_TH_VALUE (cy_capsense_tuner.widgetContext[1].noiseTh) +#define CY_CAPSENSE_BUTTON1_NOISE_TH_OFFSET (108u) +#define CY_CAPSENSE_BUTTON1_NOISE_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_NOISE_TH_PARAM_ID (0x0201006cu) + +#define CY_CAPSENSE_BUTTON1_NNOISE_TH_VALUE (cy_capsense_tuner.widgetContext[1].nNoiseTh) +#define CY_CAPSENSE_BUTTON1_NNOISE_TH_OFFSET (110u) +#define CY_CAPSENSE_BUTTON1_NNOISE_TH_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_NNOISE_TH_PARAM_ID (0x0201006eu) + +#define CY_CAPSENSE_BUTTON1_HYSTERESIS_VALUE (cy_capsense_tuner.widgetContext[1].hysteresis) +#define CY_CAPSENSE_BUTTON1_HYSTERESIS_OFFSET (112u) +#define CY_CAPSENSE_BUTTON1_HYSTERESIS_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_HYSTERESIS_PARAM_ID (0x02010070u) + +#define CY_CAPSENSE_BUTTON1_ON_DEBOUNCE_VALUE (cy_capsense_tuner.widgetContext[1].onDebounce) +#define CY_CAPSENSE_BUTTON1_ON_DEBOUNCE_OFFSET (114u) +#define CY_CAPSENSE_BUTTON1_ON_DEBOUNCE_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_ON_DEBOUNCE_PARAM_ID (0x05010072u) + +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SOURCE_VALUE (cy_capsense_tuner.widgetContext[1].snsClkSource) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SOURCE_OFFSET (115u) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SOURCE_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS_CLK_SOURCE_PARAM_ID (0x05010073u) + +#define CY_CAPSENSE_BUTTON1_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[1].idacMod[0]) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD0_OFFSET (116u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD0_PARAM_ID (0x05010074u) + +#define CY_CAPSENSE_BUTTON1_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[1].idacMod[1]) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD1_OFFSET (117u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD1_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD1_PARAM_ID (0x05010075u) + +#define CY_CAPSENSE_BUTTON1_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[1].idacMod[2]) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD2_OFFSET (118u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD2_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_IDAC_MOD2_PARAM_ID (0x05010076u) + +#define CY_CAPSENSE_BUTTON1_IDAC_GAIN_INDEX_VALUE (cy_capsense_tuner.widgetContext[1].idacGainIndex) +#define CY_CAPSENSE_BUTTON1_IDAC_GAIN_INDEX_OFFSET (119u) +#define CY_CAPSENSE_BUTTON1_IDAC_GAIN_INDEX_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_IDAC_GAIN_INDEX_PARAM_ID (0x05010077u) + +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[1].rowIdacMod[0]) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD0_OFFSET (120u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD0_PARAM_ID (0x05010078u) + +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[1].rowIdacMod[1]) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD1_OFFSET (121u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD1_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD1_PARAM_ID (0x05010079u) + +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[1].rowIdacMod[2]) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD2_OFFSET (122u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD2_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_ROW_IDAC_MOD2_PARAM_ID (0x0501007au) + +#define CY_CAPSENSE_BUTTON1_REGULAR_IIR_BL_N_VALUE (cy_capsense_tuner.widgetContext[1].bslnCoeff) +#define CY_CAPSENSE_BUTTON1_REGULAR_IIR_BL_N_OFFSET (123u) +#define CY_CAPSENSE_BUTTON1_REGULAR_IIR_BL_N_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_REGULAR_IIR_BL_N_PARAM_ID (0x0501007bu) + +#define CY_CAPSENSE_BUTTON1_STATUS_VALUE (cy_capsense_tuner.widgetContext[1].status) +#define CY_CAPSENSE_BUTTON1_STATUS_OFFSET (124u) +#define CY_CAPSENSE_BUTTON1_STATUS_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_STATUS_PARAM_ID (0x0101007cu) + +#define CY_CAPSENSE_BUTTON1_PTRPOSITION_VALUE (cy_capsense_tuner.widgetContext[1].wdTouch.ptrPosition) +#define CY_CAPSENSE_BUTTON1_PTRPOSITION_OFFSET (128u) +#define CY_CAPSENSE_BUTTON1_PTRPOSITION_SIZE (4u) +#define CY_CAPSENSE_BUTTON1_PTRPOSITION_PARAM_ID (0x03010080u) + +#define CY_CAPSENSE_BUTTON1_NUM_POSITIONS_VALUE (cy_capsense_tuner.widgetContext[1].wdTouch.numPosition) +#define CY_CAPSENSE_BUTTON1_NUM_POSITIONS_OFFSET (132u) +#define CY_CAPSENSE_BUTTON1_NUM_POSITIONS_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_NUM_POSITIONS_PARAM_ID (0x01010084u) + +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_VALUE (cy_capsense_tuner.widgetContext[2].fingerCap) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_OFFSET (136u) #define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_PARAM_ID (0x06000018u) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_CP_PARAM_ID (0x06020088u) -#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_VALUE (cy_capsense_tuner.widgetContext[0].sigPFC) -#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_OFFSET (26u) +#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_VALUE (cy_capsense_tuner.widgetContext[2].sigPFC) +#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_OFFSET (138u) #define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_PARAM_ID (0x0600001au) +#define CY_CAPSENSE_LINEARSLIDER0_SIGPFC_PARAM_ID (0x0602008au) -#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_VALUE (cy_capsense_tuner.widgetContext[0].resolution) -#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_OFFSET (28u) +#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_VALUE (cy_capsense_tuner.widgetContext[2].resolution) +#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_OFFSET (140u) #define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_PARAM_ID (0x0600001cu) +#define CY_CAPSENSE_LINEARSLIDER0_RESOLUTION_PARAM_ID (0x0602008cu) -#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[0].maxRawCount) -#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_OFFSET (30u) +#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[2].maxRawCount) +#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_OFFSET (142u) #define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_PARAM_ID (0x0200001eu) +#define CY_CAPSENSE_LINEARSLIDER0_MAX_RAW_COUNT_PARAM_ID (0x0602008eu) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[0].maxRawCountRow) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_MAX_RAW_COUNT_OFFSET (32u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_MAX_RAW_COUNT_VALUE (cy_capsense_tuner.widgetContext[2].maxRawCountRow) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_MAX_RAW_COUNT_OFFSET (144u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_MAX_RAW_COUNT_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_MAX_RAW_COUNT_PARAM_ID (0x02000020u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_MAX_RAW_COUNT_PARAM_ID (0x06020090u) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_VALUE (cy_capsense_tuner.widgetContext[0].fingerTh) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_OFFSET (34u) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_VALUE (cy_capsense_tuner.widgetContext[2].fingerTh) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_OFFSET (146u) #define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_PARAM_ID (0x02000022u) +#define CY_CAPSENSE_LINEARSLIDER0_FINGER_TH_PARAM_ID (0x02020092u) -#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_VALUE (cy_capsense_tuner.widgetContext[0].proxTh) -#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_OFFSET (36u) +#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_VALUE (cy_capsense_tuner.widgetContext[2].proxTh) +#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_OFFSET (148u) #define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_PARAM_ID (0x02000024u) +#define CY_CAPSENSE_LINEARSLIDER0_PROX_TOUCH_TH_PARAM_ID (0x02020094u) -#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_VALUE (cy_capsense_tuner.widgetContext[0].lowBslnRst) -#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_OFFSET (38u) +#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_VALUE (cy_capsense_tuner.widgetContext[2].lowBslnRst) +#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_OFFSET (150u) #define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_PARAM_ID (0x06000026u) +#define CY_CAPSENSE_LINEARSLIDER0_LOW_BSLN_RST_PARAM_ID (0x06020096u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[0].snsClk) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_OFFSET (40u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[2].snsClk) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_OFFSET (152u) #define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_PARAM_ID (0x06000028u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_PARAM_ID (0x06020098u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[0].rowSnsClk) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_OFFSET (42u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_VALUE (cy_capsense_tuner.widgetContext[2].rowSnsClk) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_OFFSET (154u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_PARAM_ID (0x0600002au) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_SNS_CLK_PARAM_ID (0x0602009au) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_VALUE (cy_capsense_tuner.widgetContext[0].gestureDetected) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_OFFSET (44u) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_VALUE (cy_capsense_tuner.widgetContext[2].gestureDetected) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_OFFSET (156u) #define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_PARAM_ID (0x0200002cu) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DETECTED_PARAM_ID (0x0202009cu) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_VALUE (cy_capsense_tuner.widgetContext[0].gestureDirection) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_OFFSET (46u) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_VALUE (cy_capsense_tuner.widgetContext[2].gestureDirection) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_OFFSET (158u) #define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_PARAM_ID (0x0200002eu) +#define CY_CAPSENSE_LINEARSLIDER0_GESTURE_DIRECTION_PARAM_ID (0x0202009eu) -#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_VALUE (cy_capsense_tuner.widgetContext[0].xDelta) -#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_OFFSET (48u) +#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_VALUE (cy_capsense_tuner.widgetContext[2].xDelta) +#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_OFFSET (160u) #define CY_CAPSENSE_LINEARSLIDER0_XDELTA_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_PARAM_ID (0x02000030u) +#define CY_CAPSENSE_LINEARSLIDER0_XDELTA_PARAM_ID (0x020200a0u) -#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_VALUE (cy_capsense_tuner.widgetContext[0].yDelta) -#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_OFFSET (50u) +#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_VALUE (cy_capsense_tuner.widgetContext[2].yDelta) +#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_OFFSET (162u) #define CY_CAPSENSE_LINEARSLIDER0_YDELTA_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_PARAM_ID (0x02000032u) +#define CY_CAPSENSE_LINEARSLIDER0_YDELTA_PARAM_ID (0x020200a2u) -#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_VALUE (cy_capsense_tuner.widgetContext[0].noiseTh) -#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_OFFSET (52u) +#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_VALUE (cy_capsense_tuner.widgetContext[2].noiseTh) +#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_OFFSET (164u) #define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_PARAM_ID (0x02000034u) +#define CY_CAPSENSE_LINEARSLIDER0_NOISE_TH_PARAM_ID (0x020200a4u) -#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_VALUE (cy_capsense_tuner.widgetContext[0].nNoiseTh) -#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_OFFSET (54u) +#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_VALUE (cy_capsense_tuner.widgetContext[2].nNoiseTh) +#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_OFFSET (166u) #define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_PARAM_ID (0x02000036u) +#define CY_CAPSENSE_LINEARSLIDER0_NNOISE_TH_PARAM_ID (0x020200a6u) -#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_VALUE (cy_capsense_tuner.widgetContext[0].hysteresis) -#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_OFFSET (56u) +#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_VALUE (cy_capsense_tuner.widgetContext[2].hysteresis) +#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_OFFSET (168u) #define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_PARAM_ID (0x02000038u) +#define CY_CAPSENSE_LINEARSLIDER0_HYSTERESIS_PARAM_ID (0x020200a8u) -#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_VALUE (cy_capsense_tuner.widgetContext[0].onDebounce) -#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_OFFSET (58u) +#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_VALUE (cy_capsense_tuner.widgetContext[2].onDebounce) +#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_OFFSET (170u) #define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_PARAM_ID (0x0500003au) +#define CY_CAPSENSE_LINEARSLIDER0_ON_DEBOUNCE_PARAM_ID (0x050200aau) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_VALUE (cy_capsense_tuner.widgetContext[0].snsClkSource) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_OFFSET (59u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_VALUE (cy_capsense_tuner.widgetContext[2].snsClkSource) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_OFFSET (171u) #define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_PARAM_ID (0x0500003bu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS_CLK_SOURCE_PARAM_ID (0x050200abu) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[0]) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_OFFSET (60u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[2].idacMod[0]) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_OFFSET (172u) #define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_PARAM_ID (0x0500003cu) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD0_PARAM_ID (0x050200acu) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[1]) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_OFFSET (61u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[2].idacMod[1]) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_OFFSET (173u) #define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_PARAM_ID (0x0500003du) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD1_PARAM_ID (0x050200adu) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[0].idacMod[2]) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_OFFSET (62u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[2].idacMod[2]) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_OFFSET (174u) #define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_PARAM_ID (0x0500003eu) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_MOD2_PARAM_ID (0x050200aeu) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_VALUE (cy_capsense_tuner.widgetContext[0].idacGainIndex) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_OFFSET (63u) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_VALUE (cy_capsense_tuner.widgetContext[2].idacGainIndex) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_OFFSET (175u) #define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_PARAM_ID (0x0500003fu) +#define CY_CAPSENSE_LINEARSLIDER0_IDAC_GAIN_INDEX_PARAM_ID (0x050200afu) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[0]) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_OFFSET (64u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_VALUE (cy_capsense_tuner.widgetContext[2].rowIdacMod[0]) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_OFFSET (176u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_PARAM_ID (0x05000040u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD0_PARAM_ID (0x050200b0u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[1]) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_OFFSET (65u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_VALUE (cy_capsense_tuner.widgetContext[2].rowIdacMod[1]) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_OFFSET (177u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_PARAM_ID (0x05000041u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD1_PARAM_ID (0x050200b1u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[0].rowIdacMod[2]) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_OFFSET (66u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_VALUE (cy_capsense_tuner.widgetContext[2].rowIdacMod[2]) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_OFFSET (178u) #define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_PARAM_ID (0x05000042u) +#define CY_CAPSENSE_LINEARSLIDER0_ROW_IDAC_MOD2_PARAM_ID (0x050200b2u) -#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_VALUE (cy_capsense_tuner.widgetContext[0].bslnCoeff) -#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_OFFSET (67u) +#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_VALUE (cy_capsense_tuner.widgetContext[2].bslnCoeff) +#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_OFFSET (179u) #define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_PARAM_ID (0x01000043u) +#define CY_CAPSENSE_LINEARSLIDER0_REGULAR_IIR_BL_N_PARAM_ID (0x050200b3u) -#define CY_CAPSENSE_LINEARSLIDER0_STATUS_VALUE (cy_capsense_tuner.widgetContext[0].status) -#define CY_CAPSENSE_LINEARSLIDER0_STATUS_OFFSET (68u) +#define CY_CAPSENSE_LINEARSLIDER0_STATUS_VALUE (cy_capsense_tuner.widgetContext[2].status) +#define CY_CAPSENSE_LINEARSLIDER0_STATUS_OFFSET (180u) #define CY_CAPSENSE_LINEARSLIDER0_STATUS_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_STATUS_PARAM_ID (0x01000044u) +#define CY_CAPSENSE_LINEARSLIDER0_STATUS_PARAM_ID (0x010200b4u) -#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_VALUE (cy_capsense_tuner.widgetContext[0].wdTouch.ptrPosition) -#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_OFFSET (72u) +#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_VALUE (cy_capsense_tuner.widgetContext[2].wdTouch.ptrPosition) +#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_OFFSET (184u) #define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_SIZE (4u) -#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_PARAM_ID (0x03000048u) +#define CY_CAPSENSE_LINEARSLIDER0_PTRPOSITION_PARAM_ID (0x030200b8u) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_VALUE (cy_capsense_tuner.widgetContext[0].wdTouch.numPosition) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_OFFSET (76u) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_VALUE (cy_capsense_tuner.widgetContext[2].wdTouch.numPosition) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_OFFSET (188u) #define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_PARAM_ID (0x0100004cu) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_POSITIONS_PARAM_ID (0x010200bcu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_VALUE (cy_capsense_tuner.sensorContext[0].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_OFFSET (80u) +#define CY_CAPSENSE_BUTTON0_SNS0_RAW0_VALUE (cy_capsense_tuner.sensorContext[0].raw) +#define CY_CAPSENSE_BUTTON0_SNS0_RAW0_OFFSET (192u) +#define CY_CAPSENSE_BUTTON0_SNS0_RAW0_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SNS0_RAW0_PARAM_ID (0x020000c0u) + +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN0_VALUE (cy_capsense_tuner.sensorContext[0].bsln) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN0_OFFSET (194u) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN0_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN0_PARAM_ID (0x020000c2u) + +#define CY_CAPSENSE_BUTTON0_SNS0_DIFF0_VALUE (cy_capsense_tuner.sensorContext[0].diff) +#define CY_CAPSENSE_BUTTON0_SNS0_DIFF0_OFFSET (196u) +#define CY_CAPSENSE_BUTTON0_SNS0_DIFF0_SIZE (2u) +#define CY_CAPSENSE_BUTTON0_SNS0_DIFF0_PARAM_ID (0x020000c4u) + +#define CY_CAPSENSE_BUTTON0_SNS0_STATUS0_VALUE (cy_capsense_tuner.sensorContext[0].status) +#define CY_CAPSENSE_BUTTON0_SNS0_STATUS0_OFFSET (198u) +#define CY_CAPSENSE_BUTTON0_SNS0_STATUS0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS0_STATUS0_PARAM_ID (0x010000c6u) + +#define CY_CAPSENSE_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[0].negBslnRstCnt) +#define CY_CAPSENSE_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (199u) +#define CY_CAPSENSE_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_PARAM_ID (0x010000c7u) + +#define CY_CAPSENSE_BUTTON0_SNS0_IDAC0_VALUE (cy_capsense_tuner.sensorContext[0].idacComp) +#define CY_CAPSENSE_BUTTON0_SNS0_IDAC0_OFFSET (200u) +#define CY_CAPSENSE_BUTTON0_SNS0_IDAC0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS0_IDAC0_PARAM_ID (0x010000c8u) + +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[0].bslnExt) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN_EXT0_OFFSET (201u) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN_EXT0_SIZE (1u) +#define CY_CAPSENSE_BUTTON0_SNS0_BSLN_EXT0_PARAM_ID (0x010000c9u) + +#define CY_CAPSENSE_BUTTON1_SNS0_RAW0_VALUE (cy_capsense_tuner.sensorContext[1].raw) +#define CY_CAPSENSE_BUTTON1_SNS0_RAW0_OFFSET (202u) +#define CY_CAPSENSE_BUTTON1_SNS0_RAW0_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SNS0_RAW0_PARAM_ID (0x020100cau) + +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN0_VALUE (cy_capsense_tuner.sensorContext[1].bsln) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN0_OFFSET (204u) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN0_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN0_PARAM_ID (0x020100ccu) + +#define CY_CAPSENSE_BUTTON1_SNS0_DIFF0_VALUE (cy_capsense_tuner.sensorContext[1].diff) +#define CY_CAPSENSE_BUTTON1_SNS0_DIFF0_OFFSET (206u) +#define CY_CAPSENSE_BUTTON1_SNS0_DIFF0_SIZE (2u) +#define CY_CAPSENSE_BUTTON1_SNS0_DIFF0_PARAM_ID (0x020100ceu) + +#define CY_CAPSENSE_BUTTON1_SNS0_STATUS0_VALUE (cy_capsense_tuner.sensorContext[1].status) +#define CY_CAPSENSE_BUTTON1_SNS0_STATUS0_OFFSET (208u) +#define CY_CAPSENSE_BUTTON1_SNS0_STATUS0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS0_STATUS0_PARAM_ID (0x010100d0u) + +#define CY_CAPSENSE_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[1].negBslnRstCnt) +#define CY_CAPSENSE_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_OFFSET (209u) +#define CY_CAPSENSE_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_PARAM_ID (0x010100d1u) + +#define CY_CAPSENSE_BUTTON1_SNS0_IDAC0_VALUE (cy_capsense_tuner.sensorContext[1].idacComp) +#define CY_CAPSENSE_BUTTON1_SNS0_IDAC0_OFFSET (210u) +#define CY_CAPSENSE_BUTTON1_SNS0_IDAC0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS0_IDAC0_PARAM_ID (0x010100d2u) + +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[1].bslnExt) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN_EXT0_OFFSET (211u) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN_EXT0_SIZE (1u) +#define CY_CAPSENSE_BUTTON1_SNS0_BSLN_EXT0_PARAM_ID (0x010100d3u) + +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_VALUE (cy_capsense_tuner.sensorContext[2].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_OFFSET (212u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_PARAM_ID (0x02000050u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_RAW0_PARAM_ID (0x020200d4u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_VALUE (cy_capsense_tuner.sensorContext[0].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_OFFSET (82u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_VALUE (cy_capsense_tuner.sensorContext[2].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_OFFSET (214u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_PARAM_ID (0x02000052u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN0_PARAM_ID (0x020200d6u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_VALUE (cy_capsense_tuner.sensorContext[0].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_OFFSET (84u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_VALUE (cy_capsense_tuner.sensorContext[2].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_OFFSET (216u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_PARAM_ID (0x02000054u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_DIFF0_PARAM_ID (0x020200d8u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_VALUE (cy_capsense_tuner.sensorContext[0].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_OFFSET (86u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_VALUE (cy_capsense_tuner.sensorContext[2].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_OFFSET (218u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_PARAM_ID (0x01000056u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_STATUS0_PARAM_ID (0x010200dau) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[0].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (87u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[2].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (219u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_PARAM_ID (0x01000057u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200dbu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_VALUE (cy_capsense_tuner.sensorContext[0].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_OFFSET (88u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_VALUE (cy_capsense_tuner.sensorContext[2].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_OFFSET (220u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_PARAM_ID (0x01000058u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_IDAC0_PARAM_ID (0x010200dcu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[0].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_OFFSET (89u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[2].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_OFFSET (221u) #define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_PARAM_ID (0x01000059u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_BSLN_EXT0_PARAM_ID (0x010200ddu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_VALUE (cy_capsense_tuner.sensorContext[1].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_OFFSET (90u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_VALUE (cy_capsense_tuner.sensorContext[3].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_OFFSET (222u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_PARAM_ID (0x0200005au) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_RAW0_PARAM_ID (0x020200deu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_VALUE (cy_capsense_tuner.sensorContext[1].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_OFFSET (92u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_VALUE (cy_capsense_tuner.sensorContext[3].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_OFFSET (224u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_PARAM_ID (0x0200005cu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN0_PARAM_ID (0x020200e0u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_VALUE (cy_capsense_tuner.sensorContext[1].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_OFFSET (94u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_VALUE (cy_capsense_tuner.sensorContext[3].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_OFFSET (226u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_PARAM_ID (0x0200005eu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_DIFF0_PARAM_ID (0x020200e2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_VALUE (cy_capsense_tuner.sensorContext[1].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_OFFSET (96u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_VALUE (cy_capsense_tuner.sensorContext[3].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_OFFSET (228u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_PARAM_ID (0x01000060u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_STATUS0_PARAM_ID (0x010200e4u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[1].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_OFFSET (97u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[3].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_OFFSET (229u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_PARAM_ID (0x01000061u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200e5u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_VALUE (cy_capsense_tuner.sensorContext[1].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_OFFSET (98u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_VALUE (cy_capsense_tuner.sensorContext[3].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_OFFSET (230u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_PARAM_ID (0x01000062u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_IDAC0_PARAM_ID (0x010200e6u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[1].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_OFFSET (99u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[3].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_OFFSET (231u) #define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_PARAM_ID (0x01000063u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_BSLN_EXT0_PARAM_ID (0x010200e7u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_VALUE (cy_capsense_tuner.sensorContext[2].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_OFFSET (100u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_VALUE (cy_capsense_tuner.sensorContext[4].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_OFFSET (232u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_PARAM_ID (0x02000064u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_RAW0_PARAM_ID (0x020200e8u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_VALUE (cy_capsense_tuner.sensorContext[2].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_OFFSET (102u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_VALUE (cy_capsense_tuner.sensorContext[4].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_OFFSET (234u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_PARAM_ID (0x02000066u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN0_PARAM_ID (0x020200eau) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_VALUE (cy_capsense_tuner.sensorContext[2].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_OFFSET (104u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_VALUE (cy_capsense_tuner.sensorContext[4].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_OFFSET (236u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_PARAM_ID (0x02000068u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_DIFF0_PARAM_ID (0x020200ecu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_VALUE (cy_capsense_tuner.sensorContext[2].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_OFFSET (106u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_VALUE (cy_capsense_tuner.sensorContext[4].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_OFFSET (238u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_PARAM_ID (0x0100006au) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_STATUS0_PARAM_ID (0x010200eeu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[2].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_OFFSET (107u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[4].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_OFFSET (239u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_PARAM_ID (0x0100006bu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200efu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_VALUE (cy_capsense_tuner.sensorContext[2].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_OFFSET (108u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_VALUE (cy_capsense_tuner.sensorContext[4].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_OFFSET (240u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_PARAM_ID (0x0100006cu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_IDAC0_PARAM_ID (0x010200f0u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[2].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_OFFSET (109u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[4].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_OFFSET (241u) #define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_PARAM_ID (0x0100006du) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_BSLN_EXT0_PARAM_ID (0x010200f1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_VALUE (cy_capsense_tuner.sensorContext[3].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_OFFSET (110u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_VALUE (cy_capsense_tuner.sensorContext[5].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_OFFSET (242u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_PARAM_ID (0x0200006eu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_RAW0_PARAM_ID (0x020200f2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_VALUE (cy_capsense_tuner.sensorContext[3].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_OFFSET (112u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_VALUE (cy_capsense_tuner.sensorContext[5].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_OFFSET (244u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_PARAM_ID (0x02000070u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN0_PARAM_ID (0x020200f4u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_VALUE (cy_capsense_tuner.sensorContext[3].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_OFFSET (114u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_VALUE (cy_capsense_tuner.sensorContext[5].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_OFFSET (246u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_PARAM_ID (0x02000072u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_DIFF0_PARAM_ID (0x020200f6u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_VALUE (cy_capsense_tuner.sensorContext[3].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_OFFSET (116u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_VALUE (cy_capsense_tuner.sensorContext[5].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_OFFSET (248u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_PARAM_ID (0x01000074u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_STATUS0_PARAM_ID (0x010200f8u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[3].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_OFFSET (117u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[5].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_OFFSET (249u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_PARAM_ID (0x01000075u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_PARAM_ID (0x010200f9u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_VALUE (cy_capsense_tuner.sensorContext[3].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_OFFSET (118u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_VALUE (cy_capsense_tuner.sensorContext[5].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_OFFSET (250u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_PARAM_ID (0x01000076u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_IDAC0_PARAM_ID (0x010200fau) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[3].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_OFFSET (119u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[5].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_OFFSET (251u) #define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_PARAM_ID (0x01000077u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_BSLN_EXT0_PARAM_ID (0x010200fbu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_VALUE (cy_capsense_tuner.sensorContext[4].raw) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_OFFSET (120u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_VALUE (cy_capsense_tuner.sensorContext[6].raw) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_OFFSET (252u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_PARAM_ID (0x02000078u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_RAW0_PARAM_ID (0x020200fcu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_VALUE (cy_capsense_tuner.sensorContext[4].bsln) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_OFFSET (122u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_VALUE (cy_capsense_tuner.sensorContext[6].bsln) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_OFFSET (254u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_PARAM_ID (0x0200007au) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN0_PARAM_ID (0x020200feu) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_VALUE (cy_capsense_tuner.sensorContext[4].diff) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_OFFSET (124u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_VALUE (cy_capsense_tuner.sensorContext[6].diff) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_OFFSET (256u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_PARAM_ID (0x0200007cu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_DIFF0_PARAM_ID (0x02020100u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_VALUE (cy_capsense_tuner.sensorContext[4].status) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_OFFSET (126u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_VALUE (cy_capsense_tuner.sensorContext[6].status) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_OFFSET (258u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_PARAM_ID (0x0100007eu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_STATUS0_PARAM_ID (0x01020102u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[4].negBslnRstCnt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_OFFSET (127u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_VALUE (cy_capsense_tuner.sensorContext[6].negBslnRstCnt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_OFFSET (259u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_PARAM_ID (0x0100007fu) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_PARAM_ID (0x01020103u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_VALUE (cy_capsense_tuner.sensorContext[4].idacComp) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_OFFSET (128u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_VALUE (cy_capsense_tuner.sensorContext[6].idacComp) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_OFFSET (260u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_PARAM_ID (0x01000080u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_IDAC0_PARAM_ID (0x01020104u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[4].bslnExt) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_OFFSET (129u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_VALUE (cy_capsense_tuner.sensorContext[6].bslnExt) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_OFFSET (261u) #define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_PARAM_ID (0x01000081u) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_BSLN_EXT0_PARAM_ID (0x01020105u) #define CY_CAPSENSE_LINEARSLIDER0_X0_VALUE (cy_capsense_tuner.position[0].x) -#define CY_CAPSENSE_LINEARSLIDER0_X0_OFFSET (130u) +#define CY_CAPSENSE_LINEARSLIDER0_X0_OFFSET (262u) #define CY_CAPSENSE_LINEARSLIDER0_X0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_X0_PARAM_ID (0x02000082u) +#define CY_CAPSENSE_LINEARSLIDER0_X0_PARAM_ID (0x02020106u) #define CY_CAPSENSE_LINEARSLIDER0_Y0_VALUE (cy_capsense_tuner.position[0].y) -#define CY_CAPSENSE_LINEARSLIDER0_Y0_OFFSET (132u) +#define CY_CAPSENSE_LINEARSLIDER0_Y0_OFFSET (264u) #define CY_CAPSENSE_LINEARSLIDER0_Y0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_Y0_PARAM_ID (0x02000084u) +#define CY_CAPSENSE_LINEARSLIDER0_Y0_PARAM_ID (0x02020108u) #define CY_CAPSENSE_LINEARSLIDER0_Z0_VALUE (cy_capsense_tuner.position[0].z) -#define CY_CAPSENSE_LINEARSLIDER0_Z0_OFFSET (134u) +#define CY_CAPSENSE_LINEARSLIDER0_Z0_OFFSET (266u) #define CY_CAPSENSE_LINEARSLIDER0_Z0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_Z0_PARAM_ID (0x02000086u) +#define CY_CAPSENSE_LINEARSLIDER0_Z0_PARAM_ID (0x0202010au) #define CY_CAPSENSE_LINEARSLIDER0_ID0_VALUE (cy_capsense_tuner.position[0].id) -#define CY_CAPSENSE_LINEARSLIDER0_ID0_OFFSET (136u) +#define CY_CAPSENSE_LINEARSLIDER0_ID0_OFFSET (268u) #define CY_CAPSENSE_LINEARSLIDER0_ID0_SIZE (2u) -#define CY_CAPSENSE_LINEARSLIDER0_ID0_PARAM_ID (0x02000088u) +#define CY_CAPSENSE_LINEARSLIDER0_ID0_PARAM_ID (0x0202010cu) #endif /* cy_capsense_context */ @@ -1009,6 +1755,7 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_NUM_WD_VALUE (cy_capsense_context.ptrCommonConfig->numWd) #define CY_CAPSENSE_NUM_WD_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->numWd)) +#if (CY_CAPSENSE_MW_VERSION < 400) #define CY_CAPSENSE_CSD_EN_VALUE (cy_capsense_context.ptrCommonConfig->csdEn) #define CY_CAPSENSE_CSD_EN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdEn)) @@ -1025,6 +1772,7 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_POSITION_FILTER_EN_VALUE (cy_capsense_context.ptrCommonConfig->positionFilterEn) #define CY_CAPSENSE_POSITION_FILTER_EN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->positionFilterEn)) +#endif #define CY_CAPSENSE_PERI_DIVIDER_TYPE_VALUE (cy_capsense_context.ptrCommonConfig->periDividerType) #define CY_CAPSENSE_PERI_DIVIDER_TYPE_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->periDividerType)) @@ -1110,8 +1858,10 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_PIN_CINT_B_VALUE (cy_capsense_context.ptrCommonConfig->pinCintB) #define CY_CAPSENSE_PIN_CINT_B_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->pinCintB)) +#if (CY_CAPSENSE_MW_VERSION < 400) #define CY_CAPSENSE_CSD_SHIELD_EN_VALUE (cy_capsense_context.ptrCommonConfig->csdShieldEn) #define CY_CAPSENSE_CSD_SHIELD_EN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdShieldEn)) +#endif #define CY_CAPSENSE_CSD_INACTIVE_SNS_CONNECTION_VALUE (cy_capsense_context.ptrCommonConfig->csdInactiveSnsConnection) #define CY_CAPSENSE_CSD_INACTIVE_SNS_CONNECTION_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdInactiveSnsConnection)) @@ -1130,8 +1880,10 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_CSD_R_CONST_VALUE (cy_capsense_context.ptrCommonConfig->csdRConst) #define CY_CAPSENSE_CSD_R_CONST_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdRConst)) +#if (CY_CAPSENSE_MW_VERSION < 400) #define CY_CAPSENSE_CSD_C_TANK_SHIELD_EN_VALUE (cy_capsense_context.ptrCommonConfig->csdCTankShieldEn) #define CY_CAPSENSE_CSD_C_TANK_SHIELD_EN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdCTankShieldEn)) +#endif #define CY_CAPSENSE_CSD_SHIELD_NUM_PIN_VALUE (cy_capsense_context.ptrCommonConfig->csdShieldNumPin) #define CY_CAPSENSE_CSD_SHIELD_NUM_PIN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdShieldNumPin)) @@ -1148,6 +1900,7 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_CSD_RAW_TARGET_VALUE (cy_capsense_context.ptrCommonConfig->csdRawTarget) #define CY_CAPSENSE_CSD_RAW_TARGET_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdRawTarget)) +#if (CY_CAPSENSE_MW_VERSION < 400) #define CY_CAPSENSE_CSD_AUTOTUNE_EN_VALUE (cy_capsense_context.ptrCommonConfig->csdAutotuneEn) #define CY_CAPSENSE_CSD_AUTOTUNE_EN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdAutotuneEn)) @@ -1156,6 +1909,7 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_CSD_IDAC_AUTO_GAIN_EN_VALUE (cy_capsense_context.ptrCommonConfig->csdIdacAutoGainEn) #define CY_CAPSENSE_CSD_IDAC_AUTO_GAIN_EN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdIdacAutoGainEn)) +#endif #define CY_CAPSENSE_CSD_CALIBRATION_ERROR_VALUE (cy_capsense_context.ptrCommonConfig->csdCalibrationError) #define CY_CAPSENSE_CSD_CALIBRATION_ERROR_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdCalibrationError)) @@ -1172,8 +1926,10 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_CSD_FINE_INIT_TIME_VALUE (cy_capsense_context.ptrCommonConfig->csdFineInitTime) #define CY_CAPSENSE_CSD_FINE_INIT_TIME_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdFineInitTime)) +#if (CY_CAPSENSE_MW_VERSION < 400) #define CY_CAPSENSE_CSD_IDAC_ROW_COL_ALIGN_EN_VALUE (cy_capsense_context.ptrCommonConfig->csdIdacRowColAlignEn) #define CY_CAPSENSE_CSD_IDAC_ROW_COL_ALIGN_EN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdIdacRowColAlignEn)) +#endif #define CY_CAPSENSE_CSD_MFS_DIVIDER_OFFSET_F1_VALUE (cy_capsense_context.ptrCommonConfig->csdMfsDividerOffsetF1) #define CY_CAPSENSE_CSD_MFS_DIVIDER_OFFSET_F1_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csdMfsDividerOffsetF1)) @@ -1184,6 +1940,7 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_CSX_RAW_TARGET_VALUE (cy_capsense_context.ptrCommonConfig->csxRawTarget) #define CY_CAPSENSE_CSX_RAW_TARGET_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csxRawTarget)) +#if (CY_CAPSENSE_MW_VERSION < 400) #define CY_CAPSENSE_CSX_IDAC_GAIN_INIT_INDEX_VALUE (cy_capsense_context.ptrCommonConfig->csxIdacGainInitIndex) #define CY_CAPSENSE_CSX_IDAC_GAIN_INIT_INDEX_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csxIdacGainInitIndex)) @@ -1192,6 +1949,7 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_CSX_IDAC_AUTOCAL_EN_VALUE (cy_capsense_context.ptrCommonConfig->csxIdacAutocalEn) #define CY_CAPSENSE_CSX_IDAC_AUTOCAL_EN_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csxIdacAutocalEn)) +#endif #define CY_CAPSENSE_CSX_CALIBRATION_ERROR_VALUE (cy_capsense_context.ptrCommonConfig->csxCalibrationError) #define CY_CAPSENSE_CSX_CALIBRATION_ERROR_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csxCalibrationError)) @@ -1218,130 +1976,280 @@ extern cy_stc_capsense_context_t cy_capsense_context; #define CY_CAPSENSE_CSX_MFS_DIVIDER_OFFSET_F2_SIZE (sizeof(cy_capsense_context.ptrCommonConfig->csxMfsDividerOffsetF2)) /* cy_capsense_widgetConfig */ -#define CY_CAPSENSE_LINEARSLIDER0_PTR_WD_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrWdContext) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_WD_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrWdContext)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_SNS_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrSnsContext) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_SNS_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrSnsContext)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_ELTD_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrEltdConfig) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_ELTD_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrEltdConfig)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_ELTD_CAPACITANCE_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrEltdCapacitance) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_ELTD_CAPACITANCE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrEltdCapacitance)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_BSLN_INV_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrBslnInv) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_BSLN_INV_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrBslnInv)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_NOISE_ENVELOPE_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrNoiseEnvelope) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_NOISE_ENVELOPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrNoiseEnvelope)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_RAW_FILTER_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrRawFilterHistory) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_RAW_FILTER_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrRawFilterHistory)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_RAW_FILTER_HISTORY_LOW_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrRawFilterHistoryLow) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_RAW_FILTER_HISTORY_LOW_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrRawFilterHistoryLow)) -#define CY_CAPSENSE_LINEARSLIDER0_IIR_COEFF_VALUE (cy_capsense_context.ptrWdConfig[0u].iirCoeff) -#define CY_CAPSENSE_LINEARSLIDER0_IIR_COEFF_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].iirCoeff)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_DEBOUNCE_ARR_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrDebounceArr) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_DEBOUNCE_ARR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrDebounceArr)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_DIPLEX_TABLE_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrDiplexTable) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_DIPLEX_TABLE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrDiplexTable)) -#define CY_CAPSENSE_LINEARSLIDER0_CENTROID_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].centroidConfig) -#define CY_CAPSENSE_LINEARSLIDER0_CENTROID_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].centroidConfig)) -#define CY_CAPSENSE_LINEARSLIDER0_X_RESOLUTION_VALUE (cy_capsense_context.ptrWdConfig[0u].xResolution) -#define CY_CAPSENSE_LINEARSLIDER0_X_RESOLUTION_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].xResolution)) -#define CY_CAPSENSE_LINEARSLIDER0_Y_RESOLUTION_VALUE (cy_capsense_context.ptrWdConfig[0u].yResolution) -#define CY_CAPSENSE_LINEARSLIDER0_Y_RESOLUTION_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].yResolution)) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_SNS_VALUE (cy_capsense_context.ptrWdConfig[0u].numSns) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_SNS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].numSns)) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_COLS_VALUE (cy_capsense_context.ptrWdConfig[0u].numCols) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_COLS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].numCols)) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_ROWS_VALUE (cy_capsense_context.ptrWdConfig[0u].numRows) -#define CY_CAPSENSE_LINEARSLIDER0_NUM_ROWS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].numRows)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_POS_FILTER_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrPosFilterHistory) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_POS_FILTER_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrPosFilterHistory)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSX_TOUCH_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrCsxTouchHistory) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSX_TOUCH_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrCsxTouchHistory)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSX_TOUCH_BUFFER_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrCsxTouchBuffer) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSX_TOUCH_BUFFER_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrCsxTouchBuffer)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSD_TOUCH_BUFFER_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrCsdTouchBuffer) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSD_TOUCH_BUFFER_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrCsdTouchBuffer)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_GESTURE_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrGestureConfig) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_GESTURE_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrGestureConfig)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_GESTURE_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrGestureContext) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_GESTURE_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrGestureContext)) -#define CY_CAPSENSE_LINEARSLIDER0_BALLISTIC_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].ballisticConfig) -#define CY_CAPSENSE_LINEARSLIDER0_BALLISTIC_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ballisticConfig)) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_BALLISTIC_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrBallisticContext) -#define CY_CAPSENSE_LINEARSLIDER0_PTR_BALLISTIC_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrBallisticContext)) -#define CY_CAPSENSE_LINEARSLIDER0_AIIR_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].aiirConfig) -#define CY_CAPSENSE_LINEARSLIDER0_AIIR_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].aiirConfig)) -#define CY_CAPSENSE_LINEARSLIDER0_ADV_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].advConfig) -#define CY_CAPSENSE_LINEARSLIDER0_ADV_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].advConfig)) -#define CY_CAPSENSE_LINEARSLIDER0_POS_FILTER_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].posFilterConfig) -#define CY_CAPSENSE_LINEARSLIDER0_POS_FILTER_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].posFilterConfig)) -#define CY_CAPSENSE_LINEARSLIDER0_RAW_FILTER_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].rawFilterConfig) -#define CY_CAPSENSE_LINEARSLIDER0_RAW_FILTER_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].rawFilterConfig)) -#define CY_CAPSENSE_LINEARSLIDER0_SENSE_METHOD_VALUE (cy_capsense_context.ptrWdConfig[0u].senseMethod) -#define CY_CAPSENSE_LINEARSLIDER0_SENSE_METHOD_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].senseMethod)) -#define CY_CAPSENSE_LINEARSLIDER0_WD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[0u].wdType) -#define CY_CAPSENSE_LINEARSLIDER0_WD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].wdType)) +#define CY_CAPSENSE_BUTTON0_PTR_WD_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrWdContext) +#define CY_CAPSENSE_BUTTON0_PTR_WD_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrWdContext)) +#define CY_CAPSENSE_BUTTON0_PTR_SNS_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrSnsContext) +#define CY_CAPSENSE_BUTTON0_PTR_SNS_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrSnsContext)) +#define CY_CAPSENSE_BUTTON0_PTR_ELTD_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrEltdConfig) +#define CY_CAPSENSE_BUTTON0_PTR_ELTD_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrEltdConfig)) +#define CY_CAPSENSE_BUTTON0_PTR_ELTD_CAPACITANCE_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrEltdCapacitance) +#define CY_CAPSENSE_BUTTON0_PTR_ELTD_CAPACITANCE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrEltdCapacitance)) +#define CY_CAPSENSE_BUTTON0_PTR_BSLN_INV_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrBslnInv) +#define CY_CAPSENSE_BUTTON0_PTR_BSLN_INV_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrBslnInv)) +#define CY_CAPSENSE_BUTTON0_PTR_NOISE_ENVELOPE_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrNoiseEnvelope) +#define CY_CAPSENSE_BUTTON0_PTR_NOISE_ENVELOPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrNoiseEnvelope)) +#define CY_CAPSENSE_BUTTON0_PTR_RAW_FILTER_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrRawFilterHistory) +#define CY_CAPSENSE_BUTTON0_PTR_RAW_FILTER_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrRawFilterHistory)) +#define CY_CAPSENSE_BUTTON0_PTR_RAW_FILTER_HISTORY_LOW_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrRawFilterHistoryLow) +#define CY_CAPSENSE_BUTTON0_PTR_RAW_FILTER_HISTORY_LOW_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrRawFilterHistoryLow)) +#define CY_CAPSENSE_BUTTON0_IIR_COEFF_VALUE (cy_capsense_context.ptrWdConfig[0u].iirCoeff) +#define CY_CAPSENSE_BUTTON0_IIR_COEFF_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].iirCoeff)) +#define CY_CAPSENSE_BUTTON0_PTR_DEBOUNCE_ARR_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrDebounceArr) +#define CY_CAPSENSE_BUTTON0_PTR_DEBOUNCE_ARR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrDebounceArr)) +#define CY_CAPSENSE_BUTTON0_PTR_DIPLEX_TABLE_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrDiplexTable) +#define CY_CAPSENSE_BUTTON0_PTR_DIPLEX_TABLE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrDiplexTable)) +#define CY_CAPSENSE_BUTTON0_CENTROID_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].centroidConfig) +#define CY_CAPSENSE_BUTTON0_CENTROID_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].centroidConfig)) +#define CY_CAPSENSE_BUTTON0_X_RESOLUTION_VALUE (cy_capsense_context.ptrWdConfig[0u].xResolution) +#define CY_CAPSENSE_BUTTON0_X_RESOLUTION_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].xResolution)) +#define CY_CAPSENSE_BUTTON0_Y_RESOLUTION_VALUE (cy_capsense_context.ptrWdConfig[0u].yResolution) +#define CY_CAPSENSE_BUTTON0_Y_RESOLUTION_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].yResolution)) +#define CY_CAPSENSE_BUTTON0_NUM_SNS_VALUE (cy_capsense_context.ptrWdConfig[0u].numSns) +#define CY_CAPSENSE_BUTTON0_NUM_SNS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].numSns)) +#define CY_CAPSENSE_BUTTON0_NUM_COLS_VALUE (cy_capsense_context.ptrWdConfig[0u].numCols) +#define CY_CAPSENSE_BUTTON0_NUM_COLS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].numCols)) +#define CY_CAPSENSE_BUTTON0_NUM_ROWS_VALUE (cy_capsense_context.ptrWdConfig[0u].numRows) +#define CY_CAPSENSE_BUTTON0_NUM_ROWS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].numRows)) +#define CY_CAPSENSE_BUTTON0_PTR_POS_FILTER_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrPosFilterHistory) +#define CY_CAPSENSE_BUTTON0_PTR_POS_FILTER_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrPosFilterHistory)) +#define CY_CAPSENSE_BUTTON0_PTR_CSX_TOUCH_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrCsxTouchHistory) +#define CY_CAPSENSE_BUTTON0_PTR_CSX_TOUCH_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrCsxTouchHistory)) +#define CY_CAPSENSE_BUTTON0_PTR_CSX_TOUCH_BUFFER_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrCsxTouchBuffer) +#define CY_CAPSENSE_BUTTON0_PTR_CSX_TOUCH_BUFFER_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrCsxTouchBuffer)) +#define CY_CAPSENSE_BUTTON0_PTR_CSD_TOUCH_BUFFER_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrCsdTouchBuffer) +#define CY_CAPSENSE_BUTTON0_PTR_CSD_TOUCH_BUFFER_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrCsdTouchBuffer)) +#define CY_CAPSENSE_BUTTON0_PTR_GESTURE_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrGestureConfig) +#define CY_CAPSENSE_BUTTON0_PTR_GESTURE_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrGestureConfig)) +#define CY_CAPSENSE_BUTTON0_PTR_GESTURE_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrGestureContext) +#define CY_CAPSENSE_BUTTON0_PTR_GESTURE_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrGestureContext)) +#define CY_CAPSENSE_BUTTON0_BALLISTIC_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].ballisticConfig) +#define CY_CAPSENSE_BUTTON0_BALLISTIC_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ballisticConfig)) +#define CY_CAPSENSE_BUTTON0_PTR_BALLISTIC_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[0u].ptrBallisticContext) +#define CY_CAPSENSE_BUTTON0_PTR_BALLISTIC_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].ptrBallisticContext)) +#define CY_CAPSENSE_BUTTON0_AIIR_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].aiirConfig) +#define CY_CAPSENSE_BUTTON0_AIIR_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].aiirConfig)) +#define CY_CAPSENSE_BUTTON0_ADV_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].advConfig) +#define CY_CAPSENSE_BUTTON0_ADV_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].advConfig)) +#define CY_CAPSENSE_BUTTON0_POS_FILTER_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].posFilterConfig) +#define CY_CAPSENSE_BUTTON0_POS_FILTER_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].posFilterConfig)) +#define CY_CAPSENSE_BUTTON0_RAW_FILTER_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[0u].rawFilterConfig) +#define CY_CAPSENSE_BUTTON0_RAW_FILTER_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].rawFilterConfig)) +#define CY_CAPSENSE_BUTTON0_SENSE_METHOD_VALUE (cy_capsense_context.ptrWdConfig[0u].senseMethod) +#define CY_CAPSENSE_BUTTON0_SENSE_METHOD_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].senseMethod)) +#define CY_CAPSENSE_BUTTON0_WD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[0u].wdType) +#define CY_CAPSENSE_BUTTON0_WD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0u].wdType)) + +#define CY_CAPSENSE_BUTTON1_PTR_WD_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrWdContext) +#define CY_CAPSENSE_BUTTON1_PTR_WD_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrWdContext)) +#define CY_CAPSENSE_BUTTON1_PTR_SNS_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrSnsContext) +#define CY_CAPSENSE_BUTTON1_PTR_SNS_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrSnsContext)) +#define CY_CAPSENSE_BUTTON1_PTR_ELTD_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrEltdConfig) +#define CY_CAPSENSE_BUTTON1_PTR_ELTD_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrEltdConfig)) +#define CY_CAPSENSE_BUTTON1_PTR_ELTD_CAPACITANCE_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrEltdCapacitance) +#define CY_CAPSENSE_BUTTON1_PTR_ELTD_CAPACITANCE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrEltdCapacitance)) +#define CY_CAPSENSE_BUTTON1_PTR_BSLN_INV_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrBslnInv) +#define CY_CAPSENSE_BUTTON1_PTR_BSLN_INV_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrBslnInv)) +#define CY_CAPSENSE_BUTTON1_PTR_NOISE_ENVELOPE_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrNoiseEnvelope) +#define CY_CAPSENSE_BUTTON1_PTR_NOISE_ENVELOPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrNoiseEnvelope)) +#define CY_CAPSENSE_BUTTON1_PTR_RAW_FILTER_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrRawFilterHistory) +#define CY_CAPSENSE_BUTTON1_PTR_RAW_FILTER_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrRawFilterHistory)) +#define CY_CAPSENSE_BUTTON1_PTR_RAW_FILTER_HISTORY_LOW_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrRawFilterHistoryLow) +#define CY_CAPSENSE_BUTTON1_PTR_RAW_FILTER_HISTORY_LOW_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrRawFilterHistoryLow)) +#define CY_CAPSENSE_BUTTON1_IIR_COEFF_VALUE (cy_capsense_context.ptrWdConfig[1u].iirCoeff) +#define CY_CAPSENSE_BUTTON1_IIR_COEFF_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].iirCoeff)) +#define CY_CAPSENSE_BUTTON1_PTR_DEBOUNCE_ARR_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrDebounceArr) +#define CY_CAPSENSE_BUTTON1_PTR_DEBOUNCE_ARR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrDebounceArr)) +#define CY_CAPSENSE_BUTTON1_PTR_DIPLEX_TABLE_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrDiplexTable) +#define CY_CAPSENSE_BUTTON1_PTR_DIPLEX_TABLE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrDiplexTable)) +#define CY_CAPSENSE_BUTTON1_CENTROID_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[1u].centroidConfig) +#define CY_CAPSENSE_BUTTON1_CENTROID_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].centroidConfig)) +#define CY_CAPSENSE_BUTTON1_X_RESOLUTION_VALUE (cy_capsense_context.ptrWdConfig[1u].xResolution) +#define CY_CAPSENSE_BUTTON1_X_RESOLUTION_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].xResolution)) +#define CY_CAPSENSE_BUTTON1_Y_RESOLUTION_VALUE (cy_capsense_context.ptrWdConfig[1u].yResolution) +#define CY_CAPSENSE_BUTTON1_Y_RESOLUTION_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].yResolution)) +#define CY_CAPSENSE_BUTTON1_NUM_SNS_VALUE (cy_capsense_context.ptrWdConfig[1u].numSns) +#define CY_CAPSENSE_BUTTON1_NUM_SNS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].numSns)) +#define CY_CAPSENSE_BUTTON1_NUM_COLS_VALUE (cy_capsense_context.ptrWdConfig[1u].numCols) +#define CY_CAPSENSE_BUTTON1_NUM_COLS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].numCols)) +#define CY_CAPSENSE_BUTTON1_NUM_ROWS_VALUE (cy_capsense_context.ptrWdConfig[1u].numRows) +#define CY_CAPSENSE_BUTTON1_NUM_ROWS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].numRows)) +#define CY_CAPSENSE_BUTTON1_PTR_POS_FILTER_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrPosFilterHistory) +#define CY_CAPSENSE_BUTTON1_PTR_POS_FILTER_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrPosFilterHistory)) +#define CY_CAPSENSE_BUTTON1_PTR_CSX_TOUCH_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrCsxTouchHistory) +#define CY_CAPSENSE_BUTTON1_PTR_CSX_TOUCH_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrCsxTouchHistory)) +#define CY_CAPSENSE_BUTTON1_PTR_CSX_TOUCH_BUFFER_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrCsxTouchBuffer) +#define CY_CAPSENSE_BUTTON1_PTR_CSX_TOUCH_BUFFER_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrCsxTouchBuffer)) +#define CY_CAPSENSE_BUTTON1_PTR_CSD_TOUCH_BUFFER_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrCsdTouchBuffer) +#define CY_CAPSENSE_BUTTON1_PTR_CSD_TOUCH_BUFFER_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrCsdTouchBuffer)) +#define CY_CAPSENSE_BUTTON1_PTR_GESTURE_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrGestureConfig) +#define CY_CAPSENSE_BUTTON1_PTR_GESTURE_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrGestureConfig)) +#define CY_CAPSENSE_BUTTON1_PTR_GESTURE_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrGestureContext) +#define CY_CAPSENSE_BUTTON1_PTR_GESTURE_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrGestureContext)) +#define CY_CAPSENSE_BUTTON1_BALLISTIC_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[1u].ballisticConfig) +#define CY_CAPSENSE_BUTTON1_BALLISTIC_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ballisticConfig)) +#define CY_CAPSENSE_BUTTON1_PTR_BALLISTIC_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[1u].ptrBallisticContext) +#define CY_CAPSENSE_BUTTON1_PTR_BALLISTIC_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].ptrBallisticContext)) +#define CY_CAPSENSE_BUTTON1_AIIR_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[1u].aiirConfig) +#define CY_CAPSENSE_BUTTON1_AIIR_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].aiirConfig)) +#define CY_CAPSENSE_BUTTON1_ADV_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[1u].advConfig) +#define CY_CAPSENSE_BUTTON1_ADV_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].advConfig)) +#define CY_CAPSENSE_BUTTON1_POS_FILTER_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[1u].posFilterConfig) +#define CY_CAPSENSE_BUTTON1_POS_FILTER_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].posFilterConfig)) +#define CY_CAPSENSE_BUTTON1_RAW_FILTER_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[1u].rawFilterConfig) +#define CY_CAPSENSE_BUTTON1_RAW_FILTER_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].rawFilterConfig)) +#define CY_CAPSENSE_BUTTON1_SENSE_METHOD_VALUE (cy_capsense_context.ptrWdConfig[1u].senseMethod) +#define CY_CAPSENSE_BUTTON1_SENSE_METHOD_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].senseMethod)) +#define CY_CAPSENSE_BUTTON1_WD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[1u].wdType) +#define CY_CAPSENSE_BUTTON1_WD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1u].wdType)) + +#define CY_CAPSENSE_LINEARSLIDER0_PTR_WD_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrWdContext) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_WD_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrWdContext)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_SNS_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrSnsContext) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_SNS_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrSnsContext)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_ELTD_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrEltdConfig) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_ELTD_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrEltdConfig)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_ELTD_CAPACITANCE_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrEltdCapacitance) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_ELTD_CAPACITANCE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrEltdCapacitance)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_BSLN_INV_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrBslnInv) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_BSLN_INV_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrBslnInv)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_NOISE_ENVELOPE_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrNoiseEnvelope) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_NOISE_ENVELOPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrNoiseEnvelope)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_RAW_FILTER_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrRawFilterHistory) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_RAW_FILTER_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrRawFilterHistory)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_RAW_FILTER_HISTORY_LOW_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrRawFilterHistoryLow) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_RAW_FILTER_HISTORY_LOW_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrRawFilterHistoryLow)) +#define CY_CAPSENSE_LINEARSLIDER0_IIR_COEFF_VALUE (cy_capsense_context.ptrWdConfig[2u].iirCoeff) +#define CY_CAPSENSE_LINEARSLIDER0_IIR_COEFF_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].iirCoeff)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_DEBOUNCE_ARR_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrDebounceArr) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_DEBOUNCE_ARR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrDebounceArr)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_DIPLEX_TABLE_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrDiplexTable) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_DIPLEX_TABLE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrDiplexTable)) +#define CY_CAPSENSE_LINEARSLIDER0_CENTROID_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[2u].centroidConfig) +#define CY_CAPSENSE_LINEARSLIDER0_CENTROID_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].centroidConfig)) +#define CY_CAPSENSE_LINEARSLIDER0_X_RESOLUTION_VALUE (cy_capsense_context.ptrWdConfig[2u].xResolution) +#define CY_CAPSENSE_LINEARSLIDER0_X_RESOLUTION_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].xResolution)) +#define CY_CAPSENSE_LINEARSLIDER0_Y_RESOLUTION_VALUE (cy_capsense_context.ptrWdConfig[2u].yResolution) +#define CY_CAPSENSE_LINEARSLIDER0_Y_RESOLUTION_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].yResolution)) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_SNS_VALUE (cy_capsense_context.ptrWdConfig[2u].numSns) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_SNS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].numSns)) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_COLS_VALUE (cy_capsense_context.ptrWdConfig[2u].numCols) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_COLS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].numCols)) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_ROWS_VALUE (cy_capsense_context.ptrWdConfig[2u].numRows) +#define CY_CAPSENSE_LINEARSLIDER0_NUM_ROWS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].numRows)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_POS_FILTER_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrPosFilterHistory) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_POS_FILTER_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrPosFilterHistory)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSX_TOUCH_HISTORY_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrCsxTouchHistory) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSX_TOUCH_HISTORY_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrCsxTouchHistory)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSX_TOUCH_BUFFER_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrCsxTouchBuffer) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSX_TOUCH_BUFFER_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrCsxTouchBuffer)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSD_TOUCH_BUFFER_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrCsdTouchBuffer) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_CSD_TOUCH_BUFFER_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrCsdTouchBuffer)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_GESTURE_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrGestureConfig) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_GESTURE_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrGestureConfig)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_GESTURE_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrGestureContext) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_GESTURE_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrGestureContext)) +#define CY_CAPSENSE_LINEARSLIDER0_BALLISTIC_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[2u].ballisticConfig) +#define CY_CAPSENSE_LINEARSLIDER0_BALLISTIC_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ballisticConfig)) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_BALLISTIC_CONTEXT_VALUE (cy_capsense_context.ptrWdConfig[2u].ptrBallisticContext) +#define CY_CAPSENSE_LINEARSLIDER0_PTR_BALLISTIC_CONTEXT_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].ptrBallisticContext)) +#define CY_CAPSENSE_LINEARSLIDER0_AIIR_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[2u].aiirConfig) +#define CY_CAPSENSE_LINEARSLIDER0_AIIR_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].aiirConfig)) +#define CY_CAPSENSE_LINEARSLIDER0_ADV_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[2u].advConfig) +#define CY_CAPSENSE_LINEARSLIDER0_ADV_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].advConfig)) +#define CY_CAPSENSE_LINEARSLIDER0_POS_FILTER_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[2u].posFilterConfig) +#define CY_CAPSENSE_LINEARSLIDER0_POS_FILTER_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].posFilterConfig)) +#define CY_CAPSENSE_LINEARSLIDER0_RAW_FILTER_CONFIG_VALUE (cy_capsense_context.ptrWdConfig[2u].rawFilterConfig) +#define CY_CAPSENSE_LINEARSLIDER0_RAW_FILTER_CONFIG_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].rawFilterConfig)) +#define CY_CAPSENSE_LINEARSLIDER0_SENSE_METHOD_VALUE (cy_capsense_context.ptrWdConfig[2u].senseMethod) +#define CY_CAPSENSE_LINEARSLIDER0_SENSE_METHOD_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].senseMethod)) +#define CY_CAPSENSE_LINEARSLIDER0_WD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[2u].wdType) +#define CY_CAPSENSE_LINEARSLIDER0_WD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2u].wdType)) /* cy_capsense_pinConfig */ -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[0].pcPtr) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[0].pcPtr)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[0].pinNumber) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[0].pinNumber)) +#define CY_CAPSENSE_BUTTON0_SNS0_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[0].pcPtr) +#define CY_CAPSENSE_BUTTON0_SNS0_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[0].pcPtr)) +#define CY_CAPSENSE_BUTTON0_SNS0_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[0].pinNumber) +#define CY_CAPSENSE_BUTTON0_SNS0_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[0].pinNumber)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[1].pcPtr) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[1].pcPtr)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[1].pinNumber) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[1].pinNumber)) +#define CY_CAPSENSE_BUTTON1_SNS0_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[1].pcPtr) +#define CY_CAPSENSE_BUTTON1_SNS0_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[1].pcPtr)) +#define CY_CAPSENSE_BUTTON1_SNS0_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[1].pinNumber) +#define CY_CAPSENSE_BUTTON1_SNS0_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[1].pinNumber)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[2].pcPtr) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[2].pcPtr)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[2].pinNumber) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[2].pinNumber)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[2].pcPtr) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[2].pcPtr)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[2].pinNumber) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[2].pinNumber)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[3].pcPtr) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[3].pcPtr)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[3].pinNumber) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[3].pinNumber)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[3].pcPtr) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[3].pcPtr)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[3].pinNumber) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[3].pinNumber)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[4].pcPtr) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[4].pcPtr)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[4].pinNumber) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[4].pinNumber)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[4].pcPtr) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[4].pcPtr)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[4].pinNumber) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[4].pinNumber)) + +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[5].pcPtr) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[5].pcPtr)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[5].pinNumber) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[5].pinNumber)) + +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_PIN0_PC_PTR_VALUE (cy_capsense_context.ptrPinConfig[6].pcPtr) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_PIN0_PC_PTR_SIZE (sizeof(cy_capsense_context.ptrPinConfig[6].pcPtr)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_PIN0_NUMBER_VALUE (cy_capsense_context.ptrPinConfig[6].pinNumber) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_PIN0_NUMBER_SIZE (sizeof(cy_capsense_context.ptrPinConfig[6].pinNumber)) /* cy_capsense_electrodeConfig */ -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].ptrPin) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].ptrPin)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].type) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].type)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].numPins) -#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].numPins)) +#define CY_CAPSENSE_BUTTON0_SNS0_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].ptrPin) +#define CY_CAPSENSE_BUTTON0_SNS0_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].ptrPin)) +#define CY_CAPSENSE_BUTTON0_SNS0_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].type) +#define CY_CAPSENSE_BUTTON0_SNS0_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].type)) +#define CY_CAPSENSE_BUTTON0_SNS0_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].numPins) +#define CY_CAPSENSE_BUTTON0_SNS0_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[0].numPins)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[1].ptrPin) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[1].ptrPin)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[1].type) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[1].type)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[1].numPins) -#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[1].numPins)) +#define CY_CAPSENSE_BUTTON1_SNS0_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[1].ptrEltdConfig[0].ptrPin) +#define CY_CAPSENSE_BUTTON1_SNS0_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1].ptrEltdConfig[0].ptrPin)) +#define CY_CAPSENSE_BUTTON1_SNS0_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[1].ptrEltdConfig[0].type) +#define CY_CAPSENSE_BUTTON1_SNS0_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1].ptrEltdConfig[0].type)) +#define CY_CAPSENSE_BUTTON1_SNS0_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[1].ptrEltdConfig[0].numPins) +#define CY_CAPSENSE_BUTTON1_SNS0_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[1].ptrEltdConfig[0].numPins)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[2].ptrPin) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[2].ptrPin)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[2].type) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[2].type)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[2].numPins) -#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[2].numPins)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[0].ptrPin) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[0].ptrPin)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[0].type) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[0].type)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[0].numPins) +#define CY_CAPSENSE_LINEARSLIDER0_SNS0_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[0].numPins)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[3].ptrPin) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[3].ptrPin)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[3].type) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[3].type)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[3].numPins) -#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[3].numPins)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[1].ptrPin) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[1].ptrPin)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[1].type) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[1].type)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[1].numPins) +#define CY_CAPSENSE_LINEARSLIDER0_SNS1_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[1].numPins)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[4].ptrPin) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[4].ptrPin)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[4].type) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[4].type)) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[4].numPins) -#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[0].ptrEltdConfig[4].numPins)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[2].ptrPin) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[2].ptrPin)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[2].type) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[2].type)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[2].numPins) +#define CY_CAPSENSE_LINEARSLIDER0_SNS2_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[2].numPins)) + +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[3].ptrPin) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[3].ptrPin)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[3].type) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[3].type)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[3].numPins) +#define CY_CAPSENSE_LINEARSLIDER0_SNS3_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[3].numPins)) + +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_CFG_PTR_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[4].ptrPin) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_CFG_PTR_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[4].ptrPin)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_ELTD_TYPE_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[4].type) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_ELTD_TYPE_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[4].type)) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NUM_PINS_VALUE (cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[4].numPins) +#define CY_CAPSENSE_LINEARSLIDER0_SNS4_NUM_PINS_SIZE (sizeof(cy_capsense_context.ptrWdConfig[2].ptrEltdConfig[4].numPins)) #if ((CY_CAPSENSE_PERI_CLK / 2) > 50000000) diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.timestamp b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.timestamp new file mode 100644 index 0000000000..f6ecbfb58b --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense.timestamp @@ -0,0 +1,26 @@ +/******************************************************************************* +* File Name: cycfg_capsense.timestamp +* +* Description: +* Sentinel file for determining if generated source is up to date. +* This file was automatically generated and should not be modified. +* CAPSENSE Configurator 6.10.0.3796 +* +******************************************************************************** +* Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or +* an affiliate of Cypress Semiconductor Corporation. +* SPDX-License-Identifier: Apache-2.0 +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +********************************************************************************/ + diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense_defines.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense_defines.h index 165db2a379..59b3083af5 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense_defines.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense_defines.h @@ -4,14 +4,14 @@ * Description: * CAPSENSE configuration defines. * -* Note: This file is required for the CAPSENSE Middleware Library to build +* Note: This file is required for the CAPSENSE Middleware Library to build * successfully. * * This file should not be modified. It was automatically generated by -* CAPSENSE Configurator 5.0.0.2684 +* CAPSENSE Configurator 6.10.0.3796 * ******************************************************************************** -* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) +* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) * or an affiliate of Cypress Semiconductor Corporation. * SPDX-License-Identifier: Apache-2.0 * @@ -34,20 +34,21 @@ #include /* General */ -#define CY_CAPSENSE_WIDGET_COUNT (1u) +#define CY_CAPSENSE_WIDGET_COUNT (3u) #define CY_CAPSENSE_ACTIVE_WIDGET_COUNT (CY_CAPSENSE_WIDGET_COUNT) #define CY_CAPSENSE_LP_WIDGET_COUNT (0u) #define CY_CAPSENSE_TOTAL_WIDGET_COUNT (CY_CAPSENSE_WIDGET_COUNT) -#define CY_CAPSENSE_SENSOR_COUNT (5u) -#define CY_CAPSENSE_ELTD_COUNT (5u) -#define CY_CAPSENSE_PIN_COUNT (5u) +#define CY_CAPSENSE_SENSOR_COUNT (7u) +#define CY_CAPSENSE_ELTD_COUNT (7u) +#define CY_CAPSENSE_PIN_COUNT (7u) #define CY_CAPSENSE_SHIELD_PIN_COUNT (0u) #define CY_CAPSENSE_POSITION_SIZE (1u) -#define CY_CAPSENSE_DEBOUNCE_SIZE (1u) -#define CY_CAPSENSE_NOISE_ENVELOPE_SIZE (5u) +#define CY_CAPSENSE_DEBOUNCE_SIZE (3u) +#define CY_CAPSENSE_NOISE_ENVELOPE_SIZE (7u) #define CY_CAPSENSE_MFS_CH_NUMBER (1u) #define CY_CAPSENSE_RAW_HISTORY_SIZE (0u) #define CY_CAPSENSE_IIR_HISTORY_LOW_SIZE (0u) +#define CY_CAPSENSE_RAW_ALP_HISTORY_SIZE (0u) #define CY_CAPSENSE_POSITION_FILTER_HISTORY_SIZE (0u) #define CY_CAPSENSE_TOUCH_FILTER_HISTORY_SIZE (0u) #define CY_CAPSENSE_DIPLEX_SIZE (0u) @@ -66,7 +67,7 @@ #define CY_CAPSENSE_SMARTSENSE_FULL_EN (1u) #define CY_CAPSENSE_SMARTSENSE_HW_EN (0u) #define CY_CAPSENSE_SMARTSENSE_DISABLED (0u) -#define CY_CAPSENSE_CSD_AUTOTUNE_EN (CY_CAPSENSE_SMARTSENSE_FULL_EN || CY_CAPSENSE_SMARTSENSE_HW_EN) +#define CY_CAPSENSE_CSD_AUTOTUNE_EN (CY_CAPSENSE_SMARTSENSE_FULL_EN | CY_CAPSENSE_SMARTSENSE_HW_EN) #define CY_CAPSENSE_CSD_SHIELD_EN (0u) #define CY_CAPSENSE_CSD_SHIELD_CAP_EN (0u) #define CY_CAPSENSE_CSD_CHARGE_TRANSFER (0u) @@ -81,14 +82,17 @@ #define CY_CAPSENSE_ADAPTIVE_FILTER_EN (0u) #define CY_CAPSENSE_BALLISTIC_MULTIPLIER_EN (0u) #define CY_CAPSENSE_RAWCOUNT_FILTER_EN (0u) +#define CY_CAPSENSE_RC_ALP_FILTER_EN (0u) #define CY_CAPSENSE_REGULAR_RC_IIR_FILTER_EN (0u) #define CY_CAPSENSE_REGULAR_RC_MEDIAN_FILTER_EN (0u) #define CY_CAPSENSE_REGULAR_RC_AVERAGE_FILTER_EN (0u) -#define CY_CAPSENSE_REGULAR_RC_FILTER_EN (CY_CAPSENSE_REGULAR_RC_IIR_FILTER_EN || CY_CAPSENSE_REGULAR_RC_MEDIAN_FILTER_EN || CY_CAPSENSE_REGULAR_RC_AVERAGE_FILTER_EN) +#define CY_CAPSENSE_REGULAR_RC_ALP_FILTER_EN (0u) +#define CY_CAPSENSE_REGULAR_RC_FILTER_EN (CY_CAPSENSE_REGULAR_RC_IIR_FILTER_EN | CY_CAPSENSE_REGULAR_RC_MEDIAN_FILTER_EN | CY_CAPSENSE_REGULAR_RC_AVERAGE_FILTER_EN | CY_CAPSENSE_REGULAR_RC_ALP_FILTER_EN) #define CY_CAPSENSE_PROX_RC_IIR_FILTER_EN (0u) #define CY_CAPSENSE_PROX_RC_MEDIAN_FILTER_EN (0u) #define CY_CAPSENSE_PROX_RC_AVERAGE_FILTER_EN (0u) -#define CY_CAPSENSE_PROX_RC_FILTER_EN (CY_CAPSENSE_PROX_RC_IIR_FILTER_EN || CY_CAPSENSE_PROX_RC_MEDIAN_FILTER_EN || CY_CAPSENSE_PROX_RC_AVERAGE_FILTER_EN) +#define CY_CAPSENSE_PROX_RC_ALP_FILTER_EN (0u) +#define CY_CAPSENSE_PROX_RC_FILTER_EN (CY_CAPSENSE_PROX_RC_IIR_FILTER_EN | CY_CAPSENSE_PROX_RC_MEDIAN_FILTER_EN | CY_CAPSENSE_PROX_RC_AVERAGE_FILTER_EN | CY_CAPSENSE_PROX_RC_ALP_FILTER_EN) #define CY_CAPSENSE_POSITION_FILTER_EN (0u) #define CY_CAPSENSE_CSD_POSITION_FILTER_EN (0u) #define CY_CAPSENSE_CSX_POSITION_FILTER_EN (0u) @@ -98,7 +102,7 @@ #define CY_CAPSENSE_POS_JITTER_FILTER_EN (0u) /* Widgets */ -#define CY_CAPSENSE_CSD_BUTTON_EN (0u) +#define CY_CAPSENSE_CSD_BUTTON_EN (1u) #define CY_CAPSENSE_CSD_MATRIX_EN (0u) #define CY_CAPSENSE_CSD_SLIDER_EN (1u) #define CY_CAPSENSE_CSD_TOUCHPAD_EN (0u) @@ -120,7 +124,7 @@ #define CY_CAPSENSE_GANGED_SNS_EN (0u) #define CY_CAPSENSE_CSD_GANGED_SNS_EN (0u) #define CY_CAPSENSE_CSX_GANGED_SNS_EN (0u) -#define CY_CAPSENSE_BUTTON_EN (0u) +#define CY_CAPSENSE_BUTTON_EN (1u) #define CY_CAPSENSE_MATRIX_EN (0u) #define CY_CAPSENSE_SLIDER_EN (1u) #define CY_CAPSENSE_LINEAR_SLIDER_EN (1u) diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense_tuner_regmap.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense_tuner_regmap.h index 78eb6a5f5b..dee4235023 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense_tuner_regmap.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_capsense_tuner_regmap.h @@ -4,10 +4,10 @@ * Description: * CAPSENSE Tuner register map configuration. * This file should not be modified. It was automatically generated by -* CAPSENSE Configurator 5.0.0.2684 +* CAPSENSE Configurator 6.10.0.3796 * ******************************************************************************** -* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) +* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) * or an affiliate of Cypress Semiconductor Corporation. * SPDX-License-Identifier: Apache-2.0 * @@ -82,208 +82,424 @@ #define CY_CAPSENSE_TUNER_TUNER_CNT_OFFSET (38u) #define CY_CAPSENSE_TUNER_TUNER_CNT_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_CP_OFFSET (40u) +#define CY_CAPSENSE_TUNER_BUTTON0_FINGER_CP_OFFSET (40u) +#define CY_CAPSENSE_TUNER_BUTTON0_FINGER_CP_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SIGPFC_OFFSET (42u) +#define CY_CAPSENSE_TUNER_BUTTON0_SIGPFC_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_RESOLUTION_OFFSET (44u) +#define CY_CAPSENSE_TUNER_BUTTON0_RESOLUTION_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_MAX_RAW_COUNT_OFFSET (46u) +#define CY_CAPSENSE_TUNER_BUTTON0_MAX_RAW_COUNT_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_FINGER_TH_OFFSET (48u) +#define CY_CAPSENSE_TUNER_BUTTON0_FINGER_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_PROX_TOUCH_TH_OFFSET (50u) +#define CY_CAPSENSE_TUNER_BUTTON0_PROX_TOUCH_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_LOW_BSLN_RST_OFFSET (52u) +#define CY_CAPSENSE_TUNER_BUTTON0_LOW_BSLN_RST_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS_CLK_OFFSET (54u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS_CLK_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_SNS_CLK_OFFSET (56u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_SNS_CLK_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_GESTURE_DETECTED_OFFSET (58u) +#define CY_CAPSENSE_TUNER_BUTTON0_GESTURE_DETECTED_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_GESTURE_DIRECTION_OFFSET (60u) +#define CY_CAPSENSE_TUNER_BUTTON0_GESTURE_DIRECTION_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_XDELTA_OFFSET (62u) +#define CY_CAPSENSE_TUNER_BUTTON0_XDELTA_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_YDELTA_OFFSET (64u) +#define CY_CAPSENSE_TUNER_BUTTON0_YDELTA_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_NOISE_TH_OFFSET (66u) +#define CY_CAPSENSE_TUNER_BUTTON0_NOISE_TH_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_NNOISE_TH_OFFSET (67u) +#define CY_CAPSENSE_TUNER_BUTTON0_NNOISE_TH_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_HYSTERESIS_OFFSET (68u) +#define CY_CAPSENSE_TUNER_BUTTON0_HYSTERESIS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ON_DEBOUNCE_OFFSET (69u) +#define CY_CAPSENSE_TUNER_BUTTON0_ON_DEBOUNCE_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS_CLK_SOURCE_OFFSET (70u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS_CLK_SOURCE_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD0_OFFSET (71u) +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD1_OFFSET (72u) +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD1_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD2_OFFSET (73u) +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD2_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_GAIN_INDEX_OFFSET (74u) +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_GAIN_INDEX_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD0_OFFSET (75u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD1_OFFSET (76u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD1_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD2_OFFSET (77u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD2_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_REGULAR_IIR_BL_N_OFFSET (78u) +#define CY_CAPSENSE_TUNER_BUTTON0_REGULAR_IIR_BL_N_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_STATUS_OFFSET (79u) +#define CY_CAPSENSE_TUNER_BUTTON0_STATUS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_PTRPOSITION_OFFSET (80u) +#define CY_CAPSENSE_TUNER_BUTTON0_PTRPOSITION_SIZE (4u) + +#define CY_CAPSENSE_TUNER_BUTTON0_NUM_POSITIONS_OFFSET (84u) +#define CY_CAPSENSE_TUNER_BUTTON0_NUM_POSITIONS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_FINGER_CP_OFFSET (88u) +#define CY_CAPSENSE_TUNER_BUTTON1_FINGER_CP_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SIGPFC_OFFSET (90u) +#define CY_CAPSENSE_TUNER_BUTTON1_SIGPFC_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_RESOLUTION_OFFSET (92u) +#define CY_CAPSENSE_TUNER_BUTTON1_RESOLUTION_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_MAX_RAW_COUNT_OFFSET (94u) +#define CY_CAPSENSE_TUNER_BUTTON1_MAX_RAW_COUNT_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_FINGER_TH_OFFSET (96u) +#define CY_CAPSENSE_TUNER_BUTTON1_FINGER_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_PROX_TOUCH_TH_OFFSET (98u) +#define CY_CAPSENSE_TUNER_BUTTON1_PROX_TOUCH_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_LOW_BSLN_RST_OFFSET (100u) +#define CY_CAPSENSE_TUNER_BUTTON1_LOW_BSLN_RST_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS_CLK_OFFSET (102u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS_CLK_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_SNS_CLK_OFFSET (104u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_SNS_CLK_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_GESTURE_DETECTED_OFFSET (106u) +#define CY_CAPSENSE_TUNER_BUTTON1_GESTURE_DETECTED_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_GESTURE_DIRECTION_OFFSET (108u) +#define CY_CAPSENSE_TUNER_BUTTON1_GESTURE_DIRECTION_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_XDELTA_OFFSET (110u) +#define CY_CAPSENSE_TUNER_BUTTON1_XDELTA_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_YDELTA_OFFSET (112u) +#define CY_CAPSENSE_TUNER_BUTTON1_YDELTA_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_NOISE_TH_OFFSET (114u) +#define CY_CAPSENSE_TUNER_BUTTON1_NOISE_TH_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_NNOISE_TH_OFFSET (115u) +#define CY_CAPSENSE_TUNER_BUTTON1_NNOISE_TH_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_HYSTERESIS_OFFSET (116u) +#define CY_CAPSENSE_TUNER_BUTTON1_HYSTERESIS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ON_DEBOUNCE_OFFSET (117u) +#define CY_CAPSENSE_TUNER_BUTTON1_ON_DEBOUNCE_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS_CLK_SOURCE_OFFSET (118u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS_CLK_SOURCE_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD0_OFFSET (119u) +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD1_OFFSET (120u) +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD1_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD2_OFFSET (121u) +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD2_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_GAIN_INDEX_OFFSET (122u) +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_GAIN_INDEX_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD0_OFFSET (123u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD1_OFFSET (124u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD1_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD2_OFFSET (125u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD2_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_REGULAR_IIR_BL_N_OFFSET (126u) +#define CY_CAPSENSE_TUNER_BUTTON1_REGULAR_IIR_BL_N_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_STATUS_OFFSET (127u) +#define CY_CAPSENSE_TUNER_BUTTON1_STATUS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_PTRPOSITION_OFFSET (128u) +#define CY_CAPSENSE_TUNER_BUTTON1_PTRPOSITION_SIZE (4u) + +#define CY_CAPSENSE_TUNER_BUTTON1_NUM_POSITIONS_OFFSET (132u) +#define CY_CAPSENSE_TUNER_BUTTON1_NUM_POSITIONS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_CP_OFFSET (136u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_CP_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SIGPFC_OFFSET (42u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SIGPFC_OFFSET (138u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SIGPFC_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_RESOLUTION_OFFSET (44u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_RESOLUTION_OFFSET (140u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_RESOLUTION_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_MAX_RAW_COUNT_OFFSET (46u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_MAX_RAW_COUNT_OFFSET (142u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_MAX_RAW_COUNT_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_TH_OFFSET (48u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_TH_OFFSET (144u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_TH_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_PROX_TOUCH_TH_OFFSET (50u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_PROX_TOUCH_TH_OFFSET (146u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_PROX_TOUCH_TH_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_LOW_BSLN_RST_OFFSET (52u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_LOW_BSLN_RST_OFFSET (148u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_LOW_BSLN_RST_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_OFFSET (54u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_OFFSET (150u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_SNS_CLK_OFFSET (56u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_SNS_CLK_OFFSET (152u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_SNS_CLK_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DETECTED_OFFSET (58u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DETECTED_OFFSET (154u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DETECTED_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DIRECTION_OFFSET (60u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DIRECTION_OFFSET (156u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DIRECTION_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_XDELTA_OFFSET (62u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_XDELTA_OFFSET (158u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_XDELTA_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_YDELTA_OFFSET (64u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_YDELTA_OFFSET (160u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_YDELTA_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NOISE_TH_OFFSET (66u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NOISE_TH_OFFSET (162u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_NOISE_TH_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NNOISE_TH_OFFSET (67u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NNOISE_TH_OFFSET (163u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_NNOISE_TH_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_HYSTERESIS_OFFSET (68u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_HYSTERESIS_OFFSET (164u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_HYSTERESIS_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ON_DEBOUNCE_OFFSET (69u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ON_DEBOUNCE_OFFSET (165u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ON_DEBOUNCE_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_SOURCE_OFFSET (70u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_SOURCE_OFFSET (166u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_SOURCE_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD0_OFFSET (71u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD0_OFFSET (167u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD1_OFFSET (72u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD1_OFFSET (168u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD1_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD2_OFFSET (73u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD2_OFFSET (169u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD2_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_GAIN_INDEX_OFFSET (74u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_GAIN_INDEX_OFFSET (170u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_GAIN_INDEX_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD0_OFFSET (75u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD0_OFFSET (171u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD1_OFFSET (76u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD1_OFFSET (172u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD1_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD2_OFFSET (77u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD2_OFFSET (173u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD2_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_REGULAR_IIR_BL_N_OFFSET (78u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_REGULAR_IIR_BL_N_OFFSET (174u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_REGULAR_IIR_BL_N_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_STATUS_OFFSET (79u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_STATUS_OFFSET (175u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_STATUS_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_PTRPOSITION_OFFSET (80u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_PTRPOSITION_OFFSET (176u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_PTRPOSITION_SIZE (4u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NUM_POSITIONS_OFFSET (84u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NUM_POSITIONS_OFFSET (180u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_NUM_POSITIONS_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_RAW0_OFFSET (88u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_RAW0_OFFSET (184u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_RAW0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_BSLN0_OFFSET (186u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_BSLN0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_DIFF0_OFFSET (188u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_DIFF0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_STATUS0_OFFSET (190u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_STATUS0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (191u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_IDAC0_OFFSET (192u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_IDAC0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_BSLN_EXT0_OFFSET (193u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_BSLN_EXT0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_RAW0_OFFSET (194u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_RAW0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_BSLN0_OFFSET (196u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_BSLN0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_DIFF0_OFFSET (198u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_DIFF0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_STATUS0_OFFSET (200u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_STATUS0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_OFFSET (201u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_IDAC0_OFFSET (202u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_IDAC0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_BSLN_EXT0_OFFSET (203u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_BSLN_EXT0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_RAW0_OFFSET (204u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN0_OFFSET (90u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN0_OFFSET (206u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_DIFF0_OFFSET (92u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_DIFF0_OFFSET (208u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_STATUS0_OFFSET (94u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_STATUS0_OFFSET (210u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (95u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (211u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_IDAC0_OFFSET (96u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_IDAC0_OFFSET (212u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN_EXT0_OFFSET (97u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN_EXT0_OFFSET (213u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_RAW0_OFFSET (98u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_RAW0_OFFSET (214u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN0_OFFSET (100u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN0_OFFSET (216u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_DIFF0_OFFSET (102u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_DIFF0_OFFSET (218u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_STATUS0_OFFSET (104u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_STATUS0_OFFSET (220u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_OFFSET (105u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_OFFSET (221u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_IDAC0_OFFSET (106u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_IDAC0_OFFSET (222u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN_EXT0_OFFSET (107u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN_EXT0_OFFSET (223u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_RAW0_OFFSET (108u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_RAW0_OFFSET (224u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN0_OFFSET (110u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN0_OFFSET (226u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_DIFF0_OFFSET (112u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_DIFF0_OFFSET (228u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_STATUS0_OFFSET (114u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_STATUS0_OFFSET (230u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_OFFSET (115u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_OFFSET (231u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_IDAC0_OFFSET (116u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_IDAC0_OFFSET (232u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN_EXT0_OFFSET (117u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN_EXT0_OFFSET (233u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_RAW0_OFFSET (118u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_RAW0_OFFSET (234u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN0_OFFSET (120u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN0_OFFSET (236u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_DIFF0_OFFSET (122u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_DIFF0_OFFSET (238u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_STATUS0_OFFSET (124u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_STATUS0_OFFSET (240u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_OFFSET (125u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_OFFSET (241u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_IDAC0_OFFSET (126u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_IDAC0_OFFSET (242u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN_EXT0_OFFSET (127u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN_EXT0_OFFSET (243u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_RAW0_OFFSET (128u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_RAW0_OFFSET (244u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN0_OFFSET (130u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN0_OFFSET (246u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_DIFF0_OFFSET (132u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_DIFF0_OFFSET (248u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_STATUS0_OFFSET (134u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_STATUS0_OFFSET (250u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_OFFSET (135u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_OFFSET (251u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_IDAC0_OFFSET (136u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_IDAC0_OFFSET (252u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN_EXT0_OFFSET (137u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN_EXT0_OFFSET (253u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_X0_OFFSET (138u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_X0_OFFSET (254u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_X0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_Y0_OFFSET (140u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_Y0_OFFSET (256u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_Y0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_Z0_OFFSET (142u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_Z0_OFFSET (258u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_Z0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ID0_OFFSET (144u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ID0_OFFSET (260u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ID0_SIZE (2u) #else /* CY_CAPSENSE_TUNER_MW_VERSION >= 300 */ @@ -320,211 +536,433 @@ #define CY_CAPSENSE_TUNER_TUNER_CNT_OFFSET (22u) #define CY_CAPSENSE_TUNER_TUNER_CNT_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_CP_OFFSET (24u) +#define CY_CAPSENSE_TUNER_BUTTON0_FINGER_CP_OFFSET (24u) +#define CY_CAPSENSE_TUNER_BUTTON0_FINGER_CP_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SIGPFC_OFFSET (26u) +#define CY_CAPSENSE_TUNER_BUTTON0_SIGPFC_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_RESOLUTION_OFFSET (28u) +#define CY_CAPSENSE_TUNER_BUTTON0_RESOLUTION_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_MAX_RAW_COUNT_OFFSET (30u) +#define CY_CAPSENSE_TUNER_BUTTON0_MAX_RAW_COUNT_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_MAX_RAW_COUNT_OFFSET (32u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_MAX_RAW_COUNT_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_FINGER_TH_OFFSET (34u) +#define CY_CAPSENSE_TUNER_BUTTON0_FINGER_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_PROX_TOUCH_TH_OFFSET (36u) +#define CY_CAPSENSE_TUNER_BUTTON0_PROX_TOUCH_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_LOW_BSLN_RST_OFFSET (38u) +#define CY_CAPSENSE_TUNER_BUTTON0_LOW_BSLN_RST_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS_CLK_OFFSET (40u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS_CLK_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_SNS_CLK_OFFSET (42u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_SNS_CLK_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_GESTURE_DETECTED_OFFSET (44u) +#define CY_CAPSENSE_TUNER_BUTTON0_GESTURE_DETECTED_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_GESTURE_DIRECTION_OFFSET (46u) +#define CY_CAPSENSE_TUNER_BUTTON0_GESTURE_DIRECTION_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_XDELTA_OFFSET (48u) +#define CY_CAPSENSE_TUNER_BUTTON0_XDELTA_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_YDELTA_OFFSET (50u) +#define CY_CAPSENSE_TUNER_BUTTON0_YDELTA_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_NOISE_TH_OFFSET (52u) +#define CY_CAPSENSE_TUNER_BUTTON0_NOISE_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_NNOISE_TH_OFFSET (54u) +#define CY_CAPSENSE_TUNER_BUTTON0_NNOISE_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_HYSTERESIS_OFFSET (56u) +#define CY_CAPSENSE_TUNER_BUTTON0_HYSTERESIS_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ON_DEBOUNCE_OFFSET (58u) +#define CY_CAPSENSE_TUNER_BUTTON0_ON_DEBOUNCE_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS_CLK_SOURCE_OFFSET (59u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS_CLK_SOURCE_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD0_OFFSET (60u) +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD1_OFFSET (61u) +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD1_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD2_OFFSET (62u) +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_MOD2_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_GAIN_INDEX_OFFSET (63u) +#define CY_CAPSENSE_TUNER_BUTTON0_IDAC_GAIN_INDEX_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD0_OFFSET (64u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD1_OFFSET (65u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD1_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD2_OFFSET (66u) +#define CY_CAPSENSE_TUNER_BUTTON0_ROW_IDAC_MOD2_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_REGULAR_IIR_BL_N_OFFSET (67u) +#define CY_CAPSENSE_TUNER_BUTTON0_REGULAR_IIR_BL_N_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_STATUS_OFFSET (68u) +#define CY_CAPSENSE_TUNER_BUTTON0_STATUS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_PTRPOSITION_OFFSET (72u) +#define CY_CAPSENSE_TUNER_BUTTON0_PTRPOSITION_SIZE (4u) + +#define CY_CAPSENSE_TUNER_BUTTON0_NUM_POSITIONS_OFFSET (76u) +#define CY_CAPSENSE_TUNER_BUTTON0_NUM_POSITIONS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_FINGER_CP_OFFSET (80u) +#define CY_CAPSENSE_TUNER_BUTTON1_FINGER_CP_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SIGPFC_OFFSET (82u) +#define CY_CAPSENSE_TUNER_BUTTON1_SIGPFC_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_RESOLUTION_OFFSET (84u) +#define CY_CAPSENSE_TUNER_BUTTON1_RESOLUTION_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_MAX_RAW_COUNT_OFFSET (86u) +#define CY_CAPSENSE_TUNER_BUTTON1_MAX_RAW_COUNT_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_MAX_RAW_COUNT_OFFSET (88u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_MAX_RAW_COUNT_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_FINGER_TH_OFFSET (90u) +#define CY_CAPSENSE_TUNER_BUTTON1_FINGER_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_PROX_TOUCH_TH_OFFSET (92u) +#define CY_CAPSENSE_TUNER_BUTTON1_PROX_TOUCH_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_LOW_BSLN_RST_OFFSET (94u) +#define CY_CAPSENSE_TUNER_BUTTON1_LOW_BSLN_RST_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS_CLK_OFFSET (96u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS_CLK_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_SNS_CLK_OFFSET (98u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_SNS_CLK_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_GESTURE_DETECTED_OFFSET (100u) +#define CY_CAPSENSE_TUNER_BUTTON1_GESTURE_DETECTED_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_GESTURE_DIRECTION_OFFSET (102u) +#define CY_CAPSENSE_TUNER_BUTTON1_GESTURE_DIRECTION_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_XDELTA_OFFSET (104u) +#define CY_CAPSENSE_TUNER_BUTTON1_XDELTA_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_YDELTA_OFFSET (106u) +#define CY_CAPSENSE_TUNER_BUTTON1_YDELTA_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_NOISE_TH_OFFSET (108u) +#define CY_CAPSENSE_TUNER_BUTTON1_NOISE_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_NNOISE_TH_OFFSET (110u) +#define CY_CAPSENSE_TUNER_BUTTON1_NNOISE_TH_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_HYSTERESIS_OFFSET (112u) +#define CY_CAPSENSE_TUNER_BUTTON1_HYSTERESIS_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ON_DEBOUNCE_OFFSET (114u) +#define CY_CAPSENSE_TUNER_BUTTON1_ON_DEBOUNCE_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS_CLK_SOURCE_OFFSET (115u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS_CLK_SOURCE_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD0_OFFSET (116u) +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD1_OFFSET (117u) +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD1_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD2_OFFSET (118u) +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_MOD2_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_GAIN_INDEX_OFFSET (119u) +#define CY_CAPSENSE_TUNER_BUTTON1_IDAC_GAIN_INDEX_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD0_OFFSET (120u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD1_OFFSET (121u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD1_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD2_OFFSET (122u) +#define CY_CAPSENSE_TUNER_BUTTON1_ROW_IDAC_MOD2_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_REGULAR_IIR_BL_N_OFFSET (123u) +#define CY_CAPSENSE_TUNER_BUTTON1_REGULAR_IIR_BL_N_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_STATUS_OFFSET (124u) +#define CY_CAPSENSE_TUNER_BUTTON1_STATUS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_PTRPOSITION_OFFSET (128u) +#define CY_CAPSENSE_TUNER_BUTTON1_PTRPOSITION_SIZE (4u) + +#define CY_CAPSENSE_TUNER_BUTTON1_NUM_POSITIONS_OFFSET (132u) +#define CY_CAPSENSE_TUNER_BUTTON1_NUM_POSITIONS_SIZE (1u) + +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_CP_OFFSET (136u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_CP_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SIGPFC_OFFSET (26u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SIGPFC_OFFSET (138u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SIGPFC_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_RESOLUTION_OFFSET (28u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_RESOLUTION_OFFSET (140u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_RESOLUTION_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_MAX_RAW_COUNT_OFFSET (30u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_MAX_RAW_COUNT_OFFSET (142u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_MAX_RAW_COUNT_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_MAX_RAW_COUNT_OFFSET (32u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_MAX_RAW_COUNT_OFFSET (144u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_MAX_RAW_COUNT_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_TH_OFFSET (34u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_TH_OFFSET (146u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_FINGER_TH_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_PROX_TOUCH_TH_OFFSET (36u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_PROX_TOUCH_TH_OFFSET (148u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_PROX_TOUCH_TH_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_LOW_BSLN_RST_OFFSET (38u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_LOW_BSLN_RST_OFFSET (150u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_LOW_BSLN_RST_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_OFFSET (40u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_OFFSET (152u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_SNS_CLK_OFFSET (42u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_SNS_CLK_OFFSET (154u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_SNS_CLK_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DETECTED_OFFSET (44u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DETECTED_OFFSET (156u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DETECTED_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DIRECTION_OFFSET (46u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DIRECTION_OFFSET (158u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_GESTURE_DIRECTION_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_XDELTA_OFFSET (48u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_XDELTA_OFFSET (160u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_XDELTA_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_YDELTA_OFFSET (50u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_YDELTA_OFFSET (162u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_YDELTA_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NOISE_TH_OFFSET (52u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NOISE_TH_OFFSET (164u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_NOISE_TH_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NNOISE_TH_OFFSET (54u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NNOISE_TH_OFFSET (166u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_NNOISE_TH_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_HYSTERESIS_OFFSET (56u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_HYSTERESIS_OFFSET (168u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_HYSTERESIS_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ON_DEBOUNCE_OFFSET (58u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ON_DEBOUNCE_OFFSET (170u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ON_DEBOUNCE_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_SOURCE_OFFSET (59u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_SOURCE_OFFSET (171u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS_CLK_SOURCE_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD0_OFFSET (60u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD0_OFFSET (172u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD1_OFFSET (61u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD1_OFFSET (173u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD1_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD2_OFFSET (62u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD2_OFFSET (174u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_MOD2_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_GAIN_INDEX_OFFSET (63u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_GAIN_INDEX_OFFSET (175u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_IDAC_GAIN_INDEX_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD0_OFFSET (64u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD0_OFFSET (176u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD1_OFFSET (65u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD1_OFFSET (177u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD1_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD2_OFFSET (66u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD2_OFFSET (178u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ROW_IDAC_MOD2_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_REGULAR_IIR_BL_N_OFFSET (67u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_REGULAR_IIR_BL_N_OFFSET (179u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_REGULAR_IIR_BL_N_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_STATUS_OFFSET (68u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_STATUS_OFFSET (180u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_STATUS_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_PTRPOSITION_OFFSET (72u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_PTRPOSITION_OFFSET (184u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_PTRPOSITION_SIZE (4u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NUM_POSITIONS_OFFSET (76u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_NUM_POSITIONS_OFFSET (188u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_NUM_POSITIONS_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_RAW0_OFFSET (80u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_RAW0_OFFSET (192u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_RAW0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_BSLN0_OFFSET (194u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_BSLN0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_DIFF0_OFFSET (196u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_DIFF0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_STATUS0_OFFSET (198u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_STATUS0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (199u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_IDAC0_OFFSET (200u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_IDAC0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_BSLN_EXT0_OFFSET (201u) +#define CY_CAPSENSE_TUNER_BUTTON0_SNS0_BSLN_EXT0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_RAW0_OFFSET (202u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_RAW0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_BSLN0_OFFSET (204u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_BSLN0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_DIFF0_OFFSET (206u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_DIFF0_SIZE (2u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_STATUS0_OFFSET (208u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_STATUS0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_OFFSET (209u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_IDAC0_OFFSET (210u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_IDAC0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_BSLN_EXT0_OFFSET (211u) +#define CY_CAPSENSE_TUNER_BUTTON1_SNS0_BSLN_EXT0_SIZE (1u) + +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_RAW0_OFFSET (212u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN0_OFFSET (82u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN0_OFFSET (214u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_DIFF0_OFFSET (84u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_DIFF0_OFFSET (216u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_STATUS0_OFFSET (86u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_STATUS0_OFFSET (218u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (87u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_OFFSET (219u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_IDAC0_OFFSET (88u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_IDAC0_OFFSET (220u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN_EXT0_OFFSET (89u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN_EXT0_OFFSET (221u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS0_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_RAW0_OFFSET (90u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_RAW0_OFFSET (222u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN0_OFFSET (92u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN0_OFFSET (224u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_DIFF0_OFFSET (94u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_DIFF0_OFFSET (226u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_STATUS0_OFFSET (96u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_STATUS0_OFFSET (228u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_OFFSET (97u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_OFFSET (229u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_IDAC0_OFFSET (98u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_IDAC0_OFFSET (230u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN_EXT0_OFFSET (99u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN_EXT0_OFFSET (231u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS1_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_RAW0_OFFSET (100u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_RAW0_OFFSET (232u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN0_OFFSET (102u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN0_OFFSET (234u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_DIFF0_OFFSET (104u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_DIFF0_OFFSET (236u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_STATUS0_OFFSET (106u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_STATUS0_OFFSET (238u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_OFFSET (107u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_OFFSET (239u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_IDAC0_OFFSET (108u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_IDAC0_OFFSET (240u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN_EXT0_OFFSET (109u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN_EXT0_OFFSET (241u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS2_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_RAW0_OFFSET (110u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_RAW0_OFFSET (242u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN0_OFFSET (112u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN0_OFFSET (244u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_DIFF0_OFFSET (114u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_DIFF0_OFFSET (246u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_STATUS0_OFFSET (116u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_STATUS0_OFFSET (248u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_OFFSET (117u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_OFFSET (249u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_IDAC0_OFFSET (118u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_IDAC0_OFFSET (250u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN_EXT0_OFFSET (119u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN_EXT0_OFFSET (251u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS3_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_RAW0_OFFSET (120u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_RAW0_OFFSET (252u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_RAW0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN0_OFFSET (122u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN0_OFFSET (254u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_DIFF0_OFFSET (124u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_DIFF0_OFFSET (256u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_DIFF0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_STATUS0_OFFSET (126u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_STATUS0_OFFSET (258u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_STATUS0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_OFFSET (127u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_OFFSET (259u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_NEG_BSLN_RST_CNT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_IDAC0_OFFSET (128u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_IDAC0_OFFSET (260u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_IDAC0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN_EXT0_OFFSET (129u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN_EXT0_OFFSET (261u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_SNS4_BSLN_EXT0_SIZE (1u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_X0_OFFSET (130u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_X0_OFFSET (262u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_X0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_Y0_OFFSET (132u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_Y0_OFFSET (264u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_Y0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_Z0_OFFSET (134u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_Z0_OFFSET (266u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_Z0_SIZE (2u) -#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ID0_OFFSET (136u) +#define CY_CAPSENSE_TUNER_LINEARSLIDER0_ID0_OFFSET (268u) #define CY_CAPSENSE_TUNER_LINEARSLIDER0_ID0_SIZE (2u) #endif diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_clocks.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_clocks.c index 12af723789..f520e88f6a 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_clocks.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_clocks.c @@ -5,8 +5,8 @@ * Clock configuration * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -29,25 +29,45 @@ #include "cycfg_clocks.h" #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CSD_CLK_DIV_obj = + const cyhal_resource_inst_t peri_0_div_16_15_obj = + { + .type = CYHAL_RSC_CLOCK, + .block_num = peri_0_div_16_15_HW, + .channel_num = peri_0_div_16_15_NUM, + }; + const cyhal_resource_inst_t CYBSP_CSD_CLK_DIV_obj = { .type = CYHAL_RSC_CLOCK, .block_num = CYBSP_CSD_CLK_DIV_HW, .channel_num = CYBSP_CSD_CLK_DIV_NUM, }; + const cyhal_resource_inst_t CYBSP_TRACE_CLK_DIV_obj = + { + .type = CYHAL_RSC_CLOCK, + .block_num = CYBSP_TRACE_CLK_DIV_HW, + .channel_num = CYBSP_TRACE_CLK_DIV_NUM, + }; #endif //defined (CY_USING_HAL) void init_cycfg_clocks(void) { + Cy_SysClk_PeriphDisableDivider(CY_SYSCLK_DIV_16_BIT, 15U); + Cy_SysClk_PeriphSetDivider(CY_SYSCLK_DIV_16_BIT, 15U, 0U); + Cy_SysClk_PeriphEnableDivider(CY_SYSCLK_DIV_16_BIT, 15U); Cy_SysClk_PeriphDisableDivider(CY_SYSCLK_DIV_8_BIT, 0U); Cy_SysClk_PeriphSetDivider(CY_SYSCLK_DIV_8_BIT, 0U, 0U); Cy_SysClk_PeriphEnableDivider(CY_SYSCLK_DIV_8_BIT, 0U); + Cy_SysClk_PeriphDisableDivider(CY_SYSCLK_DIV_8_BIT, 7U); + Cy_SysClk_PeriphSetDivider(CY_SYSCLK_DIV_8_BIT, 7U, 0U); + Cy_SysClk_PeriphEnableDivider(CY_SYSCLK_DIV_8_BIT, 7U); } void reserve_cycfg_clocks(void) { #if defined (CY_USING_HAL) + cyhal_hwmgr_reserve(&peri_0_div_16_15_obj); cyhal_hwmgr_reserve(&CYBSP_CSD_CLK_DIV_obj); + cyhal_hwmgr_reserve(&CYBSP_TRACE_CLK_DIV_obj); #endif //defined (CY_USING_HAL) } diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_clocks.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_clocks.h index 79ae1d7eed..dcbdbd4008 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_clocks.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_clocks.h @@ -5,8 +5,8 @@ * Clock configuration * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -39,16 +39,24 @@ extern "C" { #endif +#define peri_0_div_16_15_ENABLED 1U +#define peri_0_div_16_15_HW CY_SYSCLK_DIV_16_BIT +#define peri_0_div_16_15_NUM 15U #define CYBSP_CSD_CLK_DIV_ENABLED 1U #define CYBSP_CS_CLK_DIV_ENABLED CYBSP_CSD_CLK_DIV_ENABLED #define CYBSP_CSD_CLK_DIV_HW CY_SYSCLK_DIV_8_BIT #define CYBSP_CS_CLK_DIV_HW CYBSP_CSD_CLK_DIV_HW #define CYBSP_CSD_CLK_DIV_NUM 0U #define CYBSP_CS_CLK_DIV_NUM CYBSP_CSD_CLK_DIV_NUM +#define CYBSP_TRACE_CLK_DIV_ENABLED 1U +#define CYBSP_TRACE_CLK_DIV_HW CY_SYSCLK_DIV_8_BIT +#define CYBSP_TRACE_CLK_DIV_NUM 7U #if defined (CY_USING_HAL) + extern const cyhal_resource_inst_t peri_0_div_16_15_obj; extern const cyhal_resource_inst_t CYBSP_CSD_CLK_DIV_obj; #define CYBSP_CS_CLK_DIV_obj CYBSP_CSD_CLK_DIV_obj + extern const cyhal_resource_inst_t CYBSP_TRACE_CLK_DIV_obj; #endif //defined (CY_USING_HAL) void init_cycfg_clocks(void); diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_connectivity_bt.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_connectivity_bt.c new file mode 100644 index 0000000000..572e7756f6 --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_connectivity_bt.c @@ -0,0 +1,30 @@ +/******************************************************************************* +* File Name: cycfg_connectivity_bt.c +* +* Description: +* Connectivity BT configuration +* This file was automatically generated and should not be modified. +* Configurator Backend 3.0.0 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 +* +******************************************************************************** +* Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or +* an affiliate of Cypress Semiconductor Corporation. +* SPDX-License-Identifier: Apache-2.0 +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +********************************************************************************/ + +#include "cycfg_connectivity_bt.h" + diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_connectivity_bt.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_connectivity_bt.h new file mode 100644 index 0000000000..1f28034361 --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_connectivity_bt.h @@ -0,0 +1,54 @@ +/******************************************************************************* +* File Name: cycfg_connectivity_bt.h +* +* Description: +* Connectivity BT configuration +* This file was automatically generated and should not be modified. +* Configurator Backend 3.0.0 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 +* +******************************************************************************** +* Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or +* an affiliate of Cypress Semiconductor Corporation. +* SPDX-License-Identifier: Apache-2.0 +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +********************************************************************************/ + +#if !defined(CYCFG_CONNECTIVITY_BT_H) +#define CYCFG_CONNECTIVITY_BT_H + +#include "cycfg_notices.h" +#include "cycfg_pins.h" + +#if defined(__cplusplus) +extern "C" { +#endif + +#define bt_0_power_0_ENABLED (0) +#define CYCFG_BT_LP_ENABLED 0 +#define CYCFG_BT_WAKE_EVENT_ACTIVE_LOW (0) +#define CYCFG_BT_WAKE_EVENT_ACTIVE_HIGH (1) +#define CYCFG_BT_HOST_WAKE_GPIO CYHAL_NC_PIN_VALUE +#define CYCFG_BT_HOST_WAKE_IRQ_EVENT 0 +#define CYCFG_BT_DEV_WAKE_GPIO CYHAL_NC_PIN_VALUE +#define CYCFG_BT_DEV_WAKE_POLARITY 0 + + +#if defined(__cplusplus) +} +#endif + + +#endif /* CYCFG_CONNECTIVITY_BT_H */ diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_notices.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_notices.h index ae3eeefaae..89c82da2f2 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_notices.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_notices.h @@ -6,8 +6,8 @@ * design. * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -38,7 +38,10 @@ #ifdef CY_SUPPORTS_COMPLETE_DEVICE_VALIDATION #ifndef CY8C624ALQI_S2D42 - #error "Unexpected MPN; expected DEVICE:=CY8C624ALQI-S2D42. There may be an inconsistency between the *.modus file and the makefile target configuration device sets." + #error "Unexpected MPN; expected DEVICE:=CY8C624ALQI-S2D42, ADDITIONAL_DEVICES:=CYW43012C0WKWBG. There may be an inconsistency between the *.modus file and the makefile target configuration device sets." +#endif +#ifndef CYW43012C0WKWBG + #error "Unexpected MPN; expected DEVICE:=CY8C624ALQI-S2D42, ADDITIONAL_DEVICES:=CYW43012C0WKWBG. There may be an inconsistency between the *.modus file and the makefile target configuration device sets." #endif #endif diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_peripherals.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_peripherals.c index ab2c402ab1..78bbb412f2 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_peripherals.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_peripherals.c @@ -5,8 +5,8 @@ * Peripheral Hardware Block configuration * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -28,7 +28,7 @@ #include "cycfg_peripherals.h" -cy_stc_csd_context_t cy_csd_0_context = +cy_stc_csd_context_t cy_csd_0_context = { .lockKey = CY_CSD_NONE_KEY, }; diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_peripherals.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_peripherals.h index e8572c8c81..ea86033e0a 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_peripherals.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_peripherals.h @@ -5,8 +5,8 @@ * Peripheral Hardware Block configuration * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -45,17 +45,21 @@ extern "C" { #define CY_CAPSENSE_PERI_DIV_TYPE CY_SYSCLK_DIV_8_BIT #define CY_CAPSENSE_PERI_DIV_INDEX 0u #define Cmod_PORT GPIO_PRT7 -#define LinearSlider0_Sns0_PORT GPIO_PRT7 +#define Button0_Sns0_PORT GPIO_PRT7 +#define Button1_Sns0_PORT GPIO_PRT9 +#define LinearSlider0_Sns0_PORT GPIO_PRT9 #define LinearSlider0_Sns1_PORT GPIO_PRT9 #define LinearSlider0_Sns2_PORT GPIO_PRT9 #define LinearSlider0_Sns3_PORT GPIO_PRT9 #define LinearSlider0_Sns4_PORT GPIO_PRT9 #define Cmod_PIN 7u -#define LinearSlider0_Sns0_PIN 3u -#define LinearSlider0_Sns1_PIN 0u -#define LinearSlider0_Sns2_PIN 1u -#define LinearSlider0_Sns3_PIN 2u -#define LinearSlider0_Sns4_PIN 3u +#define Button0_Sns0_PIN 3u +#define Button1_Sns0_PIN 0u +#define LinearSlider0_Sns0_PIN 1u +#define LinearSlider0_Sns1_PIN 2u +#define LinearSlider0_Sns2_PIN 3u +#define LinearSlider0_Sns3_PIN 0u +#define LinearSlider0_Sns4_PIN 1u #define Cmod_PORT_NUM 7u #define CYBSP_CSD_HW CSD0 #define CYBSP_CSD_IRQ csd_interrupt_IRQn diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_pins.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_pins.c index 1aa98806df..e466749efd 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_pins.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_pins.c @@ -5,8 +5,8 @@ * Pin configuration * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -28,7 +28,7 @@ #include "cycfg_pins.h" -const cy_stc_gpio_pin_config_t CYBSP_SWDIO_config = +const cy_stc_gpio_pin_config_t CYBSP_SWDIO_config = { .outVal = 1, .driveMode = CY_GPIO_DM_PULLUP, @@ -45,14 +45,14 @@ const cy_stc_gpio_pin_config_t CYBSP_SWDIO_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_SWDIO_obj = + const cyhal_resource_inst_t CYBSP_SWDIO_obj = { .type = CYHAL_RSC_GPIO, .block_num = CYBSP_SWDIO_PORT_NUM, .channel_num = CYBSP_SWDIO_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_SWDCK_config = +const cy_stc_gpio_pin_config_t CYBSP_SWDCK_config = { .outVal = 1, .driveMode = CY_GPIO_DM_PULLDOWN, @@ -69,14 +69,14 @@ const cy_stc_gpio_pin_config_t CYBSP_SWDCK_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_SWDCK_obj = + const cyhal_resource_inst_t CYBSP_SWDCK_obj = { .type = CYHAL_RSC_GPIO, .block_num = CYBSP_SWDCK_PORT_NUM, .channel_num = CYBSP_SWDCK_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_CINA_config = +const cy_stc_gpio_pin_config_t CYBSP_CINA_config = { .outVal = 1, .driveMode = CY_GPIO_DM_ANALOG, @@ -93,14 +93,14 @@ const cy_stc_gpio_pin_config_t CYBSP_CINA_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CINA_obj = + const cyhal_resource_inst_t CYBSP_CINA_obj = { .type = CYHAL_RSC_GPIO, .block_num = CYBSP_CINA_PORT_NUM, .channel_num = CYBSP_CINA_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_CINB_config = +const cy_stc_gpio_pin_config_t CYBSP_CINB_config = { .outVal = 1, .driveMode = CY_GPIO_DM_ANALOG, @@ -117,18 +117,18 @@ const cy_stc_gpio_pin_config_t CYBSP_CINB_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CINB_obj = + const cyhal_resource_inst_t CYBSP_CINB_obj = { .type = CYHAL_RSC_GPIO, .block_num = CYBSP_CINB_PORT_NUM, .channel_num = CYBSP_CINB_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD0_config = +const cy_stc_gpio_pin_config_t CYBSP_LED_RGB_BLUE_config = { .outVal = 1, .driveMode = CY_GPIO_DM_ANALOG, - .hsiom = CYBSP_CSD_SLD0_HSIOM, + .hsiom = CYBSP_LED_RGB_BLUE_HSIOM, .intEdge = CY_GPIO_INTR_DISABLE, .intMask = 0UL, .vtrip = CY_GPIO_VTRIP_CMOS, @@ -141,14 +141,14 @@ const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD0_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CSD_SLD0_obj = + const cyhal_resource_inst_t CYBSP_LED_RGB_BLUE_obj = { .type = CYHAL_RSC_GPIO, - .block_num = CYBSP_CSD_SLD0_PORT_NUM, - .channel_num = CYBSP_CSD_SLD0_PIN, + .block_num = CYBSP_LED_RGB_BLUE_PORT_NUM, + .channel_num = CYBSP_LED_RGB_BLUE_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_CMOD_config = +const cy_stc_gpio_pin_config_t CYBSP_CMOD_config = { .outVal = 1, .driveMode = CY_GPIO_DM_ANALOG, @@ -165,18 +165,18 @@ const cy_stc_gpio_pin_config_t CYBSP_CMOD_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CMOD_obj = + const cyhal_resource_inst_t CYBSP_CMOD_obj = { .type = CYHAL_RSC_GPIO, .block_num = CYBSP_CMOD_PORT_NUM, .channel_num = CYBSP_CMOD_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD1_config = +const cy_stc_gpio_pin_config_t CYBSP_CSD_BTN0_config = { .outVal = 1, .driveMode = CY_GPIO_DM_ANALOG, - .hsiom = CYBSP_CSD_SLD1_HSIOM, + .hsiom = CYBSP_CSD_BTN0_HSIOM, .intEdge = CY_GPIO_INTR_DISABLE, .intMask = 0UL, .vtrip = CY_GPIO_VTRIP_CMOS, @@ -189,18 +189,18 @@ const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD1_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CSD_SLD1_obj = + const cyhal_resource_inst_t CYBSP_CSD_BTN0_obj = { .type = CYHAL_RSC_GPIO, - .block_num = CYBSP_CSD_SLD1_PORT_NUM, - .channel_num = CYBSP_CSD_SLD1_PIN, + .block_num = CYBSP_CSD_BTN0_PORT_NUM, + .channel_num = CYBSP_CSD_BTN0_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD2_config = +const cy_stc_gpio_pin_config_t CYBSP_A8_config = { .outVal = 1, .driveMode = CY_GPIO_DM_ANALOG, - .hsiom = CYBSP_CSD_SLD2_HSIOM, + .hsiom = CYBSP_A8_HSIOM, .intEdge = CY_GPIO_INTR_DISABLE, .intMask = 0UL, .vtrip = CY_GPIO_VTRIP_CMOS, @@ -213,18 +213,18 @@ const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD2_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CSD_SLD2_obj = + const cyhal_resource_inst_t CYBSP_A8_obj = { .type = CYHAL_RSC_GPIO, - .block_num = CYBSP_CSD_SLD2_PORT_NUM, - .channel_num = CYBSP_CSD_SLD2_PIN, + .block_num = CYBSP_A8_PORT_NUM, + .channel_num = CYBSP_A8_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD3_config = +const cy_stc_gpio_pin_config_t CYBSP_A9_config = { .outVal = 1, .driveMode = CY_GPIO_DM_ANALOG, - .hsiom = CYBSP_CSD_SLD3_HSIOM, + .hsiom = CYBSP_A9_HSIOM, .intEdge = CY_GPIO_INTR_DISABLE, .intMask = 0UL, .vtrip = CY_GPIO_VTRIP_CMOS, @@ -237,18 +237,18 @@ const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD3_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CSD_SLD3_obj = + const cyhal_resource_inst_t CYBSP_A9_obj = { .type = CYHAL_RSC_GPIO, - .block_num = CYBSP_CSD_SLD3_PORT_NUM, - .channel_num = CYBSP_CSD_SLD3_PIN, + .block_num = CYBSP_A9_PORT_NUM, + .channel_num = CYBSP_A9_PIN, }; #endif //defined (CY_USING_HAL) -const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD4_config = +const cy_stc_gpio_pin_config_t CYBSP_A10_config = { .outVal = 1, .driveMode = CY_GPIO_DM_ANALOG, - .hsiom = CYBSP_CSD_SLD4_HSIOM, + .hsiom = CYBSP_A10_HSIOM, .intEdge = CY_GPIO_INTR_DISABLE, .intMask = 0UL, .vtrip = CY_GPIO_VTRIP_CMOS, @@ -261,11 +261,35 @@ const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD4_config = .vohSel = 0UL, }; #if defined (CY_USING_HAL) - const cyhal_resource_inst_t CYBSP_CSD_SLD4_obj = + const cyhal_resource_inst_t CYBSP_A10_obj = { .type = CYHAL_RSC_GPIO, - .block_num = CYBSP_CSD_SLD4_PORT_NUM, - .channel_num = CYBSP_CSD_SLD4_PIN, + .block_num = CYBSP_A10_PORT_NUM, + .channel_num = CYBSP_A10_PIN, + }; +#endif //defined (CY_USING_HAL) +const cy_stc_gpio_pin_config_t CYBSP_A11_config = +{ + .outVal = 1, + .driveMode = CY_GPIO_DM_ANALOG, + .hsiom = CYBSP_A11_HSIOM, + .intEdge = CY_GPIO_INTR_DISABLE, + .intMask = 0UL, + .vtrip = CY_GPIO_VTRIP_CMOS, + .slewRate = CY_GPIO_SLEW_FAST, + .driveSel = CY_GPIO_DRIVE_1_2, + .vregEn = 0UL, + .ibufMode = 0UL, + .vtripSel = 0UL, + .vrefSel = 0UL, + .vohSel = 0UL, +}; +#if defined (CY_USING_HAL) + const cyhal_resource_inst_t CYBSP_A11_obj = + { + .type = CYHAL_RSC_GPIO, + .block_num = CYBSP_A11_PORT_NUM, + .channel_num = CYBSP_A11_PIN, }; #endif //defined (CY_USING_HAL) @@ -276,6 +300,7 @@ void init_cycfg_pins(void) Cy_GPIO_Pin_Init(CYBSP_SWDCK_PORT, CYBSP_SWDCK_PIN, &CYBSP_SWDCK_config); Cy_GPIO_Pin_Init(CYBSP_CINA_PORT, CYBSP_CINA_PIN, &CYBSP_CINA_config); Cy_GPIO_Pin_Init(CYBSP_CINB_PORT, CYBSP_CINB_PIN, &CYBSP_CINB_config); + Cy_GPIO_Pin_Init(CYBSP_CSD_BTN0_PORT, CYBSP_CSD_BTN0_PIN, &CYBSP_CSD_BTN0_config); } void reserve_cycfg_pins(void) @@ -285,11 +310,12 @@ void reserve_cycfg_pins(void) cyhal_hwmgr_reserve(&CYBSP_SWDCK_obj); cyhal_hwmgr_reserve(&CYBSP_CINA_obj); cyhal_hwmgr_reserve(&CYBSP_CINB_obj); - cyhal_hwmgr_reserve(&CYBSP_CSD_SLD0_obj); + cyhal_hwmgr_reserve(&CYBSP_LED_RGB_BLUE_obj); cyhal_hwmgr_reserve(&CYBSP_CMOD_obj); - cyhal_hwmgr_reserve(&CYBSP_CSD_SLD1_obj); - cyhal_hwmgr_reserve(&CYBSP_CSD_SLD2_obj); - cyhal_hwmgr_reserve(&CYBSP_CSD_SLD3_obj); - cyhal_hwmgr_reserve(&CYBSP_CSD_SLD4_obj); + cyhal_hwmgr_reserve(&CYBSP_CSD_BTN0_obj); + cyhal_hwmgr_reserve(&CYBSP_A8_obj); + cyhal_hwmgr_reserve(&CYBSP_A9_obj); + cyhal_hwmgr_reserve(&CYBSP_A10_obj); + cyhal_hwmgr_reserve(&CYBSP_A11_obj); #endif //defined (CY_USING_HAL) } diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_pins.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_pins.h index bb488fb451..8d6a72f6d1 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_pins.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_pins.h @@ -5,8 +5,8 @@ * Pin configuration * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -41,10 +41,11 @@ extern "C" { #endif #if defined (CY_USING_HAL) + #define CYBSP_USER_LED1 (P0_0) + #define CYBSP_USER_LED2 (P0_1) #define CYBSP_SW2 (P0_4) #define CYBSP_USER_BTN1 CYBSP_SW2 - #define CYBSP_USER_BTN CYBSP_SW2 - #define CYBSP_D8 (P0_5) + #define CYBSP_LED_RGB_GREEN (P0_5) #define CYBSP_A0 (P10_0) #define CYBSP_J2_1 CYBSP_A0 #define CYBSP_A1 (P10_1) @@ -57,12 +58,27 @@ extern "C" { #define CYBSP_J2_9 CYBSP_A4 #define CYBSP_A5 (P10_5) #define CYBSP_J2_11 CYBSP_A5 - #define CYBSP_BT_UART_RX (P3_0) - #define CYBSP_BT_UART_TX (P3_1) + #define CYBSP_QSPI_FRAM_SSEL (P11_0) + #define CYBSP_QSPI_SS (P11_2) + #define CYBSP_QSPI_FLASH_SSEL CYBSP_QSPI_SS + #define CYBSP_QSPI_D3 (P11_3) + #define CYBSP_QSPI_D2 (P11_4) + #define CYBSP_QSPI_D1 (P11_5) + #define CYBSP_QSPI_D0 (P11_6) + #define CYBSP_QSPI_SCK (P11_7) + #define CYBSP_WIFI_HOST_WAKE (P12_6) + #define CYBSP_WIFI_SDIO_D0 (P2_0) + #define CYBSP_WIFI_SDIO_D1 (P2_1) + #define CYBSP_WIFI_SDIO_D2 (P2_2) + #define CYBSP_WIFI_SDIO_D3 (P2_3) + #define CYBSP_WIFI_SDIO_CMD (P2_4) + #define CYBSP_WIFI_SDIO_CLK (P2_5) + #define CYBSP_WIFI_WL_REG_ON (P2_7) #define CYBSP_D0 (P5_0) #define CYBSP_D1 (P5_1) #define CYBSP_D6 (P5_6) #define CYBSP_D7 (P5_7) + #define CYBSP_USER_BTN (P6_2) #define CYBSP_DEBUG_UART_RX (P6_4) #define CYBSP_DEBUG_UART_TX (P6_5) #endif //defined (CY_USING_HAL) @@ -82,7 +98,7 @@ extern "C" { #define CYBSP_SWDIO_HAL_PORT_PIN P6_6 #define CYBSP_SWDIO P6_6 #define CYBSP_SWDIO_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_SWDIO_HAL_DIR CYHAL_GPIO_DIR_BIDIRECTIONAL + #define CYBSP_SWDIO_HAL_DIR CYHAL_GPIO_DIR_BIDIRECTIONAL #define CYBSP_SWDIO_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_PULLUP #endif //defined (CY_USING_HAL) #define CYBSP_SWDCK_ENABLED 1U @@ -101,8 +117,9 @@ extern "C" { #define CYBSP_SWDCK_HAL_PORT_PIN P6_7 #define CYBSP_SWDCK P6_7 #define CYBSP_SWDCK_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_SWDCK_HAL_DIR CYHAL_GPIO_DIR_BIDIRECTIONAL + #define CYBSP_SWDCK_HAL_DIR CYHAL_GPIO_DIR_BIDIRECTIONAL #define CYBSP_SWDCK_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_PULLDOWN + #define CYBSP_TRACE_CLK (P7_0) #endif //defined (CY_USING_HAL) #define CYBSP_CINA_ENABLED 1U #define CYBSP_CINA_PORT GPIO_PRT7 @@ -120,7 +137,7 @@ extern "C" { #define CYBSP_CINA_HAL_PORT_PIN P7_1 #define CYBSP_CINA P7_1 #define CYBSP_CINA_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_CINA_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_CINA_HAL_DIR CYHAL_GPIO_DIR_INPUT #define CYBSP_CINA_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG #endif //defined (CY_USING_HAL) #define CYBSP_CINB_ENABLED 1U @@ -139,41 +156,41 @@ extern "C" { #define CYBSP_CINB_HAL_PORT_PIN P7_2 #define CYBSP_CINB P7_2 #define CYBSP_CINB_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_CINB_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_CINB_HAL_DIR CYHAL_GPIO_DIR_INPUT #define CYBSP_CINB_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG #endif //defined (CY_USING_HAL) -#define CYBSP_CSD_SLD0_ENABLED 1U -#define CYBSP_CS_SLD0_ENABLED CYBSP_CSD_SLD0_ENABLED -#define CYBSP_CSD_SLD0_PORT GPIO_PRT7 -#define CYBSP_CS_SLD0_PORT CYBSP_CSD_SLD0_PORT -#define CYBSP_CSD_SLD0_PORT_NUM 7U -#define CYBSP_CS_SLD0_PORT_NUM CYBSP_CSD_SLD0_PORT_NUM -#define CYBSP_CSD_SLD0_PIN 3U -#define CYBSP_CS_SLD0_PIN CYBSP_CSD_SLD0_PIN -#define CYBSP_CSD_SLD0_NUM 3U -#define CYBSP_CS_SLD0_NUM CYBSP_CSD_SLD0_NUM -#define CYBSP_CSD_SLD0_DRIVEMODE CY_GPIO_DM_ANALOG -#define CYBSP_CS_SLD0_DRIVEMODE CYBSP_CSD_SLD0_DRIVEMODE -#define CYBSP_CSD_SLD0_INIT_DRIVESTATE 1 -#define CYBSP_CS_SLD0_INIT_DRIVESTATE CYBSP_CSD_SLD0_INIT_DRIVESTATE +#define CYBSP_LED_RGB_BLUE_ENABLED 1U +#define CYBSP_USER_LED5_ENABLED CYBSP_LED_RGB_BLUE_ENABLED +#define CYBSP_LED_RGB_BLUE_PORT GPIO_PRT7 +#define CYBSP_USER_LED5_PORT CYBSP_LED_RGB_BLUE_PORT +#define CYBSP_LED_RGB_BLUE_PORT_NUM 7U +#define CYBSP_USER_LED5_PORT_NUM CYBSP_LED_RGB_BLUE_PORT_NUM +#define CYBSP_LED_RGB_BLUE_PIN 3U +#define CYBSP_USER_LED5_PIN CYBSP_LED_RGB_BLUE_PIN +#define CYBSP_LED_RGB_BLUE_NUM 3U +#define CYBSP_USER_LED5_NUM CYBSP_LED_RGB_BLUE_NUM +#define CYBSP_LED_RGB_BLUE_DRIVEMODE CY_GPIO_DM_ANALOG +#define CYBSP_USER_LED5_DRIVEMODE CYBSP_LED_RGB_BLUE_DRIVEMODE +#define CYBSP_LED_RGB_BLUE_INIT_DRIVESTATE 1 +#define CYBSP_USER_LED5_INIT_DRIVESTATE CYBSP_LED_RGB_BLUE_INIT_DRIVESTATE #ifndef ioss_0_port_7_pin_3_HSIOM #define ioss_0_port_7_pin_3_HSIOM HSIOM_SEL_GPIO #endif -#define CYBSP_CSD_SLD0_HSIOM ioss_0_port_7_pin_3_HSIOM -#define CYBSP_CS_SLD0_HSIOM CYBSP_CSD_SLD0_HSIOM -#define CYBSP_CSD_SLD0_IRQ ioss_interrupts_gpio_7_IRQn -#define CYBSP_CS_SLD0_IRQ CYBSP_CSD_SLD0_IRQ +#define CYBSP_LED_RGB_BLUE_HSIOM ioss_0_port_7_pin_3_HSIOM +#define CYBSP_USER_LED5_HSIOM CYBSP_LED_RGB_BLUE_HSIOM +#define CYBSP_LED_RGB_BLUE_IRQ ioss_interrupts_gpio_7_IRQn +#define CYBSP_USER_LED5_IRQ CYBSP_LED_RGB_BLUE_IRQ #if defined (CY_USING_HAL) - #define CYBSP_CSD_SLD0_HAL_PORT_PIN P7_3 - #define CYBSP_CS_SLD0_HAL_PORT_PIN CYBSP_CSD_SLD0_HAL_PORT_PIN - #define CYBSP_CSD_SLD0 P7_3 - #define CYBSP_CS_SLD0 CYBSP_CSD_SLD0 - #define CYBSP_CSD_SLD0_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_CS_SLD0_HAL_IRQ CYBSP_CSD_SLD0_HAL_IRQ - #define CYBSP_CSD_SLD0_HAL_DIR CYHAL_GPIO_DIR_INPUT - #define CYBSP_CS_SLD0_HAL_DIR CYBSP_CSD_SLD0_HAL_DIR - #define CYBSP_CSD_SLD0_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG - #define CYBSP_CS_SLD0_HAL_DRIVEMODE CYBSP_CSD_SLD0_HAL_DRIVEMODE + #define CYBSP_LED_RGB_BLUE_HAL_PORT_PIN P7_3 + #define CYBSP_USER_LED5_HAL_PORT_PIN CYBSP_LED_RGB_BLUE_HAL_PORT_PIN + #define CYBSP_LED_RGB_BLUE P7_3 + #define CYBSP_USER_LED5 CYBSP_LED_RGB_BLUE + #define CYBSP_LED_RGB_BLUE_HAL_IRQ CYHAL_GPIO_IRQ_NONE + #define CYBSP_USER_LED5_HAL_IRQ CYBSP_LED_RGB_BLUE_HAL_IRQ + #define CYBSP_LED_RGB_BLUE_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_USER_LED5_HAL_DIR CYBSP_LED_RGB_BLUE_HAL_DIR + #define CYBSP_LED_RGB_BLUE_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG + #define CYBSP_USER_LED5_HAL_DRIVEMODE CYBSP_LED_RGB_BLUE_HAL_DRIVEMODE #endif //defined (CY_USING_HAL) #define CYBSP_CMOD_ENABLED 1U #define CYBSP_CMOD_PORT GPIO_PRT7 @@ -191,140 +208,187 @@ extern "C" { #define CYBSP_CMOD_HAL_PORT_PIN P7_7 #define CYBSP_CMOD P7_7 #define CYBSP_CMOD_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_CMOD_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_CMOD_HAL_DIR CYHAL_GPIO_DIR_INPUT #define CYBSP_CMOD_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG #endif //defined (CY_USING_HAL) -#define CYBSP_CSD_SLD1_ENABLED 1U -#define CYBSP_CS_SLD1_ENABLED CYBSP_CSD_SLD1_ENABLED -#define CYBSP_CSD_SLD1_PORT GPIO_PRT9 -#define CYBSP_CS_SLD1_PORT CYBSP_CSD_SLD1_PORT -#define CYBSP_CSD_SLD1_PORT_NUM 9U -#define CYBSP_CS_SLD1_PORT_NUM CYBSP_CSD_SLD1_PORT_NUM -#define CYBSP_CSD_SLD1_PIN 0U -#define CYBSP_CS_SLD1_PIN CYBSP_CSD_SLD1_PIN -#define CYBSP_CSD_SLD1_NUM 0U -#define CYBSP_CS_SLD1_NUM CYBSP_CSD_SLD1_NUM -#define CYBSP_CSD_SLD1_DRIVEMODE CY_GPIO_DM_ANALOG -#define CYBSP_CS_SLD1_DRIVEMODE CYBSP_CSD_SLD1_DRIVEMODE -#define CYBSP_CSD_SLD1_INIT_DRIVESTATE 1 -#define CYBSP_CS_SLD1_INIT_DRIVESTATE CYBSP_CSD_SLD1_INIT_DRIVESTATE +#define CYBSP_CSD_BTN0_ENABLED 1U +#define CYBSP_CS_BTN0_ENABLED CYBSP_CSD_BTN0_ENABLED +#define CYBSP_CSD_BTN0_PORT GPIO_PRT8 +#define CYBSP_CS_BTN0_PORT CYBSP_CSD_BTN0_PORT +#define CYBSP_CSD_BTN0_PORT_NUM 8U +#define CYBSP_CS_BTN0_PORT_NUM CYBSP_CSD_BTN0_PORT_NUM +#define CYBSP_CSD_BTN0_PIN 1U +#define CYBSP_CS_BTN0_PIN CYBSP_CSD_BTN0_PIN +#define CYBSP_CSD_BTN0_NUM 1U +#define CYBSP_CS_BTN0_NUM CYBSP_CSD_BTN0_NUM +#define CYBSP_CSD_BTN0_DRIVEMODE CY_GPIO_DM_ANALOG +#define CYBSP_CS_BTN0_DRIVEMODE CYBSP_CSD_BTN0_DRIVEMODE +#define CYBSP_CSD_BTN0_INIT_DRIVESTATE 1 +#define CYBSP_CS_BTN0_INIT_DRIVESTATE CYBSP_CSD_BTN0_INIT_DRIVESTATE +#ifndef ioss_0_port_8_pin_1_HSIOM + #define ioss_0_port_8_pin_1_HSIOM HSIOM_SEL_GPIO +#endif +#define CYBSP_CSD_BTN0_HSIOM ioss_0_port_8_pin_1_HSIOM +#define CYBSP_CS_BTN0_HSIOM CYBSP_CSD_BTN0_HSIOM +#define CYBSP_CSD_BTN0_IRQ ioss_interrupts_gpio_8_IRQn +#define CYBSP_CS_BTN0_IRQ CYBSP_CSD_BTN0_IRQ +#if defined (CY_USING_HAL) + #define CYBSP_CSD_BTN0_HAL_PORT_PIN P8_1 + #define CYBSP_CS_BTN0_HAL_PORT_PIN CYBSP_CSD_BTN0_HAL_PORT_PIN + #define CYBSP_CSD_BTN0 P8_1 + #define CYBSP_CS_BTN0 CYBSP_CSD_BTN0 + #define CYBSP_CSD_BTN0_HAL_IRQ CYHAL_GPIO_IRQ_NONE + #define CYBSP_CS_BTN0_HAL_IRQ CYBSP_CSD_BTN0_HAL_IRQ + #define CYBSP_CSD_BTN0_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_CS_BTN0_HAL_DIR CYBSP_CSD_BTN0_HAL_DIR + #define CYBSP_CSD_BTN0_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG + #define CYBSP_CS_BTN0_HAL_DRIVEMODE CYBSP_CSD_BTN0_HAL_DRIVEMODE +#endif //defined (CY_USING_HAL) +#define CYBSP_A8_ENABLED 1U +#define CYBSP_J2_2_ENABLED CYBSP_A8_ENABLED +#define CYBSP_A8_PORT GPIO_PRT9 +#define CYBSP_J2_2_PORT CYBSP_A8_PORT +#define CYBSP_A8_PORT_NUM 9U +#define CYBSP_J2_2_PORT_NUM CYBSP_A8_PORT_NUM +#define CYBSP_A8_PIN 0U +#define CYBSP_J2_2_PIN CYBSP_A8_PIN +#define CYBSP_A8_NUM 0U +#define CYBSP_J2_2_NUM CYBSP_A8_NUM +#define CYBSP_A8_DRIVEMODE CY_GPIO_DM_ANALOG +#define CYBSP_J2_2_DRIVEMODE CYBSP_A8_DRIVEMODE +#define CYBSP_A8_INIT_DRIVESTATE 1 +#define CYBSP_J2_2_INIT_DRIVESTATE CYBSP_A8_INIT_DRIVESTATE #ifndef ioss_0_port_9_pin_0_HSIOM #define ioss_0_port_9_pin_0_HSIOM HSIOM_SEL_GPIO #endif -#define CYBSP_CSD_SLD1_HSIOM ioss_0_port_9_pin_0_HSIOM -#define CYBSP_CS_SLD1_HSIOM CYBSP_CSD_SLD1_HSIOM -#define CYBSP_CSD_SLD1_IRQ ioss_interrupts_gpio_9_IRQn -#define CYBSP_CS_SLD1_IRQ CYBSP_CSD_SLD1_IRQ +#define CYBSP_A8_HSIOM ioss_0_port_9_pin_0_HSIOM +#define CYBSP_J2_2_HSIOM CYBSP_A8_HSIOM +#define CYBSP_A8_IRQ ioss_interrupts_gpio_9_IRQn +#define CYBSP_J2_2_IRQ CYBSP_A8_IRQ #if defined (CY_USING_HAL) - #define CYBSP_CSD_SLD1_HAL_PORT_PIN P9_0 - #define CYBSP_CS_SLD1_HAL_PORT_PIN CYBSP_CSD_SLD1_HAL_PORT_PIN - #define CYBSP_CSD_SLD1 P9_0 - #define CYBSP_CS_SLD1 CYBSP_CSD_SLD1 - #define CYBSP_CSD_SLD1_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_CS_SLD1_HAL_IRQ CYBSP_CSD_SLD1_HAL_IRQ - #define CYBSP_CSD_SLD1_HAL_DIR CYHAL_GPIO_DIR_INPUT - #define CYBSP_CS_SLD1_HAL_DIR CYBSP_CSD_SLD1_HAL_DIR - #define CYBSP_CSD_SLD1_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG - #define CYBSP_CS_SLD1_HAL_DRIVEMODE CYBSP_CSD_SLD1_HAL_DRIVEMODE + #define CYBSP_A8_HAL_PORT_PIN P9_0 + #define CYBSP_J2_2_HAL_PORT_PIN CYBSP_A8_HAL_PORT_PIN + #define CYBSP_A8 P9_0 + #define CYBSP_J2_2 CYBSP_A8 + #define CYBSP_A8_HAL_IRQ CYHAL_GPIO_IRQ_NONE + #define CYBSP_J2_2_HAL_IRQ CYBSP_A8_HAL_IRQ + #define CYBSP_A8_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_J2_2_HAL_DIR CYBSP_A8_HAL_DIR + #define CYBSP_A8_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG + #define CYBSP_J2_2_HAL_DRIVEMODE CYBSP_A8_HAL_DRIVEMODE #endif //defined (CY_USING_HAL) -#define CYBSP_CSD_SLD2_ENABLED 1U -#define CYBSP_CS_SLD2_ENABLED CYBSP_CSD_SLD2_ENABLED -#define CYBSP_CSD_SLD2_PORT GPIO_PRT9 -#define CYBSP_CS_SLD2_PORT CYBSP_CSD_SLD2_PORT -#define CYBSP_CSD_SLD2_PORT_NUM 9U -#define CYBSP_CS_SLD2_PORT_NUM CYBSP_CSD_SLD2_PORT_NUM -#define CYBSP_CSD_SLD2_PIN 1U -#define CYBSP_CS_SLD2_PIN CYBSP_CSD_SLD2_PIN -#define CYBSP_CSD_SLD2_NUM 1U -#define CYBSP_CS_SLD2_NUM CYBSP_CSD_SLD2_NUM -#define CYBSP_CSD_SLD2_DRIVEMODE CY_GPIO_DM_ANALOG -#define CYBSP_CS_SLD2_DRIVEMODE CYBSP_CSD_SLD2_DRIVEMODE -#define CYBSP_CSD_SLD2_INIT_DRIVESTATE 1 -#define CYBSP_CS_SLD2_INIT_DRIVESTATE CYBSP_CSD_SLD2_INIT_DRIVESTATE +#define CYBSP_A9_ENABLED 1U +#define CYBSP_J2_4_ENABLED CYBSP_A9_ENABLED +#define CYBSP_A9_PORT GPIO_PRT9 +#define CYBSP_J2_4_PORT CYBSP_A9_PORT +#define CYBSP_A9_PORT_NUM 9U +#define CYBSP_J2_4_PORT_NUM CYBSP_A9_PORT_NUM +#define CYBSP_A9_PIN 1U +#define CYBSP_J2_4_PIN CYBSP_A9_PIN +#define CYBSP_A9_NUM 1U +#define CYBSP_J2_4_NUM CYBSP_A9_NUM +#define CYBSP_A9_DRIVEMODE CY_GPIO_DM_ANALOG +#define CYBSP_J2_4_DRIVEMODE CYBSP_A9_DRIVEMODE +#define CYBSP_A9_INIT_DRIVESTATE 1 +#define CYBSP_J2_4_INIT_DRIVESTATE CYBSP_A9_INIT_DRIVESTATE #ifndef ioss_0_port_9_pin_1_HSIOM #define ioss_0_port_9_pin_1_HSIOM HSIOM_SEL_GPIO #endif -#define CYBSP_CSD_SLD2_HSIOM ioss_0_port_9_pin_1_HSIOM -#define CYBSP_CS_SLD2_HSIOM CYBSP_CSD_SLD2_HSIOM -#define CYBSP_CSD_SLD2_IRQ ioss_interrupts_gpio_9_IRQn -#define CYBSP_CS_SLD2_IRQ CYBSP_CSD_SLD2_IRQ +#define CYBSP_A9_HSIOM ioss_0_port_9_pin_1_HSIOM +#define CYBSP_J2_4_HSIOM CYBSP_A9_HSIOM +#define CYBSP_A9_IRQ ioss_interrupts_gpio_9_IRQn +#define CYBSP_J2_4_IRQ CYBSP_A9_IRQ #if defined (CY_USING_HAL) - #define CYBSP_CSD_SLD2_HAL_PORT_PIN P9_1 - #define CYBSP_CS_SLD2_HAL_PORT_PIN CYBSP_CSD_SLD2_HAL_PORT_PIN - #define CYBSP_CSD_SLD2 P9_1 - #define CYBSP_CS_SLD2 CYBSP_CSD_SLD2 - #define CYBSP_CSD_SLD2_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_CS_SLD2_HAL_IRQ CYBSP_CSD_SLD2_HAL_IRQ - #define CYBSP_CSD_SLD2_HAL_DIR CYHAL_GPIO_DIR_INPUT - #define CYBSP_CS_SLD2_HAL_DIR CYBSP_CSD_SLD2_HAL_DIR - #define CYBSP_CSD_SLD2_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG - #define CYBSP_CS_SLD2_HAL_DRIVEMODE CYBSP_CSD_SLD2_HAL_DRIVEMODE + #define CYBSP_A9_HAL_PORT_PIN P9_1 + #define CYBSP_J2_4_HAL_PORT_PIN CYBSP_A9_HAL_PORT_PIN + #define CYBSP_A9 P9_1 + #define CYBSP_J2_4 CYBSP_A9 + #define CYBSP_A9_HAL_IRQ CYHAL_GPIO_IRQ_NONE + #define CYBSP_J2_4_HAL_IRQ CYBSP_A9_HAL_IRQ + #define CYBSP_A9_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_J2_4_HAL_DIR CYBSP_A9_HAL_DIR + #define CYBSP_A9_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG + #define CYBSP_J2_4_HAL_DRIVEMODE CYBSP_A9_HAL_DRIVEMODE #endif //defined (CY_USING_HAL) -#define CYBSP_CSD_SLD3_ENABLED 1U -#define CYBSP_CS_SLD3_ENABLED CYBSP_CSD_SLD3_ENABLED -#define CYBSP_CSD_SLD3_PORT GPIO_PRT9 -#define CYBSP_CS_SLD3_PORT CYBSP_CSD_SLD3_PORT -#define CYBSP_CSD_SLD3_PORT_NUM 9U -#define CYBSP_CS_SLD3_PORT_NUM CYBSP_CSD_SLD3_PORT_NUM -#define CYBSP_CSD_SLD3_PIN 2U -#define CYBSP_CS_SLD3_PIN CYBSP_CSD_SLD3_PIN -#define CYBSP_CSD_SLD3_NUM 2U -#define CYBSP_CS_SLD3_NUM CYBSP_CSD_SLD3_NUM -#define CYBSP_CSD_SLD3_DRIVEMODE CY_GPIO_DM_ANALOG -#define CYBSP_CS_SLD3_DRIVEMODE CYBSP_CSD_SLD3_DRIVEMODE -#define CYBSP_CSD_SLD3_INIT_DRIVESTATE 1 -#define CYBSP_CS_SLD3_INIT_DRIVESTATE CYBSP_CSD_SLD3_INIT_DRIVESTATE +#define CYBSP_A10_ENABLED 1U +#define CYBSP_J2_6_ENABLED CYBSP_A10_ENABLED +#define CYBSP_A10_PORT GPIO_PRT9 +#define CYBSP_J2_6_PORT CYBSP_A10_PORT +#define CYBSP_A10_PORT_NUM 9U +#define CYBSP_J2_6_PORT_NUM CYBSP_A10_PORT_NUM +#define CYBSP_A10_PIN 2U +#define CYBSP_J2_6_PIN CYBSP_A10_PIN +#define CYBSP_A10_NUM 2U +#define CYBSP_J2_6_NUM CYBSP_A10_NUM +#define CYBSP_A10_DRIVEMODE CY_GPIO_DM_ANALOG +#define CYBSP_J2_6_DRIVEMODE CYBSP_A10_DRIVEMODE +#define CYBSP_A10_INIT_DRIVESTATE 1 +#define CYBSP_J2_6_INIT_DRIVESTATE CYBSP_A10_INIT_DRIVESTATE #ifndef ioss_0_port_9_pin_2_HSIOM #define ioss_0_port_9_pin_2_HSIOM HSIOM_SEL_GPIO #endif -#define CYBSP_CSD_SLD3_HSIOM ioss_0_port_9_pin_2_HSIOM -#define CYBSP_CS_SLD3_HSIOM CYBSP_CSD_SLD3_HSIOM -#define CYBSP_CSD_SLD3_IRQ ioss_interrupts_gpio_9_IRQn -#define CYBSP_CS_SLD3_IRQ CYBSP_CSD_SLD3_IRQ +#define CYBSP_A10_HSIOM ioss_0_port_9_pin_2_HSIOM +#define CYBSP_J2_6_HSIOM CYBSP_A10_HSIOM +#define CYBSP_A10_IRQ ioss_interrupts_gpio_9_IRQn +#define CYBSP_J2_6_IRQ CYBSP_A10_IRQ #if defined (CY_USING_HAL) - #define CYBSP_CSD_SLD3_HAL_PORT_PIN P9_2 - #define CYBSP_CS_SLD3_HAL_PORT_PIN CYBSP_CSD_SLD3_HAL_PORT_PIN - #define CYBSP_CSD_SLD3 P9_2 - #define CYBSP_CS_SLD3 CYBSP_CSD_SLD3 - #define CYBSP_CSD_SLD3_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_CS_SLD3_HAL_IRQ CYBSP_CSD_SLD3_HAL_IRQ - #define CYBSP_CSD_SLD3_HAL_DIR CYHAL_GPIO_DIR_INPUT - #define CYBSP_CS_SLD3_HAL_DIR CYBSP_CSD_SLD3_HAL_DIR - #define CYBSP_CSD_SLD3_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG - #define CYBSP_CS_SLD3_HAL_DRIVEMODE CYBSP_CSD_SLD3_HAL_DRIVEMODE + #define CYBSP_A10_HAL_PORT_PIN P9_2 + #define CYBSP_J2_6_HAL_PORT_PIN CYBSP_A10_HAL_PORT_PIN + #define CYBSP_A10 P9_2 + #define CYBSP_J2_6 CYBSP_A10 + #define CYBSP_A10_HAL_IRQ CYHAL_GPIO_IRQ_NONE + #define CYBSP_J2_6_HAL_IRQ CYBSP_A10_HAL_IRQ + #define CYBSP_A10_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_J2_6_HAL_DIR CYBSP_A10_HAL_DIR + #define CYBSP_A10_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG + #define CYBSP_J2_6_HAL_DRIVEMODE CYBSP_A10_HAL_DRIVEMODE #endif //defined (CY_USING_HAL) -#define CYBSP_CSD_SLD4_ENABLED 1U -#define CYBSP_CS_SLD4_ENABLED CYBSP_CSD_SLD4_ENABLED -#define CYBSP_CSD_SLD4_PORT GPIO_PRT9 -#define CYBSP_CS_SLD4_PORT CYBSP_CSD_SLD4_PORT -#define CYBSP_CSD_SLD4_PORT_NUM 9U -#define CYBSP_CS_SLD4_PORT_NUM CYBSP_CSD_SLD4_PORT_NUM -#define CYBSP_CSD_SLD4_PIN 3U -#define CYBSP_CS_SLD4_PIN CYBSP_CSD_SLD4_PIN -#define CYBSP_CSD_SLD4_NUM 3U -#define CYBSP_CS_SLD4_NUM CYBSP_CSD_SLD4_NUM -#define CYBSP_CSD_SLD4_DRIVEMODE CY_GPIO_DM_ANALOG -#define CYBSP_CS_SLD4_DRIVEMODE CYBSP_CSD_SLD4_DRIVEMODE -#define CYBSP_CSD_SLD4_INIT_DRIVESTATE 1 -#define CYBSP_CS_SLD4_INIT_DRIVESTATE CYBSP_CSD_SLD4_INIT_DRIVESTATE +#define CYBSP_A11_ENABLED 1U +#define CYBSP_J2_8_ENABLED CYBSP_A11_ENABLED +#define CYBSP_TRACE_DATA0_ENABLED CYBSP_A11_ENABLED +#define CYBSP_A11_PORT GPIO_PRT9 +#define CYBSP_J2_8_PORT CYBSP_A11_PORT +#define CYBSP_TRACE_DATA0_PORT CYBSP_A11_PORT +#define CYBSP_A11_PORT_NUM 9U +#define CYBSP_J2_8_PORT_NUM CYBSP_A11_PORT_NUM +#define CYBSP_TRACE_DATA0_PORT_NUM CYBSP_A11_PORT_NUM +#define CYBSP_A11_PIN 3U +#define CYBSP_J2_8_PIN CYBSP_A11_PIN +#define CYBSP_TRACE_DATA0_PIN CYBSP_A11_PIN +#define CYBSP_A11_NUM 3U +#define CYBSP_J2_8_NUM CYBSP_A11_NUM +#define CYBSP_TRACE_DATA0_NUM CYBSP_A11_NUM +#define CYBSP_A11_DRIVEMODE CY_GPIO_DM_ANALOG +#define CYBSP_J2_8_DRIVEMODE CYBSP_A11_DRIVEMODE +#define CYBSP_TRACE_DATA0_DRIVEMODE CYBSP_A11_DRIVEMODE +#define CYBSP_A11_INIT_DRIVESTATE 1 +#define CYBSP_J2_8_INIT_DRIVESTATE CYBSP_A11_INIT_DRIVESTATE +#define CYBSP_TRACE_DATA0_INIT_DRIVESTATE CYBSP_A11_INIT_DRIVESTATE #ifndef ioss_0_port_9_pin_3_HSIOM #define ioss_0_port_9_pin_3_HSIOM HSIOM_SEL_GPIO #endif -#define CYBSP_CSD_SLD4_HSIOM ioss_0_port_9_pin_3_HSIOM -#define CYBSP_CS_SLD4_HSIOM CYBSP_CSD_SLD4_HSIOM -#define CYBSP_CSD_SLD4_IRQ ioss_interrupts_gpio_9_IRQn -#define CYBSP_CS_SLD4_IRQ CYBSP_CSD_SLD4_IRQ +#define CYBSP_A11_HSIOM ioss_0_port_9_pin_3_HSIOM +#define CYBSP_J2_8_HSIOM CYBSP_A11_HSIOM +#define CYBSP_TRACE_DATA0_HSIOM CYBSP_A11_HSIOM +#define CYBSP_A11_IRQ ioss_interrupts_gpio_9_IRQn +#define CYBSP_J2_8_IRQ CYBSP_A11_IRQ +#define CYBSP_TRACE_DATA0_IRQ CYBSP_A11_IRQ #if defined (CY_USING_HAL) - #define CYBSP_CSD_SLD4_HAL_PORT_PIN P9_3 - #define CYBSP_CS_SLD4_HAL_PORT_PIN CYBSP_CSD_SLD4_HAL_PORT_PIN - #define CYBSP_CSD_SLD4 P9_3 - #define CYBSP_CS_SLD4 CYBSP_CSD_SLD4 - #define CYBSP_CSD_SLD4_HAL_IRQ CYHAL_GPIO_IRQ_NONE - #define CYBSP_CS_SLD4_HAL_IRQ CYBSP_CSD_SLD4_HAL_IRQ - #define CYBSP_CSD_SLD4_HAL_DIR CYHAL_GPIO_DIR_INPUT - #define CYBSP_CS_SLD4_HAL_DIR CYBSP_CSD_SLD4_HAL_DIR - #define CYBSP_CSD_SLD4_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG - #define CYBSP_CS_SLD4_HAL_DRIVEMODE CYBSP_CSD_SLD4_HAL_DRIVEMODE + #define CYBSP_A11_HAL_PORT_PIN P9_3 + #define CYBSP_J2_8_HAL_PORT_PIN CYBSP_A11_HAL_PORT_PIN + #define CYBSP_TRACE_DATA0_HAL_PORT_PIN CYBSP_A11_HAL_PORT_PIN + #define CYBSP_A11 P9_3 + #define CYBSP_J2_8 CYBSP_A11 + #define CYBSP_TRACE_DATA0 CYBSP_A11 + #define CYBSP_A11_HAL_IRQ CYHAL_GPIO_IRQ_NONE + #define CYBSP_J2_8_HAL_IRQ CYBSP_A11_HAL_IRQ + #define CYBSP_TRACE_DATA0_HAL_IRQ CYBSP_A11_HAL_IRQ + #define CYBSP_A11_HAL_DIR CYHAL_GPIO_DIR_INPUT + #define CYBSP_J2_8_HAL_DIR CYBSP_A11_HAL_DIR + #define CYBSP_TRACE_DATA0_HAL_DIR CYBSP_A11_HAL_DIR + #define CYBSP_A11_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG + #define CYBSP_J2_8_HAL_DRIVEMODE CYBSP_A11_HAL_DRIVEMODE + #define CYBSP_TRACE_DATA0_HAL_DRIVEMODE CYBSP_A11_HAL_DRIVEMODE #endif //defined (CY_USING_HAL) extern const cy_stc_gpio_pin_config_t CYBSP_SWDIO_config; @@ -343,39 +407,47 @@ extern const cy_stc_gpio_pin_config_t CYBSP_CINB_config; #if defined (CY_USING_HAL) extern const cyhal_resource_inst_t CYBSP_CINB_obj; #endif //defined (CY_USING_HAL) -extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD0_config; -#define CYBSP_CS_SLD0_config CYBSP_CSD_SLD0_config +extern const cy_stc_gpio_pin_config_t CYBSP_LED_RGB_BLUE_config; +#define CYBSP_USER_LED5_config CYBSP_LED_RGB_BLUE_config #if defined (CY_USING_HAL) - extern const cyhal_resource_inst_t CYBSP_CSD_SLD0_obj; - #define CYBSP_CS_SLD0_obj CYBSP_CSD_SLD0_obj + extern const cyhal_resource_inst_t CYBSP_LED_RGB_BLUE_obj; + #define CYBSP_USER_LED5_obj CYBSP_LED_RGB_BLUE_obj #endif //defined (CY_USING_HAL) extern const cy_stc_gpio_pin_config_t CYBSP_CMOD_config; #if defined (CY_USING_HAL) extern const cyhal_resource_inst_t CYBSP_CMOD_obj; #endif //defined (CY_USING_HAL) -extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD1_config; -#define CYBSP_CS_SLD1_config CYBSP_CSD_SLD1_config +extern const cy_stc_gpio_pin_config_t CYBSP_CSD_BTN0_config; +#define CYBSP_CS_BTN0_config CYBSP_CSD_BTN0_config #if defined (CY_USING_HAL) - extern const cyhal_resource_inst_t CYBSP_CSD_SLD1_obj; - #define CYBSP_CS_SLD1_obj CYBSP_CSD_SLD1_obj + extern const cyhal_resource_inst_t CYBSP_CSD_BTN0_obj; + #define CYBSP_CS_BTN0_obj CYBSP_CSD_BTN0_obj #endif //defined (CY_USING_HAL) -extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD2_config; -#define CYBSP_CS_SLD2_config CYBSP_CSD_SLD2_config +extern const cy_stc_gpio_pin_config_t CYBSP_A8_config; +#define CYBSP_J2_2_config CYBSP_A8_config #if defined (CY_USING_HAL) - extern const cyhal_resource_inst_t CYBSP_CSD_SLD2_obj; - #define CYBSP_CS_SLD2_obj CYBSP_CSD_SLD2_obj + extern const cyhal_resource_inst_t CYBSP_A8_obj; + #define CYBSP_J2_2_obj CYBSP_A8_obj #endif //defined (CY_USING_HAL) -extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD3_config; -#define CYBSP_CS_SLD3_config CYBSP_CSD_SLD3_config +extern const cy_stc_gpio_pin_config_t CYBSP_A9_config; +#define CYBSP_J2_4_config CYBSP_A9_config #if defined (CY_USING_HAL) - extern const cyhal_resource_inst_t CYBSP_CSD_SLD3_obj; - #define CYBSP_CS_SLD3_obj CYBSP_CSD_SLD3_obj + extern const cyhal_resource_inst_t CYBSP_A9_obj; + #define CYBSP_J2_4_obj CYBSP_A9_obj #endif //defined (CY_USING_HAL) -extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD4_config; -#define CYBSP_CS_SLD4_config CYBSP_CSD_SLD4_config +extern const cy_stc_gpio_pin_config_t CYBSP_A10_config; +#define CYBSP_J2_6_config CYBSP_A10_config #if defined (CY_USING_HAL) - extern const cyhal_resource_inst_t CYBSP_CSD_SLD4_obj; - #define CYBSP_CS_SLD4_obj CYBSP_CSD_SLD4_obj + extern const cyhal_resource_inst_t CYBSP_A10_obj; + #define CYBSP_J2_6_obj CYBSP_A10_obj +#endif //defined (CY_USING_HAL) +extern const cy_stc_gpio_pin_config_t CYBSP_A11_config; +#define CYBSP_J2_8_config CYBSP_A11_config +#define CYBSP_TRACE_DATA0_config CYBSP_A11_config +#if defined (CY_USING_HAL) + extern const cyhal_resource_inst_t CYBSP_A11_obj; + #define CYBSP_J2_8_obj CYBSP_A11_obj + #define CYBSP_TRACE_DATA0_obj CYBSP_A11_obj #endif //defined (CY_USING_HAL) void init_cycfg_pins(void); diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.c index f33be06fa9..b97cf1e554 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.c @@ -4,7 +4,7 @@ * Description: * Provides definitions of the SMIF-driver memory configuration. * This file was automatically generated and should not be modified. -* QSPI Configurator 4.0.0.985 +* QSPI Configurator 4.10.0.1343 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -60,7 +60,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_readCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -98,7 +98,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_writeEnCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -136,7 +136,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_writeDisCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -174,7 +174,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_eraseCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -212,7 +212,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_chipEraseCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -250,7 +250,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_programCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -288,7 +288,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_readStsRegQeCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -326,7 +326,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_readStsRegWipCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -364,7 +364,7 @@ const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_writeStsRegQeCmd = /* The high byte of a 16-bit command. This value is 0x0 when there is no higher byte command present */ .commandH = 0x00, /* The Data rate of command */ - .cmdRate = CY_SMIF_SDR + .cmdRate = CY_SMIF_SDR, #endif /* CY_IP_MXSMIF_VERSION */ }; @@ -409,7 +409,29 @@ const cy_stc_smif_mem_device_cfg_t deviceCfg_S25FL512S_SlaveSlot_0 = #if (CY_SMIF_DRV_VERSION_MAJOR > 1) || (CY_SMIF_DRV_VERSION_MINOR >= 50) /* Points to NULL or to structure with info about sectors for hybrid memory. */ .hybridRegionCount = 0U, - .hybridRegionInfo = NULL + .hybridRegionInfo = 0, +#endif + /* Specifies the command to read variable latency cycles configuration register */ + .readLatencyCmd = 0, + /* Specifies the command to write variable latency cycles configuration register */ + .writeLatencyCmd = 0, + /* Specifies the address for variable latency cycle address */ + .latencyCyclesRegAddr = 0x00U, + /* Specifies variable latency cycles Mask */ + .latencyCyclesMask = 0x00U, +#if (CY_IP_MXSMIF_VERSION >= 2) + /* Specifies data for memory with hybrid sectors */ + .octalDDREnableSeq = 0, + /* Specifies the command to read the OE-containing status register. */ + .readStsRegOeCmd = 0, + /* Specifies the command to write the OE-containing status register. */ + .writeStsRegOeCmd = 0, + /* QE mask for the status registers */ + .stsRegOctalEnableMask = 0x00U, + /* Octal enable register address */ + .octalEnableRegAddr = 0x00U, + /* Frequency of operation used in Octal mode */ + .freq_of_operation = CY_SMIF_100MHZ_OPERATION, #endif }; @@ -441,12 +463,12 @@ const cy_stc_smif_mem_config_t S25FL512S_SlaveSlot_0 = * After this period the memory device is deselected. A later transfer, even from a * continuous address, starts with the overhead phases (command, address, mode, dummy cycles). * This configuration parameter is available for CAT1B devices. */ - .mergeTimeout = CY_SMIF_MERGE_TIMEOUT_1_CYCLE + .mergeTimeout = CY_SMIF_MERGE_TIMEOUT_1_CYCLE, #endif /* CY_IP_MXSMIF_VERSION */ }; const cy_stc_smif_mem_config_t* const smifMemConfigs[CY_SMIF_DEVICE_NUM] = { - &S25FL512S_SlaveSlot_0 + &S25FL512S_SlaveSlot_0, }; const cy_stc_smif_block_config_t smifBlockConfig = @@ -458,5 +480,5 @@ const cy_stc_smif_block_config_t smifBlockConfig = /* The version of the SMIF driver. */ .majorVersion = CY_SMIF_DRV_VERSION_MAJOR, /* The version of the SMIF driver. */ - .minorVersion = CY_SMIF_DRV_VERSION_MINOR + .minorVersion = CY_SMIF_DRV_VERSION_MINOR, }; diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.h index ed28002ec4..bdbc6f0d39 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.h @@ -4,7 +4,7 @@ * Description: * Provides declarations of the SMIF-driver memory configuration. * This file was automatically generated and should not be modified. -* QSPI Configurator 4.0.0.985 +* QSPI Configurator 4.10.0.1343 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -28,7 +28,7 @@ #define CYCFG_QSPI_MEMSLOT_H #include "cy_smif_memslot.h" -#define CY_SMIF_CFG_TOOL_VERSION (400) +#define CY_SMIF_CFG_TOOL_VERSION (410) /* Supported QSPI Driver version */ #define CY_SMIF_DRV_VERSION_REQUIRED (100) @@ -42,6 +42,9 @@ #error The QSPI Configurator requires a newer version of the PDL. Update the PDL in your project. #endif +typedef cy_stc_smif_mem_config_t cy_serial_flash_mem_config_t; +typedef cy_stc_smif_block_config_t cy_serial_flash_block_config_t; + #define CY_SMIF_DEVICE_NUM 1 extern const cy_stc_smif_mem_cmd_t S25FL512S_SlaveSlot_0_readCmd; diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.timestamp b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.timestamp new file mode 100644 index 0000000000..90a540cb4d --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_qspi_memslot.timestamp @@ -0,0 +1,26 @@ +/******************************************************************************* +* File Name: cycfg_qspi_memslot.timestamp +* +* Description: +* Sentinel file for determining if generated source is up to date. +* This file was automatically generated and should not be modified. +* QSPI Configurator 4.10.0.1343 +* +******************************************************************************** +* Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or +* an affiliate of Cypress Semiconductor Corporation. +* SPDX-License-Identifier: Apache-2.0 +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +********************************************************************************/ + diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_routing.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_routing.c index 87555314bf..1d2ebf78b3 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_routing.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_routing.c @@ -5,8 +5,8 @@ * Establishes all necessary connections between hardware elements. * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_routing.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_routing.h index ec57d43a59..e95f05b3b1 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_routing.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_routing.h @@ -5,8 +5,8 @@ * Establishes all necessary connections between hardware elements. * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_system.c b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_system.c index 09846836bf..323a4a506f 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_system.c +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_system.c @@ -5,8 +5,8 @@ * System configuration * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -33,6 +33,13 @@ #define CY_CFG_SYSCLK_PLL_ERROR 3 #define CY_CFG_SYSCLK_FLL_ERROR 4 #define CY_CFG_SYSCLK_WCO_ERROR 5 +#define CY_CFG_SYSCLK_CLKALTSYSTICK_ENABLED 1 +#define CY_CFG_SYSCLK_CLKALTSYSTICK_SOURCE CY_SYSTICK_CLOCK_SOURCE_CLK_LF +#define CY_CFG_SYSCLK_CLKALTSYSTICK_INTERVAL 0 +#define CY_CFG_SYSCLK_CLKALTSYSTICK_FREQUENCY 32768 +#define CY_CFG_SYSCLK_CLKALTSYSTICK_TICKS ((0)/1000000.0)*32768 +#define CY_CFG_SYSCLK_CLKBAK_ENABLED 1 +#define CY_CFG_SYSCLK_CLKBAK_SOURCE CY_SYSCLK_BAK_IN_CLKLF #define CY_CFG_SYSCLK_CLKFAST_ENABLED 1 #define CY_CFG_SYSCLK_CLKFAST_DIVIDER 0 #define CY_CFG_SYSCLK_FLL_ENABLED 1 @@ -51,21 +58,10 @@ #define CY_CFG_SYSCLK_CLKHF0_DIVIDER CY_SYSCLK_CLKHF_NO_DIVIDE #define CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ 100UL #define CY_CFG_SYSCLK_CLKHF0_CLKPATH CY_SYSCLK_CLKHF_IN_CLKPATH0 -#define CY_CFG_SYSCLK_CLKHF1_ENABLED 1 -#define CY_CFG_SYSCLK_CLKHF1_DIVIDER CY_SYSCLK_CLKHF_NO_DIVIDE -#define CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ 100UL -#define CY_CFG_SYSCLK_CLKHF1_CLKPATH CY_SYSCLK_CLKHF_IN_CLKPATH0 -#define CY_CFG_SYSCLK_CLKHF3_ENABLED 1 -#define CY_CFG_SYSCLK_CLKHF3_DIVIDER CY_SYSCLK_CLKHF_NO_DIVIDE -#define CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ 100UL -#define CY_CFG_SYSCLK_CLKHF3_CLKPATH CY_SYSCLK_CLKHF_IN_CLKPATH0 -#define CY_CFG_SYSCLK_CLKHF4_ENABLED 1 -#define CY_CFG_SYSCLK_CLKHF4_DIVIDER CY_SYSCLK_CLKHF_NO_DIVIDE -#define CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ 100UL -#define CY_CFG_SYSCLK_CLKHF4_CLKPATH CY_SYSCLK_CLKHF_IN_CLKPATH0 #define CY_CFG_SYSCLK_ILO_ENABLED 1 #define CY_CFG_SYSCLK_ILO_HIBERNATE true #define CY_CFG_SYSCLK_IMO_ENABLED 1 +#define CY_CFG_SYSCLK_CLKLF_ENABLED 1 #define CY_CFG_SYSCLK_CLKPATH0_ENABLED 1 #define CY_CFG_SYSCLK_CLKPATH0_SOURCE CY_SYSCLK_CLKPATH_IN_IMO #define CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM 0UL @@ -93,13 +89,6 @@ #define CY_CFG_SYSCLK_PLL0_LF_MODE false #define CY_CFG_SYSCLK_PLL0_OUTPUT_MODE CY_SYSCLK_FLLPLL_OUTPUT_AUTO #define CY_CFG_SYSCLK_PLL0_OUTPUT_FREQ 48000000 -#define CY_CFG_SYSCLK_PLL1_ENABLED 1 -#define CY_CFG_SYSCLK_PLL1_FEEDBACK_DIV 25 -#define CY_CFG_SYSCLK_PLL1_REFERENCE_DIV 1 -#define CY_CFG_SYSCLK_PLL1_OUTPUT_DIV 2 -#define CY_CFG_SYSCLK_PLL1_LF_MODE false -#define CY_CFG_SYSCLK_PLL1_OUTPUT_MODE CY_SYSCLK_FLLPLL_OUTPUT_AUTO -#define CY_CFG_SYSCLK_PLL1_OUTPUT_FREQ 100000000 #define CY_CFG_SYSCLK_CLKSLOW_ENABLED 1 #define CY_CFG_SYSCLK_CLKSLOW_DIVIDER 0 #define CY_CFG_SYSCLK_CLKTIMER_ENABLED 1 @@ -118,7 +107,7 @@ static cy_stc_pra_system_config_t srss_0_clock_0_secureConfig; #endif //defined (CY_DEVICE_SECURE) #if (!defined(CY_DEVICE_SECURE)) - static const cy_stc_fll_manual_config_t srss_0_clock_0_fll_0_fllConfig = + static const cy_stc_fll_manual_config_t srss_0_clock_0_fll_0_fllConfig = { .fllMult = 500U, .refDiv = 20U, @@ -133,37 +122,37 @@ }; #endif //(!defined(CY_DEVICE_SECURE)) #if defined (CY_USING_HAL) - const cyhal_resource_inst_t srss_0_clock_0_pathmux_0_obj = + const cyhal_resource_inst_t srss_0_clock_0_pathmux_0_obj = { .type = CYHAL_RSC_CLKPATH, .block_num = 0U, .channel_num = 0U, }; - const cyhal_resource_inst_t srss_0_clock_0_pathmux_1_obj = + const cyhal_resource_inst_t srss_0_clock_0_pathmux_1_obj = { .type = CYHAL_RSC_CLKPATH, .block_num = 1U, .channel_num = 0U, }; - const cyhal_resource_inst_t srss_0_clock_0_pathmux_2_obj = + const cyhal_resource_inst_t srss_0_clock_0_pathmux_2_obj = { .type = CYHAL_RSC_CLKPATH, .block_num = 2U, .channel_num = 0U, }; - const cyhal_resource_inst_t srss_0_clock_0_pathmux_3_obj = + const cyhal_resource_inst_t srss_0_clock_0_pathmux_3_obj = { .type = CYHAL_RSC_CLKPATH, .block_num = 3U, .channel_num = 0U, }; - const cyhal_resource_inst_t srss_0_clock_0_pathmux_4_obj = + const cyhal_resource_inst_t srss_0_clock_0_pathmux_4_obj = { .type = CYHAL_RSC_CLKPATH, .block_num = 4U, .channel_num = 0U, }; - const cyhal_resource_inst_t srss_0_clock_0_pathmux_5_obj = + const cyhal_resource_inst_t srss_0_clock_0_pathmux_5_obj = { .type = CYHAL_RSC_CLKPATH, .block_num = 5U, @@ -171,7 +160,7 @@ }; #endif //defined (CY_USING_HAL) #if (!defined(CY_DEVICE_SECURE)) - static const cy_stc_pll_manual_config_t srss_0_clock_0_pll_0_pllConfig = + static const cy_stc_pll_manual_config_t srss_0_clock_0_pll_0_pllConfig = { .feedbackDiv = 30, .referenceDiv = 1, @@ -179,14 +168,6 @@ .lfMode = false, .outputMode = CY_SYSCLK_FLLPLL_OUTPUT_AUTO, }; - static const cy_stc_pll_manual_config_t srss_0_clock_0_pll_1_pllConfig = - { - .feedbackDiv = 25, - .referenceDiv = 1, - .outputDiv = 2, - .lfMode = false, - .outputMode = CY_SYSCLK_FLLPLL_OUTPUT_AUTO, - }; #endif //(!defined(CY_DEVICE_SECURE)) __WEAK void __NO_RETURN cycfg_ClockStartupError(uint32_t error) @@ -206,473 +187,481 @@ __WEAK void __NO_RETURN cycfg_ClockStartupError(uint32_t error) #ifdef CY_CFG_PWR_ENABLED secure_config->powerEnable = CY_CFG_PWR_ENABLED; #endif /* CY_CFG_PWR_ENABLED */ - + #ifdef CY_CFG_PWR_USING_LDO secure_config->ldoEnable = CY_CFG_PWR_USING_LDO; #endif /* CY_CFG_PWR_USING_LDO */ - + #ifdef CY_CFG_PWR_USING_PMIC secure_config->pmicEnable = CY_CFG_PWR_USING_PMIC; #endif /* CY_CFG_PWR_USING_PMIC */ - + #ifdef CY_CFG_PWR_VBACKUP_USING_VDDD secure_config->vBackupVDDDEnable = CY_CFG_PWR_VBACKUP_USING_VDDD; #endif /* CY_CFG_PWR_VBACKUP_USING_VDDD */ - + #ifdef CY_CFG_PWR_USING_ULP secure_config->ulpEnable = CY_CFG_PWR_USING_ULP; #endif /* CY_CFG_PWR_USING_ULP */ - + #ifdef CY_CFG_SYSCLK_ECO_ENABLED secure_config->ecoEnable = CY_CFG_SYSCLK_ECO_ENABLED; #endif /* CY_CFG_SYSCLK_ECO_ENABLED */ - + #ifdef CY_CFG_SYSCLK_EXTCLK_ENABLED secure_config->extClkEnable = CY_CFG_SYSCLK_EXTCLK_ENABLED; #endif /* CY_CFG_SYSCLK_EXTCLK_ENABLED */ - + #ifdef CY_CFG_SYSCLK_ILO_ENABLED secure_config->iloEnable = CY_CFG_SYSCLK_ILO_ENABLED; #endif /* CY_CFG_SYSCLK_ILO_ENABLED */ - + #ifdef CY_CFG_SYSCLK_WCO_ENABLED secure_config->wcoEnable = CY_CFG_SYSCLK_WCO_ENABLED; #endif /* CY_CFG_SYSCLK_WCO_ENABLED */ - + #ifdef CY_CFG_SYSCLK_FLL_ENABLED secure_config->fllEnable = CY_CFG_SYSCLK_FLL_ENABLED; #endif /* CY_CFG_SYSCLK_FLL_ENABLED */ - + #ifdef CY_CFG_SYSCLK_PLL0_ENABLED secure_config->pll0Enable = CY_CFG_SYSCLK_PLL0_ENABLED; #endif /* CY_CFG_SYSCLK_PLL0_ENABLED */ - + #ifdef CY_CFG_SYSCLK_PLL1_ENABLED secure_config->pll1Enable = CY_CFG_SYSCLK_PLL1_ENABLED; #endif /* CY_CFG_SYSCLK_PLL1_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKPATH0_ENABLED secure_config->path0Enable = CY_CFG_SYSCLK_CLKPATH0_ENABLED; #endif /* CY_CFG_SYSCLK_CLKPATH0_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKPATH1_ENABLED secure_config->path1Enable = CY_CFG_SYSCLK_CLKPATH1_ENABLED; #endif /* CY_CFG_SYSCLK_CLKPATH1_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKPATH2_ENABLED secure_config->path2Enable = CY_CFG_SYSCLK_CLKPATH2_ENABLED; #endif /* CY_CFG_SYSCLK_CLKPATH2_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKPATH3_ENABLED secure_config->path3Enable = CY_CFG_SYSCLK_CLKPATH3_ENABLED; #endif /* CY_CFG_SYSCLK_CLKPATH3_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKPATH4_ENABLED secure_config->path4Enable = CY_CFG_SYSCLK_CLKPATH4_ENABLED; #endif /* CY_CFG_SYSCLK_CLKPATH4_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKPATH5_ENABLED secure_config->path5Enable = CY_CFG_SYSCLK_CLKPATH5_ENABLED; #endif /* CY_CFG_SYSCLK_CLKPATH5_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKFAST_ENABLED secure_config->clkFastEnable = CY_CFG_SYSCLK_CLKFAST_ENABLED; #endif /* CY_CFG_SYSCLK_CLKFAST_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKPERI_ENABLED secure_config->clkPeriEnable = CY_CFG_SYSCLK_CLKPERI_ENABLED; #endif /* CY_CFG_SYSCLK_CLKPERI_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKSLOW_ENABLED secure_config->clkSlowEnable = CY_CFG_SYSCLK_CLKSLOW_ENABLED; #endif /* CY_CFG_SYSCLK_CLKSLOW_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKHF0_ENABLED secure_config->clkHF0Enable = CY_CFG_SYSCLK_CLKHF0_ENABLED; #endif /* CY_CFG_SYSCLK_CLKHF0_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKHF1_ENABLED secure_config->clkHF1Enable = CY_CFG_SYSCLK_CLKHF1_ENABLED; #endif /* CY_CFG_SYSCLK_CLKHF1_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKHF2_ENABLED secure_config->clkHF2Enable = CY_CFG_SYSCLK_CLKHF2_ENABLED; #endif /* CY_CFG_SYSCLK_CLKHF2_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKHF3_ENABLED secure_config->clkHF3Enable = CY_CFG_SYSCLK_CLKHF3_ENABLED; #endif /* CY_CFG_SYSCLK_CLKHF3_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKHF4_ENABLED secure_config->clkHF4Enable = CY_CFG_SYSCLK_CLKHF4_ENABLED; #endif /* CY_CFG_SYSCLK_CLKHF4_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKHF5_ENABLED secure_config->clkHF5Enable = CY_CFG_SYSCLK_CLKHF5_ENABLED; #endif /* CY_CFG_SYSCLK_CLKHF5_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKPUMP_ENABLED secure_config->clkPumpEnable = CY_CFG_SYSCLK_CLKPUMP_ENABLED; #endif /* CY_CFG_SYSCLK_CLKPUMP_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKLF_ENABLED secure_config->clkLFEnable = CY_CFG_SYSCLK_CLKLF_ENABLED; #endif /* CY_CFG_SYSCLK_CLKLF_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKBAK_ENABLED secure_config->clkBakEnable = CY_CFG_SYSCLK_CLKBAK_ENABLED; #endif /* CY_CFG_SYSCLK_CLKBAK_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKTIMER_ENABLED secure_config->clkTimerEnable = CY_CFG_SYSCLK_CLKTIMER_ENABLED; #endif /* CY_CFG_SYSCLK_CLKTIMER_ENABLED */ - + #ifdef CY_CFG_SYSCLK_CLKALTSYSTICK_ENABLED - #error Configuration Error : ALT SYSTICK cannot be enabled for Secure devices. + #error Configuration Error : ALT SYSTICK cannot be enabled for Secure devices. #endif /* CY_CFG_SYSCLK_CLKALTSYSTICK_ENABLED */ - + #ifdef CY_CFG_SYSCLK_PILO_ENABLED secure_config->piloEnable = CY_CFG_SYSCLK_PILO_ENABLED; #endif /* CY_CFG_SYSCLK_PILO_ENABLED */ - + #ifdef CY_CFG_SYSCLK_ALTHF_ENABLED secure_config->clkAltHfEnable = CY_CFG_SYSCLK_ALTHF_ENABLED; #endif /* CY_CFG_SYSCLK_ALTHF_ENABLED */ - + #ifdef CY_CFG_PWR_LDO_VOLTAGE secure_config->ldoVoltage = CY_CFG_PWR_LDO_VOLTAGE; #endif /* CY_CFG_PWR_LDO_VOLTAGE */ - + #ifdef CY_CFG_PWR_REGULATOR_MODE_MIN secure_config->pwrCurrentModeMin = CY_CFG_PWR_REGULATOR_MODE_MIN; #endif /* CY_CFG_PWR_REGULATOR_MODE_MIN */ - + #ifdef CY_CFG_PWR_BUCK_VOLTAGE secure_config->buckVoltage = CY_CFG_PWR_BUCK_VOLTAGE; #endif /* CY_CFG_PWR_BUCK_VOLTAGE */ - + #ifdef CY_CFG_SYSCLK_ECO_FREQ secure_config->ecoFreqHz = CY_CFG_SYSCLK_ECO_FREQ; #endif /* CY_CFG_SYSCLK_ECO_FREQ */ - + #ifdef CY_CFG_SYSCLK_ECO_CLOAD secure_config->ecoLoad = CY_CFG_SYSCLK_ECO_CLOAD; #endif /* CY_CFG_SYSCLK_ECO_CLOAD */ - + #ifdef CY_CFG_SYSCLK_ECO_ESR secure_config->ecoEsr = CY_CFG_SYSCLK_ECO_ESR; #endif /* CY_CFG_SYSCLK_ECO_ESR */ - + #ifdef CY_CFG_SYSCLK_ECO_DRIVE_LEVEL secure_config->ecoDriveLevel = CY_CFG_SYSCLK_ECO_DRIVE_LEVEL; #endif /* CY_CFG_SYSCLK_ECO_DRIVE_LEVEL */ - + #ifdef CY_CFG_SYSCLK_ECO_GPIO_IN_PRT secure_config->ecoInPort = CY_CFG_SYSCLK_ECO_GPIO_IN_PRT; #endif /* CY_CFG_SYSCLK_ECO_GPIO_IN_PRT */ - + #ifdef CY_CFG_SYSCLK_ECO_GPIO_OUT_PRT secure_config->ecoOutPort = CY_CFG_SYSCLK_ECO_GPIO_OUT_PRT; #endif /* CY_CFG_SYSCLK_ECO_GPIO_OUT_PRT */ - + #ifdef CY_CFG_SYSCLK_ECO_GPIO_IN_PIN secure_config->ecoInPinNum = CY_CFG_SYSCLK_ECO_GPIO_IN_PIN; #endif /* CY_CFG_SYSCLK_ECO_GPIO_IN_PIN */ - + #ifdef CY_CFG_SYSCLK_ECO_GPIO_OUT_PIN secure_config->ecoOutPinNum = CY_CFG_SYSCLK_ECO_GPIO_OUT_PIN; #endif /* CY_CFG_SYSCLK_ECO_GPIO_OUT_PIN */ - + #ifdef CY_CFG_SYSCLK_EXTCLK_FREQ secure_config->extClkFreqHz = CY_CFG_SYSCLK_EXTCLK_FREQ; #endif /* CY_CFG_SYSCLK_EXTCLK_FREQ */ - + #ifdef CY_CFG_SYSCLK_EXTCLK_GPIO_PRT secure_config->extClkPort = CY_CFG_SYSCLK_EXTCLK_GPIO_PRT; #endif /* CY_CFG_SYSCLK_EXTCLK_GPIO_PRT */ - + #ifdef CY_CFG_SYSCLK_EXTCLK_GPIO_PIN secure_config->extClkPinNum = CY_CFG_SYSCLK_EXTCLK_GPIO_PIN; #endif /* CY_CFG_SYSCLK_EXTCLK_GPIO_PIN */ - + #ifdef CY_CFG_SYSCLK_EXTCLK_GPIO_HSIOM secure_config->extClkHsiom = CY_CFG_SYSCLK_EXTCLK_GPIO_HSIOM; #endif /* CY_CFG_SYSCLK_EXTCLK_GPIO_HSIOM */ - + #ifdef CY_CFG_SYSCLK_ILO_HIBERNATE secure_config->iloHibernateON = CY_CFG_SYSCLK_ILO_HIBERNATE; #endif /* CY_CFG_SYSCLK_ILO_HIBERNATE */ - + #ifdef CY_CFG_SYSCLK_WCO_BYPASS secure_config->bypassEnable = CY_CFG_SYSCLK_WCO_BYPASS; #endif /* CY_CFG_SYSCLK_WCO_BYPASS */ - + #ifdef CY_CFG_SYSCLK_WCO_IN_PRT secure_config->wcoInPort = CY_CFG_SYSCLK_WCO_IN_PRT; #endif /* CY_CFG_SYSCLK_WCO_IN_PRT */ - + #ifdef CY_CFG_SYSCLK_WCO_OUT_PRT secure_config->wcoOutPort = CY_CFG_SYSCLK_WCO_OUT_PRT; #endif /* CY_CFG_SYSCLK_WCO_OUT_PRT */ - + #ifdef CY_CFG_SYSCLK_WCO_IN_PIN secure_config->wcoInPinNum = CY_CFG_SYSCLK_WCO_IN_PIN; #endif /* CY_CFG_SYSCLK_WCO_IN_PIN */ - + #ifdef CY_CFG_SYSCLK_WCO_OUT_PIN secure_config->wcoOutPinNum = CY_CFG_SYSCLK_WCO_OUT_PIN; #endif /* CY_CFG_SYSCLK_WCO_OUT_PIN */ - + #ifdef CY_CFG_SYSCLK_FLL_OUT_FREQ secure_config->fllOutFreqHz = CY_CFG_SYSCLK_FLL_OUT_FREQ; #endif /* CY_CFG_SYSCLK_FLL_OUT_FREQ */ - + #ifdef CY_CFG_SYSCLK_FLL_MULT secure_config->fllMult = CY_CFG_SYSCLK_FLL_MULT; #endif /* CY_CFG_SYSCLK_FLL_MULT */ - + #ifdef CY_CFG_SYSCLK_FLL_REFDIV secure_config->fllRefDiv = CY_CFG_SYSCLK_FLL_REFDIV; #endif /* CY_CFG_SYSCLK_FLL_REFDIV */ - + #ifdef CY_CFG_SYSCLK_FLL_CCO_RANGE secure_config->fllCcoRange = CY_CFG_SYSCLK_FLL_CCO_RANGE; #endif /* CY_CFG_SYSCLK_FLL_CCO_RANGE */ - + #ifdef CY_CFG_SYSCLK_FLL_ENABLE_OUTDIV secure_config->enableOutputDiv = CY_CFG_SYSCLK_FLL_ENABLE_OUTDIV; #endif /* CY_CFG_SYSCLK_FLL_ENABLE_OUTDIV */ - + #ifdef CY_CFG_SYSCLK_FLL_LOCK_TOLERANCE secure_config->lockTolerance = CY_CFG_SYSCLK_FLL_LOCK_TOLERANCE; #endif /* CY_CFG_SYSCLK_FLL_LOCK_TOLERANCE */ - + #ifdef CY_CFG_SYSCLK_FLL_IGAIN secure_config->igain = CY_CFG_SYSCLK_FLL_IGAIN; #endif /* CY_CFG_SYSCLK_FLL_IGAIN */ - + #ifdef CY_CFG_SYSCLK_FLL_PGAIN secure_config->pgain = CY_CFG_SYSCLK_FLL_PGAIN; #endif /* CY_CFG_SYSCLK_FLL_PGAIN */ - + #ifdef CY_CFG_SYSCLK_FLL_SETTLING_COUNT secure_config->settlingCount = CY_CFG_SYSCLK_FLL_SETTLING_COUNT; #endif /* CY_CFG_SYSCLK_FLL_SETTLING_COUNT */ - + #ifdef CY_CFG_SYSCLK_FLL_OUTPUT_MODE secure_config->outputMode = CY_CFG_SYSCLK_FLL_OUTPUT_MODE; #endif /* CY_CFG_SYSCLK_FLL_OUTPUT_MODE */ - + #ifdef CY_CFG_SYSCLK_FLL_CCO_FREQ secure_config->ccoFreq = CY_CFG_SYSCLK_FLL_CCO_FREQ; #endif /* CY_CFG_SYSCLK_FLL_CCO_FREQ */ - + #ifdef CY_CFG_SYSCLK_PLL0_FEEDBACK_DIV secure_config->pll0FeedbackDiv = CY_CFG_SYSCLK_PLL0_FEEDBACK_DIV; #endif /* CY_CFG_SYSCLK_PLL0_FEEDBACK_DIV */ - + #ifdef CY_CFG_SYSCLK_PLL0_REFERENCE_DIV secure_config->pll0ReferenceDiv = CY_CFG_SYSCLK_PLL0_REFERENCE_DIV; #endif /* CY_CFG_SYSCLK_PLL0_REFERENCE_DIV */ - + #ifdef CY_CFG_SYSCLK_PLL0_OUTPUT_DIV secure_config->pll0OutputDiv = CY_CFG_SYSCLK_PLL0_OUTPUT_DIV; #endif /* CY_CFG_SYSCLK_PLL0_OUTPUT_DIV */ - + #ifdef CY_CFG_SYSCLK_PLL0_LF_MODE secure_config->pll0LfMode = CY_CFG_SYSCLK_PLL0_LF_MODE; #endif /* CY_CFG_SYSCLK_PLL0_LF_MODE */ - + #ifdef CY_CFG_SYSCLK_PLL0_OUTPUT_MODE secure_config->pll0OutputMode = CY_CFG_SYSCLK_PLL0_OUTPUT_MODE; #endif /* CY_CFG_SYSCLK_PLL0_OUTPUT_MODE */ - + #ifdef CY_CFG_SYSCLK_PLL0_OUTPUT_FREQ secure_config->pll0OutFreqHz = CY_CFG_SYSCLK_PLL0_OUTPUT_FREQ; #endif /* CY_CFG_SYSCLK_PLL0_OUTPUT_FREQ */ - + #ifdef CY_CFG_SYSCLK_PLL1_FEEDBACK_DIV secure_config->pll1FeedbackDiv = CY_CFG_SYSCLK_PLL1_FEEDBACK_DIV; #endif /* CY_CFG_SYSCLK_PLL1_FEEDBACK_DIV */ - + #ifdef CY_CFG_SYSCLK_PLL1_REFERENCE_DIV secure_config->pll1ReferenceDiv = CY_CFG_SYSCLK_PLL1_REFERENCE_DIV; #endif /* CY_CFG_SYSCLK_PLL1_REFERENCE_DIV */ - + #ifdef CY_CFG_SYSCLK_PLL1_OUTPUT_DIV secure_config->pll1OutputDiv = CY_CFG_SYSCLK_PLL1_OUTPUT_DIV; #endif /* CY_CFG_SYSCLK_PLL1_OUTPUT_DIV */ - + #ifdef CY_CFG_SYSCLK_PLL1_LF_MODE secure_config->pll1LfMode = CY_CFG_SYSCLK_PLL1_LF_MODE; #endif /* CY_CFG_SYSCLK_PLL1_LF_MODE */ - + #ifdef CY_CFG_SYSCLK_PLL1_OUTPUT_MODE secure_config->pll1OutputMode = CY_CFG_SYSCLK_PLL1_OUTPUT_MODE; #endif /* CY_CFG_SYSCLK_PLL1_OUTPUT_MODE */ - + #ifdef CY_CFG_SYSCLK_PLL1_OUTPUT_FREQ secure_config->pll1OutFreqHz = CY_CFG_SYSCLK_PLL1_OUTPUT_FREQ; #endif /* CY_CFG_SYSCLK_PLL1_OUTPUT_FREQ */ - + #ifdef CY_CFG_SYSCLK_CLKPATH0_SOURCE secure_config->path0Src = CY_CFG_SYSCLK_CLKPATH0_SOURCE; #endif /* CY_CFG_SYSCLK_CLKPATH0_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKPATH1_SOURCE secure_config->path1Src = CY_CFG_SYSCLK_CLKPATH1_SOURCE; #endif /* CY_CFG_SYSCLK_CLKPATH1_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKPATH2_SOURCE secure_config->path2Src = CY_CFG_SYSCLK_CLKPATH2_SOURCE; #endif /* CY_CFG_SYSCLK_CLKPATH2_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKPATH3_SOURCE secure_config->path3Src = CY_CFG_SYSCLK_CLKPATH3_SOURCE; #endif /* CY_CFG_SYSCLK_CLKPATH3_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKPATH4_SOURCE secure_config->path4Src = CY_CFG_SYSCLK_CLKPATH4_SOURCE; #endif /* CY_CFG_SYSCLK_CLKPATH4_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKPATH5_SOURCE secure_config->path5Src = CY_CFG_SYSCLK_CLKPATH5_SOURCE; #endif /* CY_CFG_SYSCLK_CLKPATH5_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKFAST_DIVIDER secure_config->clkFastDiv = CY_CFG_SYSCLK_CLKFAST_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKFAST_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKPERI_DIVIDER secure_config->clkPeriDiv = CY_CFG_SYSCLK_CLKPERI_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKPERI_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKSLOW_DIVIDER secure_config->clkSlowDiv = CY_CFG_SYSCLK_CLKSLOW_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKSLOW_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKHF0_CLKPATH secure_config->hf0Source = CY_CFG_SYSCLK_CLKHF0_CLKPATH; #endif /* CY_CFG_SYSCLK_CLKHF0_CLKPATH */ - + #ifdef CY_CFG_SYSCLK_CLKHF0_DIVIDER secure_config->hf0Divider = CY_CFG_SYSCLK_CLKHF0_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKHF0_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ secure_config->hf0OutFreqMHz = CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ; #endif /* CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ */ - + #ifdef CY_CFG_SYSCLK_CLKHF1_CLKPATH secure_config->hf1Source = CY_CFG_SYSCLK_CLKHF1_CLKPATH; #endif /* CY_CFG_SYSCLK_CLKHF1_CLKPATH */ - + #ifdef CY_CFG_SYSCLK_CLKHF1_DIVIDER secure_config->hf1Divider = CY_CFG_SYSCLK_CLKHF1_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKHF1_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ secure_config->hf1OutFreqMHz = CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ; #endif /* CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ */ - + #ifdef CY_CFG_SYSCLK_CLKHF2_CLKPATH secure_config->hf2Source = CY_CFG_SYSCLK_CLKHF2_CLKPATH; #endif /* CY_CFG_SYSCLK_CLKHF2_CLKPATH */ - + #ifdef CY_CFG_SYSCLK_CLKHF2_DIVIDER secure_config->hf2Divider = CY_CFG_SYSCLK_CLKHF2_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKHF2_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKHF2_FREQ_MHZ secure_config->hf2OutFreqMHz = CY_CFG_SYSCLK_CLKHF2_FREQ_MHZ; #endif /* CY_CFG_SYSCLK_CLKHF2_FREQ_MHZ */ - + #ifdef CY_CFG_SYSCLK_CLKHF3_CLKPATH secure_config->hf3Source = CY_CFG_SYSCLK_CLKHF3_CLKPATH; #endif /* CY_CFG_SYSCLK_CLKHF3_CLKPATH */ - + #ifdef CY_CFG_SYSCLK_CLKHF3_DIVIDER secure_config->hf3Divider = CY_CFG_SYSCLK_CLKHF3_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKHF3_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ secure_config->hf3OutFreqMHz = CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ; #endif /* CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ */ - + #ifdef CY_CFG_SYSCLK_CLKHF4_CLKPATH secure_config->hf4Source = CY_CFG_SYSCLK_CLKHF4_CLKPATH; #endif /* CY_CFG_SYSCLK_CLKHF4_CLKPATH */ - + #ifdef CY_CFG_SYSCLK_CLKHF4_DIVIDER secure_config->hf4Divider = CY_CFG_SYSCLK_CLKHF4_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKHF4_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ secure_config->hf4OutFreqMHz = CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ; #endif /* CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ */ - + #ifdef CY_CFG_SYSCLK_CLKHF5_CLKPATH secure_config->hf5Source = CY_CFG_SYSCLK_CLKHF5_CLKPATH; #endif /* CY_CFG_SYSCLK_CLKHF5_CLKPATH */ - + #ifdef CY_CFG_SYSCLK_CLKHF5_DIVIDER secure_config->hf5Divider = CY_CFG_SYSCLK_CLKHF5_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKHF5_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKHF5_FREQ_MHZ secure_config->hf5OutFreqMHz = CY_CFG_SYSCLK_CLKHF5_FREQ_MHZ; #endif /* CY_CFG_SYSCLK_CLKHF5_FREQ_MHZ */ - + #ifdef CY_CFG_SYSCLK_CLKPUMP_SOURCE secure_config->pumpSource = CY_CFG_SYSCLK_CLKPUMP_SOURCE; #endif /* CY_CFG_SYSCLK_CLKPUMP_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKPUMP_DIVIDER secure_config->pumpDivider = CY_CFG_SYSCLK_CLKPUMP_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKPUMP_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKLF_SOURCE secure_config->clkLfSource = CY_CFG_SYSCLK_CLKLF_SOURCE; #endif /* CY_CFG_SYSCLK_CLKLF_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKBAK_SOURCE secure_config->clkBakSource = CY_CFG_SYSCLK_CLKBAK_SOURCE; #endif /* CY_CFG_SYSCLK_CLKBAK_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKTIMER_SOURCE secure_config->clkTimerSource = CY_CFG_SYSCLK_CLKTIMER_SOURCE; #endif /* CY_CFG_SYSCLK_CLKTIMER_SOURCE */ - + #ifdef CY_CFG_SYSCLK_CLKTIMER_DIVIDER secure_config->clkTimerDivider = CY_CFG_SYSCLK_CLKTIMER_DIVIDER; #endif /* CY_CFG_SYSCLK_CLKTIMER_DIVIDER */ - + #ifdef CY_CFG_SYSCLK_CLKALTSYSTICK_SOURCE secure_config->clkSrcAltSysTick = CY_CFG_SYSCLK_CLKALTSYSTICK_SOURCE; #endif /* CY_CFG_SYSCLK_CLKALTSYSTICK_SOURCE */ - + #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLOAD secure_config->altHFcLoad = CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLOAD; #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLOAD */ - + #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_TIME secure_config->altHFxtalStartUpTime = CY_CFG_SYSCLK_ALTHF_BLE_ECO_TIME; #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_TIME */ - + #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_FREQ secure_config->altHFclkFreq = CY_CFG_SYSCLK_ALTHF_BLE_ECO_FREQ; #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_FREQ */ - + #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLK_DIV secure_config->altHFsysClkDiv = CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLK_DIV; #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLK_DIV */ - + #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_VOL_REGULATOR secure_config->altHFvoltageReg = CY_CFG_SYSCLK_ALTHF_BLE_ECO_VOL_REGULATOR; #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_VOL_REGULATOR */ } #endif //defined (CY_DEVICE_SECURE) +__STATIC_INLINE void Cy_SysClk_ClkAltSysTickInit() +{ + Cy_SysTick_Init(CY_CFG_SYSCLK_CLKALTSYSTICK_SOURCE, CY_CFG_SYSCLK_CLKALTSYSTICK_TICKS); +} #if (!defined(CY_DEVICE_SECURE)) + __STATIC_INLINE void Cy_SysClk_ClkBakInit() + { + Cy_SysClk_ClkBakSetSource(CY_SYSCLK_BAK_IN_CLKLF); + } __STATIC_INLINE void Cy_SysClk_ClkFastInit() { Cy_SysClk_ClkFastSetDivider(0U); @@ -693,30 +682,17 @@ __WEAK void __NO_RETURN cycfg_ClockStartupError(uint32_t error) Cy_SysClk_ClkHfSetSource(0U, CY_CFG_SYSCLK_CLKHF0_CLKPATH); Cy_SysClk_ClkHfSetDivider(0U, CY_SYSCLK_CLKHF_NO_DIVIDE); } - __STATIC_INLINE void Cy_SysClk_ClkHf1Init() - { - Cy_SysClk_ClkHfSetSource(CY_CFG_SYSCLK_CLKHF1, CY_CFG_SYSCLK_CLKHF1_CLKPATH); - Cy_SysClk_ClkHfSetDivider(CY_CFG_SYSCLK_CLKHF1, CY_SYSCLK_CLKHF_NO_DIVIDE); - Cy_SysClk_ClkHfEnable(CY_CFG_SYSCLK_CLKHF1); - } - __STATIC_INLINE void Cy_SysClk_ClkHf3Init() - { - Cy_SysClk_ClkHfSetSource(CY_CFG_SYSCLK_CLKHF3, CY_CFG_SYSCLK_CLKHF3_CLKPATH); - Cy_SysClk_ClkHfSetDivider(CY_CFG_SYSCLK_CLKHF3, CY_SYSCLK_CLKHF_NO_DIVIDE); - Cy_SysClk_ClkHfEnable(CY_CFG_SYSCLK_CLKHF3); - } - __STATIC_INLINE void Cy_SysClk_ClkHf4Init() - { - Cy_SysClk_ClkHfSetSource(CY_CFG_SYSCLK_CLKHF4, CY_CFG_SYSCLK_CLKHF4_CLKPATH); - Cy_SysClk_ClkHfSetDivider(CY_CFG_SYSCLK_CLKHF4, CY_SYSCLK_CLKHF_NO_DIVIDE); - Cy_SysClk_ClkHfEnable(CY_CFG_SYSCLK_CLKHF4); - } __STATIC_INLINE void Cy_SysClk_IloInit() { /* The WDT is unlocked in the default startup code */ Cy_SysClk_IloEnable(); Cy_SysClk_IloHibernateOn(true); } + __STATIC_INLINE void Cy_SysClk_ClkLfInit() + { + /* The WDT is unlocked in the default startup code */ + Cy_SysClk_ClkLfSetSource(CY_SYSCLK_CLKLF_IN_ILO); + } __STATIC_INLINE void Cy_SysClk_ClkPath0Init() { Cy_SysClk_ClkPathSetSource(0U, CY_CFG_SYSCLK_CLKPATH0_SOURCE); @@ -756,17 +732,6 @@ __WEAK void __NO_RETURN cycfg_ClockStartupError(uint32_t error) cycfg_ClockStartupError(CY_CFG_SYSCLK_PLL_ERROR); } } - __STATIC_INLINE void Cy_SysClk_Pll1Init() - { - if (CY_SYSCLK_SUCCESS != Cy_SysClk_PllManualConfigure(2U, &srss_0_clock_0_pll_1_pllConfig)) - { - cycfg_ClockStartupError(CY_CFG_SYSCLK_PLL_ERROR); - } - if (CY_SYSCLK_SUCCESS != Cy_SysClk_PllEnable(2U, 10000u)) - { - cycfg_ClockStartupError(CY_CFG_SYSCLK_PLL_ERROR); - } - } __STATIC_INLINE void Cy_SysClk_ClkSlowInit() { Cy_SysClk_ClkSlowSetDivider(0U); @@ -853,7 +818,7 @@ void init_cycfg_system(void) #if (((CY_CFG_SYSCLK_CLKPATH5_SOURCE_NUM >= 3UL) && (CY_CFG_SYSCLK_CLKPATH5_SOURCE_NUM <= 5UL)) && (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 5UL)) #error Configuration Error : ALTHF, ILO, PILO cannot drive HF0. #endif - + configStatus = CY_PRA_FUNCTION_CALL_RETURN_PARAM(CY_PRA_MSG_TYPE_SYS_CFG_FUNC, CY_PRA_FUNC_INIT_CYCFG_DEVICE, &srss_0_clock_0_secureConfig); @@ -865,7 +830,7 @@ void init_cycfg_system(void) Cy_SysClk_ExtClkSetFrequency(CY_CFG_SYSCLK_EXTCLK_FREQ); #endif /* CY_CFG_SYSCLK_EXTCLK_FREQ */ #else /* defined(CY_DEVICE_SECURE) */ - + /* Set worst case memory wait states (! ultra low power, 150 MHz), will update at the end */ Cy_SysLib_SetWaitStates(false, 150UL); #ifdef CY_CFG_PWR_ENABLED @@ -875,10 +840,10 @@ void init_cycfg_system(void) #warning Power system will not be configured. Update power personality to v1.20 or later. #endif /* CY_CFG_PWR_INIT */ #endif /* CY_CFG_PWR_ENABLED */ - - /* Disable FLL */ - Cy_SysClk_FllDeInit(); - + + /* Disable FLL */ + Cy_SysClk_FllDeInit(); + /* Reset the core clock path to default and disable all the FLLs/PLLs */ Cy_SysClk_ClkHfSetDivider(0U, CY_SYSCLK_CLKHF_NO_DIVIDE); Cy_SysClk_ClkFastSetDivider(0U); @@ -889,58 +854,58 @@ void init_cycfg_system(void) (void)Cy_SysClk_PllDisable(pll); } Cy_SysClk_ClkPathSetSource(CY_SYSCLK_CLKHF_IN_CLKPATH1, CY_SYSCLK_CLKPATH_IN_IMO); - + if ((CY_SYSCLK_CLKHF_IN_CLKPATH0 == Cy_SysClk_ClkHfGetSource(0UL)) && (CY_SYSCLK_CLKPATH_IN_WCO == Cy_SysClk_ClkPathGetSource(CY_SYSCLK_CLKHF_IN_CLKPATH0))) { Cy_SysClk_ClkHfSetSource(0U, CY_SYSCLK_CLKHF_IN_CLKPATH1); } - + Cy_SysClk_ClkPathSetSource(CY_SYSCLK_CLKHF_IN_CLKPATH0, CY_SYSCLK_CLKPATH_IN_IMO); Cy_SysClk_ClkHfSetSource(0UL, CY_SYSCLK_CLKHF_IN_CLKPATH0); #ifdef CY_IP_MXBLESS (void)Cy_BLE_EcoReset(); #endif - - + + /* Enable all source clocks */ #ifdef CY_CFG_SYSCLK_PILO_ENABLED Cy_SysClk_PiloInit(); #endif - + #ifdef CY_CFG_SYSCLK_WCO_ENABLED Cy_SysClk_WcoInit(); #endif - + #ifdef CY_CFG_SYSCLK_CLKLF_ENABLED Cy_SysClk_ClkLfInit(); #endif - + #if (defined(CY_IP_M4CPUSS) && CY_CFG_SYSCLK_ALTHF_ENABLED) Cy_SysClk_AltHfInit(); #endif /* (defined(CY_IP_M4CPUSS) && CY_CFG_SYSCLK_ALTHF_ENABLED */ - + #ifdef CY_CFG_SYSCLK_ECO_ENABLED Cy_SysClk_EcoInit(); #endif - + #ifdef CY_CFG_SYSCLK_EXTCLK_ENABLED Cy_SysClk_ExtClkInit(); #endif - + /* Configure CPU clock dividers */ #ifdef CY_CFG_SYSCLK_CLKFAST_ENABLED Cy_SysClk_ClkFastInit(); #endif - + #ifdef CY_CFG_SYSCLK_CLKPERI_ENABLED Cy_SysClk_ClkPeriInit(); #endif - + #ifdef CY_CFG_SYSCLK_CLKSLOW_ENABLED Cy_SysClk_ClkSlowInit(); #endif - + #if ((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM == 0x6UL) && (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 0U)) /* Configure HFCLK0 to temporarily run from IMO to initialize other clocks */ Cy_SysClk_ClkPathSetSource(1UL, CY_SYSCLK_CLKPATH_IN_IMO); @@ -950,7 +915,7 @@ void init_cycfg_system(void) Cy_SysClk_ClkPath1Init(); #endif #endif - + /* Configure Path Clocks */ #ifdef CY_CFG_SYSCLK_CLKPATH0_ENABLED Cy_SysClk_ClkPath0Init(); @@ -997,21 +962,21 @@ void init_cycfg_system(void) #ifdef CY_CFG_SYSCLK_CLKPATH15_ENABLED Cy_SysClk_ClkPath15Init(); #endif - + /* Configure and enable FLL */ #ifdef CY_CFG_SYSCLK_FLL_ENABLED Cy_SysClk_FllInit(); #endif - + Cy_SysClk_ClkHf0Init(); - + #if ((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM == 0x6UL) && (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 0U)) #ifdef CY_CFG_SYSCLK_CLKPATH1_ENABLED /* Apply the ClkPath1 user setting */ Cy_SysClk_ClkPath1Init(); #endif #endif - + /* Configure and enable PLLs */ #ifdef CY_CFG_SYSCLK_PLL0_ENABLED Cy_SysClk_Pll0Init(); @@ -1058,7 +1023,7 @@ void init_cycfg_system(void) #ifdef CY_CFG_SYSCLK_PLL14_ENABLED Cy_SysClk_Pll14Init(); #endif - + /* Configure HF clocks */ #ifdef CY_CFG_SYSCLK_CLKHF1_ENABLED Cy_SysClk_ClkHf1Init(); @@ -1105,53 +1070,53 @@ void init_cycfg_system(void) #ifdef CY_CFG_SYSCLK_CLKHF15_ENABLED Cy_SysClk_ClkHf15Init(); #endif - + /* Configure miscellaneous clocks */ #ifdef CY_CFG_SYSCLK_CLKTIMER_ENABLED Cy_SysClk_ClkTimerInit(); #endif - + #ifdef CY_CFG_SYSCLK_CLKALTSYSTICK_ENABLED Cy_SysClk_ClkAltSysTickInit(); #endif - + #ifdef CY_CFG_SYSCLK_CLKPUMP_ENABLED Cy_SysClk_ClkPumpInit(); #endif - + #ifdef CY_CFG_SYSCLK_CLKBAK_ENABLED Cy_SysClk_ClkBakInit(); #endif - + /* Configure default enabled clocks */ #ifdef CY_CFG_SYSCLK_ILO_ENABLED Cy_SysClk_IloInit(); #endif - + #ifndef CY_CFG_SYSCLK_IMO_ENABLED #error the IMO must be enabled for proper chip operation #endif - + #ifndef CY_CFG_SYSCLK_CLKHF0_ENABLED #error the CLKHF0 must be enabled for proper chip operation #endif - + #endif /* defined(CY_DEVICE_SECURE) */ - + #ifdef CY_CFG_SYSCLK_MFO_ENABLED Cy_SysClk_MfoInit(); #endif - + #ifdef CY_CFG_SYSCLK_CLKMF_ENABLED Cy_SysClk_ClkMfInit(); #endif - + #if (!defined(CY_DEVICE_SECURE)) /* Set accurate flash wait states */ #if (defined (CY_CFG_PWR_ENABLED) && defined (CY_CFG_SYSCLK_CLKHF0_ENABLED)) Cy_SysLib_SetWaitStates(CY_CFG_PWR_USING_ULP != 0, CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ); #endif - + /* Update System Core Clock values for correct Cy_SysLib_Delay functioning */ SystemCoreClockUpdate(); #ifndef CY_CFG_SYSCLK_ILO_ENABLED @@ -1162,9 +1127,9 @@ void init_cycfg_system(void) Cy_SysClk_IloDisable(); Cy_SysClk_IloHibernateOn(false); #endif - + #endif /* (!defined(CY_DEVICE_SECURE)) */ - + #if defined(CY_CFG_SYSCLK_ECO_PRESCALER_ENABLED) Cy_SysClk_EcoPrescalerInit(); #endif //defined(CY_CFG_SYSCLK_ECO_PRESCALER_ENABLED) diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_system.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_system.h index 40035790e1..b23944007a 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_system.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/cycfg_system.h @@ -5,8 +5,8 @@ * System configuration * This file was automatically generated and should not be modified. * Configurator Backend 3.0.0 -* device-db 4.1.0.3437 -* mtb-pdl-cat1 3.3.0.21979 +* device-db 4.3.0.3855 +* mtb-pdl-cat1 3.4.0.24948 * ******************************************************************************** * Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or @@ -33,6 +33,7 @@ #include "cy_sysclk.h" #include "cy_pra.h" #include "cy_pra_cfg.h" +#include "cy_systick.h" #if defined (CY_USING_HAL) #include "cyhal_hwmgr.h" #endif //defined (CY_USING_HAL) @@ -44,22 +45,18 @@ extern "C" { #define cpuss_0_dap_0_ENABLED 1U #define srss_0_clock_0_ENABLED 1U +#define srss_0_clock_0_altsystickclk_0_ENABLED 1U +#define srss_0_clock_0_bakclk_0_ENABLED 1U #define srss_0_clock_0_fastclk_0_ENABLED 1U #define srss_0_clock_0_fll_0_ENABLED 1U #define srss_0_clock_0_hfclk_0_ENABLED 1U #define CY_CFG_SYSCLK_CLKHF0 0UL #define CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM 0UL -#define srss_0_clock_0_hfclk_1_ENABLED 1U -#define CY_CFG_SYSCLK_CLKHF1 1UL -#define CY_CFG_SYSCLK_CLKHF1_CLKPATH_NUM 0UL -#define srss_0_clock_0_hfclk_3_ENABLED 1U -#define CY_CFG_SYSCLK_CLKHF3 3UL -#define CY_CFG_SYSCLK_CLKHF3_CLKPATH_NUM 0UL -#define srss_0_clock_0_hfclk_4_ENABLED 1U -#define CY_CFG_SYSCLK_CLKHF4 4UL -#define CY_CFG_SYSCLK_CLKHF4_CLKPATH_NUM 0UL #define srss_0_clock_0_ilo_0_ENABLED 1U #define srss_0_clock_0_imo_0_ENABLED 1U +#define srss_0_clock_0_lfclk_0_ENABLED 1U +#define CY_CFG_SYSCLK_CLKLF_FREQ_HZ 32768 +#define CY_CFG_SYSCLK_CLKLF_SOURCE CY_SYSCLK_CLKLF_IN_ILO #define srss_0_clock_0_pathmux_0_ENABLED 1U #define srss_0_clock_0_pathmux_1_ENABLED 1U #define srss_0_clock_0_pathmux_2_ENABLED 1U @@ -68,7 +65,6 @@ extern "C" { #define srss_0_clock_0_pathmux_5_ENABLED 1U #define srss_0_clock_0_periclk_0_ENABLED 1U #define srss_0_clock_0_pll_0_ENABLED 1U -#define srss_0_clock_0_pll_1_ENABLED 1U #define srss_0_clock_0_slowclk_0_ENABLED 1U #define srss_0_clock_0_timerclk_0_ENABLED 1U #define srss_0_power_0_ENABLED 1U diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/qspi_config.cfg b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/qspi_config.cfg index cf55cf2469..dbf7fd4b55 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/qspi_config.cfg +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/qspi_config.cfg @@ -4,7 +4,7 @@ # Description: # This file contains a SMIF Bank layout for use with OpenOCD. # This file was automatically generated and should not be modified. -# QSPI Configurator: 4.0.0.985 +# QSPI Configurator: 4.10.0.1343 # ################################################################################ # Copyright 2023 Cypress Semiconductor Corporation (an Infineon company) or diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.cycapsense b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.cycapsense index e05527af90..936733438d 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.cycapsense +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.cycapsense @@ -95,6 +95,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.cyqspi b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.cyqspi index 7a64350424..4d0dfe410b 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.cyqspi +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.cyqspi @@ -1,5 +1,5 @@ - + PSoC 6.xml diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.modus b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.modus index c045a553b7..396dbc1124 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.modus +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/design.modus @@ -15,14 +15,16 @@ - + - - - - - + + + + + + + @@ -32,7 +34,7 @@ - + @@ -43,13 +45,18 @@ + + + + + + - - + @@ -83,7 +90,28 @@ - + + + + + + + + + + + + + + + + + + + + + + @@ -107,6 +135,9 @@ + + + @@ -119,44 +150,47 @@ - - - - - - - - - - + + + - - - - - - - + + - - - + + + - - + + - - + + + + + + + + + + + + + + + + + @@ -183,9 +217,11 @@ + + @@ -203,14 +239,13 @@ - - - - + + + @@ -248,6 +283,9 @@ + + + @@ -279,8 +317,8 @@ - - + + @@ -294,11 +332,16 @@ + + + - + + + @@ -315,6 +358,22 @@ + + + + + + + + + + + + + + + + @@ -340,8 +399,8 @@ - - + + @@ -356,8 +415,8 @@ - - + + @@ -372,8 +431,8 @@ - - + + @@ -388,8 +447,9 @@ - - + + + @@ -414,13 +474,17 @@ - - - + + + + + + + @@ -431,9 +495,28 @@ + + + + + + + + + + + + + + + + + + + @@ -454,24 +537,6 @@ - - - - - - - - - - - - - - - - - - @@ -482,6 +547,11 @@ + + + + + @@ -525,14 +595,6 @@ - - - - - - - - @@ -594,9 +656,19 @@ + + + + + + + + + + diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cybsp_doc.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cybsp_doc.h index 43253e067e..02bc2f0212 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cybsp_doc.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cybsp_doc.h @@ -23,7 +23,7 @@ #if defined(CY_USING_HAL) #include "cyhal_pin_package.h" #endif -/* CAT4 does not have configurators so the BSP defines pins in a non-generated header */ +/* CAT4 and CAT5 do not have configurators so the BSP defines pins in a non-generated header */ #if defined(COMPONENT_CAT4) #include "cybsp_pins.h" #else @@ -739,7 +739,7 @@ extern "C" { /** * \addtogroup group_bsp_pins_capsense Capsense * \{ - * Pins connected to CAPSENSEâ„¢ sensors on the board. + * Pins connected to CAPSENSE™ sensors on the board. */ #ifdef CYBSP_CSD_TX diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cybsp_hw_config.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cybsp_hw_config.h index 580d49c1ad..a6c9badcfc 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cybsp_hw_config.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cybsp_hw_config.h @@ -28,6 +28,7 @@ #include "cy_result.h" #include "cybsp_types.h" +#include "cycfg_pins.h" #if defined(__cplusplus) extern "C" { @@ -37,6 +38,13 @@ extern "C" { #define CYBSP_USER_BTN_DRIVE (CYHAL_GPIO_DRIVE_PULLUP) #endif +#ifndef CYBSP_DEBUG_UART_CTS +#define CYBSP_DEBUG_UART_CTS (NC) +#endif +#ifndef CYBSP_DEBUG_UART_RTS +#define CYBSP_DEBUG_UART_RTS (NC) +#endif + #if defined(__cplusplus) } #endif diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p12 b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p12 new file mode 100644 index 0000000000..e1a8f2c106 --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p12 @@ -0,0 +1,80 @@ +[Device=$$TARGET_MPN$$] + +# The "reserved resources" feature is used to ensure that the device configurator reserves the listed items +# (blocks and routing resources) for exclusive use by the udb-sdio-whd driver's internals. If the UDB_SDIO_P component +# is changed to use a different port for the SDIO interface, the section of this file which is uncommented must be updated + +# Uncomment this section for UDB_SDIO_P2 +#[Blocks] +#udb[0] +#peri[0].div_8[0] +#cpuss[0].dw0[0].chan[0] +#cpuss[0].dw0[0].chan[1] +#cpuss[0].dw1[0].chan[1] +#cpuss[0].dw1[0].chan[3] +# +#[RoutingResources] +#cpuss[0].dw0_tr_in[0] +#cpuss[0].dw0_tr_in[1] +#cpuss[0].dw1_tr_in[1] +#cpuss[0].dw1_tr_in[3] +# +#udb[0].tr_udb[0] +#udb[0].tr_udb[1] +#udb[0].tr_udb[3] +#udb[0].tr_udb[7] +# +#tr_group[0].input[43] +#tr_group[0].input[44] +#tr_group[0].input[47] +#tr_group[0].input[48] + +# Uncomment this section for UDB_SDIO_P9 +#[Blocks] +#udb[0] +#peri[0].div_8[0] +#cpuss[0].dw0[0].chan[0] +#cpuss[0].dw0[0].chan[1] +#cpuss[0].dw1[0].chan[1] +#cpuss[0].dw1[0].chan[3] +# +#[RoutingResources] +#cpuss[0].dw0_tr_in[0] +#cpuss[0].dw0_tr_in[1] +#cpuss[0].dw1_tr_in[1] +#cpuss[0].dw1_tr_in[3] +# +#udb[0].tr_udb[0] +#udb[0].tr_udb[1] +#udb[0].tr_udb[3] +#udb[0].tr_udb[7] +# +#tr_group[0].input[43] +#tr_group[0].input[44] +#tr_group[0].input[47] +#tr_group[0].input[48] + +# Uncomment this section for UDB_SDIO_P12 +[Blocks] +udb[0] +peri[0].div_8[0] +cpuss[0].dw0[0].chan[0] +cpuss[0].dw0[0].chan[1] +cpuss[0].dw1[0].chan[1] +cpuss[0].dw1[0].chan[3] + +[RoutingResources] +cpuss[0].dw0_tr_in[0] +cpuss[0].dw0_tr_in[1] +cpuss[0].dw1_tr_in[1] +cpuss[0].dw1_tr_in[3] + +udb[0].tr_udb[3] +udb[0].tr_udb[9] +udb[0].tr_udb[10] +udb[0].tr_udb[14] + +tr_group[0].input[46] +tr_group[0].input[47] +tr_group[0].input[48] +tr_group[0].input[49] diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p2 b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p2 new file mode 100644 index 0000000000..1a2d7791da --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p2 @@ -0,0 +1,80 @@ +[Device=$$TARGET_MPN$$] + +# The "reserved resources" feature is used to ensure that the device configurator reserves the listed items +# (blocks and routing resources) for exclusive use by the udb-sdio-whd driver's internals. If the UDB_SDIO_P component +# is changed to use a different port for the SDIO interface, the section of this file which is uncommented must be updated + +# Uncomment this section for UDB_SDIO_P2 +[Blocks] +udb[0] +peri[0].div_8[0] +cpuss[0].dw0[0].chan[0] +cpuss[0].dw0[0].chan[1] +cpuss[0].dw1[0].chan[1] +cpuss[0].dw1[0].chan[3] + +[RoutingResources] +cpuss[0].dw0_tr_in[0] +cpuss[0].dw0_tr_in[1] +cpuss[0].dw1_tr_in[1] +cpuss[0].dw1_tr_in[3] + +udb[0].tr_udb[0] +udb[0].tr_udb[1] +udb[0].tr_udb[3] +udb[0].tr_udb[7] + +tr_group[0].input[43] +tr_group[0].input[44] +tr_group[0].input[47] +tr_group[0].input[48] + +# Uncomment this section for UDB_SDIO_P9 +#[Blocks] +#udb[0] +#peri[0].div_8[0] +#cpuss[0].dw0[0].chan[0] +#cpuss[0].dw0[0].chan[1] +#cpuss[0].dw1[0].chan[1] +#cpuss[0].dw1[0].chan[3] +# +#[RoutingResources] +#cpuss[0].dw0_tr_in[0] +#cpuss[0].dw0_tr_in[1] +#cpuss[0].dw1_tr_in[1] +#cpuss[0].dw1_tr_in[3] +# +#udb[0].tr_udb[0] +#udb[0].tr_udb[1] +#udb[0].tr_udb[3] +#udb[0].tr_udb[7] +# +#tr_group[0].input[43] +#tr_group[0].input[44] +#tr_group[0].input[47] +#tr_group[0].input[48] + +# Uncomment this section for UDB_SDIO_P12 +#[Blocks] +#udb[0] +#peri[0].div_8[0] +#cpuss[0].dw0[0].chan[0] +#cpuss[0].dw0[0].chan[1] +#cpuss[0].dw1[0].chan[1] +#cpuss[0].dw1[0].chan[3] +# +#[RoutingResources] +#cpuss[0].dw0_tr_in[0] +#cpuss[0].dw0_tr_in[1] +#cpuss[0].dw1_tr_in[1] +#cpuss[0].dw1_tr_in[3] +# +#udb[0].tr_udb[3] +#udb[0].tr_udb[9] +#udb[0].tr_udb[10] +#udb[0].tr_udb[14] +# +#tr_group[0].input[46] +#tr_group[0].input[47] +#tr_group[0].input[48] +#tr_group[0].input[49] diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p9 b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p9 new file mode 100644 index 0000000000..d7b04f7ac7 --- /dev/null +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/cyreservedresources.p9 @@ -0,0 +1,80 @@ +[Device=$$TARGET_MPN$$] + +# The "reserved resources" feature is used to ensure that the device configurator reserves the listed items +# (blocks and routing resources) for exclusive use by the udb-sdio-whd driver's internals. If the UDB_SDIO_P component +# is changed to use a different port for the SDIO interface, the section of this file which is uncommented must be updated + +# Uncomment this section for UDB_SDIO_P2 +#[Blocks] +#udb[0] +#peri[0].div_8[0] +#cpuss[0].dw0[0].chan[0] +#cpuss[0].dw0[0].chan[1] +#cpuss[0].dw1[0].chan[1] +#cpuss[0].dw1[0].chan[3] +# +#[RoutingResources] +#cpuss[0].dw0_tr_in[0] +#cpuss[0].dw0_tr_in[1] +#cpuss[0].dw1_tr_in[1] +#cpuss[0].dw1_tr_in[3] +# +#udb[0].tr_udb[0] +#udb[0].tr_udb[1] +#udb[0].tr_udb[3] +#udb[0].tr_udb[7] +# +#tr_group[0].input[43] +#tr_group[0].input[44] +#tr_group[0].input[47] +#tr_group[0].input[48] + +# Uncomment this section for UDB_SDIO_P9 +[Blocks] +udb[0] +peri[0].div_8[0] +cpuss[0].dw0[0].chan[0] +cpuss[0].dw0[0].chan[1] +cpuss[0].dw1[0].chan[1] +cpuss[0].dw1[0].chan[3] + +[RoutingResources] +cpuss[0].dw0_tr_in[0] +cpuss[0].dw0_tr_in[1] +cpuss[0].dw1_tr_in[1] +cpuss[0].dw1_tr_in[3] + +udb[0].tr_udb[0] +udb[0].tr_udb[1] +udb[0].tr_udb[3] +udb[0].tr_udb[7] + +tr_group[0].input[43] +tr_group[0].input[44] +tr_group[0].input[47] +tr_group[0].input[48] + +# Uncomment this section for UDB_SDIO_P12 +#[Blocks] +#udb[0] +#peri[0].div_8[0] +#cpuss[0].dw0[0].chan[0] +#cpuss[0].dw0[0].chan[1] +#cpuss[0].dw1[0].chan[1] +#cpuss[0].dw1[0].chan[3] +# +#[RoutingResources] +#cpuss[0].dw0_tr_in[0] +#cpuss[0].dw0_tr_in[1] +#cpuss[0].dw1_tr_in[1] +#cpuss[0].dw1_tr_in[3] +# +#udb[0].tr_udb[3] +#udb[0].tr_udb[9] +#udb[0].tr_udb[10] +#udb[0].tr_udb[14] +# +#tr_group[0].input[46] +#tr_group[0].input[47] +#tr_group[0].input[48] +#tr_group[0].input[49] diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/cat1cm0p.mtbx b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/cat1cm0p.mtbx index cd39ee845d..8dfde3ddd8 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/cat1cm0p.mtbx +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/cat1cm0p.mtbx @@ -1 +1 @@ -https://github.com/Infineon/cat1cm0p#release-v1.0.0#$$ASSET_REPO$$/cat1cm0p/release-v1.0.0 +https://github.com/Infineon/cat1cm0p#release-v1.1.0#$$ASSET_REPO$$/cat1cm0p/release-v1.1.0 diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/core-lib.mtbx b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/core-lib.mtbx index 7728e7f7ea..f53927536c 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/core-lib.mtbx +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/core-lib.mtbx @@ -1 +1 @@ -https://github.com/cypresssemiconductorco/core-lib#release-v1.3.1#$$ASSET_REPO$$/core-lib/release-v1.3.1 +https://github.com/cypresssemiconductorco/core-lib#release-v1.4.0#$$ASSET_REPO$$/core-lib/release-v1.4.0 diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/core-make.mtbx b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/core-make.mtbx index 63aadec3a6..6df8aaab07 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/core-make.mtbx +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/core-make.mtbx @@ -1 +1 @@ -https://github.com/cypresssemiconductorco/core-make#release-v3.0.3#$$ASSET_REPO$$/core-make/release-v3.0.3 +https://github.com/cypresssemiconductorco/core-make#release-v3.2.1#$$ASSET_REPO$$/core-make/release-v3.2.1 diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/mtb-pdl-cat1.mtbx b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/mtb-pdl-cat1.mtbx index ca20ac7c9d..534b92a083 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/mtb-pdl-cat1.mtbx +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/mtb-pdl-cat1.mtbx @@ -1 +1 @@ -https://github.com/cypresssemiconductorco/mtb-pdl-cat1#release-v3.3.0#$$ASSET_REPO$$/mtb-pdl-cat1/release-v3.3.0 +https://github.com/cypresssemiconductorco/mtb-pdl-cat1#release-v3.4.0#$$ASSET_REPO$$/mtb-pdl-cat1/release-v3.4.0 diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/recipe-make-cat1a.mtbx b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/recipe-make-cat1a.mtbx index 92ff084a31..340d6bd13c 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/recipe-make-cat1a.mtbx +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/deps/recipe-make-cat1a.mtbx @@ -1 +1 @@ -https://github.com/cypresssemiconductorco/recipe-make-cat1a#release-v2.0.0#$$ASSET_REPO$$/recipe-make-cat1a/release-v2.0.0 +https://github.com/cypresssemiconductorco/recipe-make-cat1a#release-v2.1.1#$$ASSET_REPO$$/recipe-make-cat1a/release-v2.1.1 diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/props.json b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/props.json index b749b2e2ff..babf04519a 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/props.json +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/props.json @@ -1,13 +1,15 @@ { "core": { - "version": "4.1.0.30528" + "version": "4.2.0.33410" }, "opt": { "props": { "capabilities": [ "adc", + "anycloud", "arduino", "bsp_gen4", + "bt", "capsense", "capsense_button", "capsense_linear_slider", @@ -15,7 +17,9 @@ "cat1a", "comp", "csd", - "cy8ceval_062s2", + "cy8ckit_062s2_43012", + "cyw43012", + "cyw43xxx", "dma", "flash_2048k", "fram", @@ -31,8 +35,8 @@ "memory_qspi", "multi_core", "nor_flash", - "optiga_trust_m", "pdm", + "pot", "psoc6", "qspi", "rgb_led", @@ -45,22 +49,23 @@ "switch", "uart", "usb_device", - "usb_host" + "usb_host", + "wifi" ], "dependencies": { - "cat1cm0p": "release-v1.0.0", - "core-lib": "release-v1.3.1", - "core-make": "release-v3.0.3", + "cat1cm0p": "release-v1.1.0", + "core-lib": "release-v1.4.0", + "core-make": "release-v3.2.1", "mtb-hal-cat1": "release-v2.3.0", - "mtb-pdl-cat1": "release-v3.3.0", - "recipe-make-cat1a": "release-v2.0.0" + "mtb-pdl-cat1": "release-v3.4.0", + "recipe-make-cat1a": "release-v2.1.1" }, "docs_dir": "docs", "flow_version": "2.0", "min_tools": "3.0.0", "template": { "id": "mtb-template-cat1", - "version": "release-v1.0.0" + "version": "release-v1.2.1" } } } diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/system_psoc6.h b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/system_psoc6.h index 1f6f80c0fd..259f015a8e 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/system_psoc6.h +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/system_psoc6.h @@ -632,7 +632,6 @@ extern void Cy_SystemInitFpuEnable(void); extern uint32_t cy_delayFreqKhz; extern uint8_t cy_delayFreqMhz; -extern uint32_t cy_delay32kMs; /** \endcond */ diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/project.uvoptx b/bsp/Infineon/psoc6-evaluationkit-062S2/project.uvoptx index 05279a4ccb..d5d6c19f51 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/project.uvoptx +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/project.uvoptx @@ -77,7 +77,7 @@ 0 1 - 255 + 10 0 1 @@ -119,28 +119,97 @@ 0 - UL2CM3 - UL2CM3(-S0 -C0 -P0 ) -FN5 -FC8000 -FD08026400 -FF0CY8C6xxA_SFLASH_TOC2 -FF1CY8C6xxA_SFLASH_PKEY -FF2CY8C6xxA_SFLASH_USER -FF3CY8C6xxA_WFLASH -FF4CY8C6xxA_sect256KB -FL0400 -FL1C00 -FL2800 -FL38000 -FL4200000 -FS016007C00 -FS116005A00 -FS216000800 -FS314000000 -FS410000000 -FP0($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_TOC2.FLM) -FP1($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_PKEY.FLM) -FP2($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_USER.FLM) -FP3($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_WFLASH.FLM) -FP4($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_sect256KB.FLM) + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + 0 CMSIS_AGDI - -X"Any" -UAny -O206 -S8 -C0 -P00000002 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD8026400 -FC8000 -FN5 -FF0CY8C6xxA_SFLASH_TOC2.FLM -FS016007C00 -FL0400 -FP0($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_TOC2.FLM) -FF1CY8C6xxA_SFLASH_PKEY.FLM -FS116005A00 -FL1C00 -FP1($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_PKEY.FLM) -FF2CY8C6xxA_SFLASH_USER.FLM -FS216000800 -FL2800 -FP2($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_USER.FLM) -FF3CY8C6xxA_WFLASH.FLM -FS314000000 -FL38000 -FP3($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_WFLASH.FLM) -FF4CY8C6xxA_sect256KB.FLM -FS410000000 -FL4200000 -FP4($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_sect256KB.FLM) + -X"Any" -UAny -O206 -S8 -C0 -P00000002 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD8026400 -FC8000 -FN5 -FF0CY8C6xxA_SFLASH_TOC2.FLM -FS016007C00 -FL0400 -FP0($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_TOC2.FLM) -FF1CY8C6xxA_SFLASH_PKEY.FLM -FS116005A00 -FL1C00 -FP1($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_PKEY.FLM) -FF2CY8C6xxA_SFLASH_USER.FLM -FS216000800 -FL2800 -FP2($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_USER.FLM) -FF3CY8C6xxA_WFLASH.FLM -FS314000000 -FL38000 -FP3($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_WFLASH.FLM) -FF4CY8C6xx8_sect256KB.FLM -FS410000000 -FL4100000 -FP4($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xx8_sect256KB.FLM) + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN5 -FC8000 -FD08026400 -FF0CY8C6xxA_SFLASH_TOC2 -FF1CY8C6xxA_SFLASH_PKEY -FF2CY8C6xxA_SFLASH_USER -FF3CY8C6xxA_WFLASH -FF4CY8C6xx8_sect256KB -FL0400 -FL1C00 -FL2800 -FL38000 -FL4100000 -FS016007C00 -FS116005A00 -FS216000800 -FS314000000 -FS410000000 -FP0($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_TOC2.FLM) -FP1($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_PKEY.FLM) -FP2($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_USER.FLM) -FP3($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_WFLASH.FLM) -FP4($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xx8_sect256KB.FLM) - + + + 0 + 0 + 8 + 1 +
268662086
+ 0 + 0 + 0 + 0 + 0 + 1 + board\ports\drv_cyw43012.c + + \\rtthread\board/ports/drv_cyw43012.c\8 +
+ + 1 + 0 + 267 + 1 +
268664028
+ 0 + 0 + 0 + 0 + 0 + 1 + packages\wlan_cyw43012-v0.0.1\wifi_ifx_cyw43012.c + + \\rtthread\packages/wlan_cyw43012-v0.0.1/wifi_ifx_cyw43012.c\267 +
+ + 2 + 0 + 229 + 1 +
268445012
+ 0 + 0 + 0 + 0 + 0 + 1 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + \\rtthread\../../../libcpu/arm/cortex-m4/context_rvds.S\229 +
+
0 0 0 - 0 + 1 0 0 0 0 - 0 + 1 0 0 0 @@ -374,7 +443,7 @@ - DeviceDrivers + cyw43012 0 0 0 @@ -386,8 +455,8 @@ 0 0 0 - ..\..\..\components\drivers\ipc\completion.c - completion.c + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_logging.c + whd_logging.c 0 0 @@ -398,8 +467,8 @@ 0 0 0 - ..\..\..\components\drivers\ipc\dataqueue.c - dataqueue.c + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_wifi.c + whd_wifi.c 0 0 @@ -410,8 +479,8 @@ 0 0 0 - ..\..\..\components\drivers\ipc\pipe.c - pipe.c + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_clm.c + whd_clm.c 0 0 @@ -422,8 +491,8 @@ 0 0 0 - ..\..\..\components\drivers\ipc\ringblk_buf.c - ringblk_buf.c + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_debug.c + whd_debug.c 0 0 @@ -434,8 +503,8 @@ 0 0 0 - ..\..\..\components\drivers\ipc\ringbuffer.c - ringbuffer.c + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\clm\COMPONENT_43012\43012C0-mfgtest_clm_blob.c + 43012C0-mfgtest_clm_blob.c 0 0 @@ -446,8 +515,8 @@ 0 0 0 - ..\..\..\components\drivers\ipc\waitqueue.c - waitqueue.c + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus.c + whd_bus.c 0 0 @@ -458,8 +527,8 @@ 0 0 0 - ..\..\..\components\drivers\ipc\workqueue.c - workqueue.c + packages\wlan_cyw43012-v0.0.1\whd-bsp-integration\COMPONENT_LWIP\cy_network_buffer_lwip.c + cy_network_buffer_lwip.c 0 0 @@ -470,8 +539,8 @@ 0 0 0 - ..\..\..\components\drivers\misc\pin.c - pin.c + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\resource_imp\whd_resources.c + whd_resources.c 0 0 @@ -482,11 +551,547 @@ 0 0 0 + packages\wlan_cyw43012-v0.0.1\wifi_ifx_cyw43012.c + wifi_ifx_cyw43012.c + 0 + 0 + + + 4 + 24 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\firmware\COMPONENT_43012\43012C0_bin.c + 43012C0_bin.c + 0 + 0 + + + 4 + 25 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_thread.c + whd_thread.c + 0 + 0 + + + 4 + 26 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\whd-bsp-integration\cybsp_wifi.c + cybsp_wifi.c + 0 + 0 + + + 4 + 27 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus_spi_protocol.c + whd_bus_spi_protocol.c + 0 + 0 + + + 4 + 28 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\cy_worker_thread.c + cy_worker_thread.c + 0 + 0 + + + 4 + 29 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus_common.c + whd_bus_common.c + 0 + 0 + + + 4 + 30 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_sdpcm.c + whd_sdpcm.c + 0 + 0 + + + 4 + 31 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_ap.c + whd_ap.c + 0 + 0 + + + 4 + 32 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_cdc_bdc.c + whd_cdc_bdc.c + 0 + 0 + + + 4 + 33 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_chip.c + whd_chip.c + 0 + 0 + + + 4 + 34 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\firmware\COMPONENT_43012\43012C0-mfgtest_bin.c + 43012C0-mfgtest_bin.c + 0 + 0 + + + 4 + 35 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\COMPONENT_FREERTOS\cyabs_freertos_common.c + cyabs_freertos_common.c + 0 + 0 + + + 4 + 36 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_management.c + whd_management.c + 0 + 0 + + + 4 + 37 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\COMPONENT_FREERTOS\cyabs_rtos_freertos.c + cyabs_rtos_freertos.c + 0 + 0 + + + 4 + 38 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus_sdio_protocol.c + whd_bus_sdio_protocol.c + 0 + 0 + + + 4 + 39 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_buffer_api.c + whd_buffer_api.c + 0 + 0 + + + 4 + 40 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_resource_if.c + whd_resource_if.c + 0 + 0 + + + 4 + 41 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus_m2m_protocol.c + whd_bus_m2m_protocol.c + 0 + 0 + + + 4 + 42 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_wifi_api.c + whd_wifi_api.c + 0 + 0 + + + 4 + 43 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\COMPONENT_FREERTOS\cyabs_rtos_dsram.c + cyabs_rtos_dsram.c + 0 + 0 + + + 4 + 44 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_chip_constants.c + whd_chip_constants.c + 0 + 0 + + + 4 + 45 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_network_if.c + whd_network_if.c + 0 + 0 + + + 4 + 46 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_wifi_p2p.c + whd_wifi_p2p.c + 0 + 0 + + + 4 + 47 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\COMPONENT_FREERTOS\cyabs_freertos_helpers.c + cyabs_freertos_helpers.c + 0 + 0 + + + 4 + 48 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_utils.c + whd_utils.c + 0 + 0 + + + 4 + 49 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\clm\COMPONENT_43012\43012C0_clm_blob.c + 43012C0_clm_blob.c + 0 + 0 + + + 4 + 50 + 1 + 0 + 0 + 0 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_events.c + whd_events.c + 0 + 0 + + + + + DeviceDrivers + 0 + 0 + 0 + 0 + + 5 + 51 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\core\device.c + device.c + 0 + 0 + + + 5 + 52 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\ipc\completion.c + completion.c + 0 + 0 + + + 5 + 53 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\ipc\dataqueue.c + dataqueue.c + 0 + 0 + + + 5 + 54 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\ipc\pipe.c + pipe.c + 0 + 0 + + + 5 + 55 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\ipc\ringblk_buf.c + ringblk_buf.c + 0 + 0 + + + 5 + 56 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\ipc\ringbuffer.c + ringbuffer.c + 0 + 0 + + + 5 + 57 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\ipc\waitqueue.c + waitqueue.c + 0 + 0 + + + 5 + 58 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\ipc\workqueue.c + workqueue.c + 0 + 0 + + + 5 + 59 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\misc\pin.c + pin.c + 0 + 0 + + + 5 + 60 + 1 + 0 + 0 + 0 ..\..\..\components\drivers\serial\serial.c serial.c 0 0 + + 5 + 61 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\wlan\wlan_cfg.c + wlan_cfg.c + 0 + 0 + + + 5 + 62 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\wlan\wlan_cmd.c + wlan_cmd.c + 0 + 0 + + + 5 + 63 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\wlan\wlan_dev.c + wlan_dev.c + 0 + 0 + + + 5 + 64 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\wlan\wlan_lwip.c + wlan_lwip.c + 0 + 0 + + + 5 + 65 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\wlan\wlan_mgnt.c + wlan_mgnt.c + 0 + 0 + + + 5 + 66 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\wlan\wlan_prot.c + wlan_prot.c + 0 + 0 + + + 5 + 67 + 1 + 0 + 0 + 0 + ..\..\..\components\drivers\wlan\wlan_workqueue.c + wlan_workqueue.c + 0 + 0 + @@ -496,20 +1101,20 @@ 0 0 - 5 - 24 + 6 + 68 2 0 0 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\TOOLCHAIN_ARM\cy_syslib_mdk.S - cy_syslib_mdk.S + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\TOOLCHAIN_ARM\cy_syslib_ext.S + cy_syslib_ext.S 0 0 - 5 - 25 + 6 + 69 1 0 0 @@ -520,8 +1125,20 @@ 0 - 5 - 26 + 6 + 70 + 1 + 0 + 0 + 0 + board\ports\drv_cyw43012.c + drv_cyw43012.c + 0 + 0 + + + 6 + 71 1 0 0 @@ -532,8 +1149,8 @@ 0 - 5 - 27 + 6 + 72 1 0 0 @@ -544,8 +1161,8 @@ 0 - 5 - 28 + 6 + 73 1 0 0 @@ -564,32 +1181,8 @@ 0 0 - 6 - 29 - 1 - 0 - 0 - 0 - ..\..\..\components\finsh\shell.c - shell.c - 0 - 0 - - - 6 - 30 - 1 - 0 - 0 - 0 - ..\..\..\components\finsh\msh.c - msh.c - 0 - 0 - - - 6 - 31 + 7 + 74 1 0 0 @@ -600,8 +1193,32 @@ 0 - 6 - 32 + 7 + 75 + 1 + 0 + 0 + 0 + ..\..\..\components\finsh\msh.c + msh.c + 0 + 0 + + + 7 + 76 + 1 + 0 + 0 + 0 + ..\..\..\components\finsh\shell.c + shell.c + 0 + 0 + + + 7 + 77 1 0 0 @@ -613,6 +1230,86 @@ + + FreeRTOS + 0 + 0 + 0 + 0 + + 8 + 78 + 1 + 0 + 0 + 0 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\list.c + list.c + 0 + 0 + + + 8 + 79 + 1 + 0 + 0 + 0 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\portable\rt-thread\port.c + port.c + 0 + 0 + + + 8 + 80 + 1 + 0 + 0 + 0 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\queue.c + queue.c + 0 + 0 + + + 8 + 81 + 1 + 0 + 0 + 0 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\tasks.c + tasks.c + 0 + 0 + + + 8 + 82 + 1 + 0 + 0 + 0 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\event_groups.c + event_groups.c + 0 + 0 + + + 8 + 83 + 1 + 0 + 0 + 0 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\timers.c + timers.c + 0 + 0 + + + Kernel 0 @@ -620,8 +1317,8 @@ 0 0 - 7 - 33 + 9 + 84 1 0 0 @@ -632,8 +1329,8 @@ 0 - 7 - 34 + 9 + 85 1 0 0 @@ -644,20 +1341,8 @@ 0 - 7 - 35 - 1 - 0 - 0 - 0 - ..\..\..\src\device.c - device.c - 0 - 0 - - - 7 - 36 + 9 + 86 1 0 0 @@ -668,8 +1353,8 @@ 0 - 7 - 37 + 9 + 87 1 0 0 @@ -680,8 +1365,8 @@ 0 - 7 - 38 + 9 + 88 1 0 0 @@ -692,8 +1377,8 @@ 0 - 7 - 39 + 9 + 89 1 0 0 @@ -704,8 +1389,8 @@ 0 - 7 - 40 + 9 + 90 1 0 0 @@ -716,8 +1401,8 @@ 0 - 7 - 41 + 9 + 91 1 0 0 @@ -728,8 +1413,8 @@ 0 - 7 - 42 + 9 + 92 1 0 0 @@ -740,8 +1425,8 @@ 0 - 7 - 43 + 9 + 93 1 0 0 @@ -752,8 +1437,8 @@ 0 - 7 - 44 + 9 + 94 1 0 0 @@ -764,8 +1449,8 @@ 0 - 7 - 45 + 9 + 95 1 0 0 @@ -779,205 +1464,13 @@ Libraries - 0 + 1 0 0 0 - 8 - 46 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_04_cm0p_sleep.c - psoc6_04_cm0p_sleep.c - 0 - 0 - - - 8 - 47 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sysint.c - cy_sysint.c - 0 - 0 - - - 8 - 48 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\source\triggers\cyhal_triggers_psoc6_02.c - cyhal_triggers_psoc6_02.c - 0 - 0 - - - 8 - 49 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\retarget-io\cy_retarget_io.c - cy_retarget_io.c - 0 - 0 - - - 8 - 50 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_02_cm0p_sleep.c - psoc6_02_cm0p_sleep.c - 0 - 0 - - - 8 - 51 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_i2c.c - cy_scb_i2c.c - 0 - 0 - - - 8 - 52 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_gpio.c - cy_gpio.c - 0 - 0 - - - 8 - 53 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_scb_common.c - cyhal_scb_common.c - 0 - 0 - - - 8 - 54 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_clock.c - cyhal_clock.c - 0 - 0 - - - 8 - 55 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_uart.c - cy_scb_uart.c - 0 - 0 - - - 8 - 56 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_common.c - cy_scb_common.c - 0 - 0 - - - 8 - 57 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_prot.c - cy_prot.c - 0 - 0 - - - 8 - 58 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_gpio.c - cyhal_gpio.c - 0 - 0 - - - 8 - 59 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_system.c - cyhal_system.c - 0 - 0 - - - 8 - 60 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_sema.c - cy_ipc_sema.c - 0 - 0 - - - 8 - 61 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_utils_psoc.c - cyhal_utils_psoc.c - 0 - 0 - - - 8 - 62 + 10 + 96 1 0 0 @@ -988,20 +1481,8 @@ 0 - 8 - 63 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_01_cm0p_sleep.c - psoc6_01_cm0p_sleep.c - 0 - 0 - - - 8 - 64 + 10 + 97 1 0 0 @@ -1012,104 +1493,8 @@ 0 - 8 - 65 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_hwmgr.c - cyhal_hwmgr.c - 0 - 0 - - - 8 - 66 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_syslib.c - cy_syslib.c - 0 - 0 - - - 8 - 67 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_pipe.c - cy_ipc_pipe.c - 0 - 0 - - - 8 - 68 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_lptimer.c - cyhal_lptimer.c - 0 - 0 - - - 8 - 69 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_irq_psoc.c - cyhal_irq_psoc.c - 0 - 0 - - - 8 - 70 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_mcwdt.c - cy_mcwdt.c - 0 - 0 - - - 8 - 71 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sysclk.c - cy_sysclk.c - 0 - 0 - - - 8 - 72 - 1 - 0 - 0 - 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_syspm.c - cyhal_syspm.c - 0 - 0 - - - 8 - 73 + 10 + 98 1 0 0 @@ -1120,56 +1505,140 @@ 0 - 8 - 74 + 10 + 99 1 0 0 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\source\pin_packages\cyhal_psoc6_02_68_qfn.c - cyhal_psoc6_02_68_qfn.c + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_lptimer.c + cyhal_lptimer.c 0 0 - 8 - 75 + 10 + 100 1 0 0 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_systick.c - cy_systick.c + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_gpio.c + cyhal_gpio.c 0 0 - 8 - 76 + 10 + 101 1 0 0 0 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_interconnect.c - cyhal_interconnect.c + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_syspm.c + cy_syspm.c 0 0 - 8 - 77 + 10 + 102 1 0 0 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_trigmux.c - cy_trigmux.c + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_pipe.c + cy_ipc_pipe.c 0 0 - 8 - 78 + 10 + 103 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_scb_common.c + cyhal_scb_common.c + 0 + 0 + + + 10 + 104 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_syslib.c + cy_syslib.c + 0 + 0 + + + 10 + 105 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_clock.c + cyhal_clock.c + 0 + 0 + + + 10 + 106 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_utils_impl.c + cyhal_utils_impl.c + 0 + 0 + + + 10 + 107 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_syspm.c + cyhal_syspm.c + 0 + 0 + + + 10 + 108 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_uart.c + cy_scb_uart.c + 0 + 0 + + + 10 + 109 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sd_host.c + cy_sd_host.c + 0 + 0 + + + 10 + 110 1 0 0 @@ -1180,8 +1649,152 @@ 0 - 8 - 79 + 10 + 111 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_common.c + cy_scb_common.c + 0 + 0 + + + 10 + 112 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sysclk.c + cy_sysclk.c + 0 + 0 + + + 10 + 113 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_01_cm0p_sleep.c + psoc6_01_cm0p_sleep.c + 0 + 0 + + + 10 + 114 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\source\pin_packages\cyhal_psoc6_02_68_qfn.c + cyhal_psoc6_02_68_qfn.c + 0 + 0 + + + 10 + 115 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_i2c.c + cy_scb_i2c.c + 0 + 0 + + + 10 + 116 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\source\triggers\cyhal_triggers_psoc6_02.c + cyhal_triggers_psoc6_02.c + 0 + 0 + + + 10 + 117 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_gpio.c + cy_gpio.c + 0 + 0 + + + 10 + 118 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_systick.c + cy_systick.c + 0 + 0 + + + 10 + 119 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sysint.c + cy_sysint.c + 0 + 0 + + + 10 + 120 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_02_cm0p_sleep.c + psoc6_02_cm0p_sleep.c + 0 + 0 + + + 10 + 121 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_sdhc.c + cyhal_sdhc.c + 0 + 0 + + + 10 + 122 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_interconnect.c + cyhal_interconnect.c + 0 + 0 + + + 10 + 123 1 0 0 @@ -1192,14 +1805,98 @@ 0 - 8 - 80 + 10 + 124 1 0 0 0 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_syspm.c - cy_syspm.c + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_sema.c + cy_ipc_sema.c + 0 + 0 + + + 10 + 125 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_trigmux.c + cy_trigmux.c + 0 + 0 + + + 10 + 126 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_prot.c + cy_prot.c + 0 + 0 + + + 10 + 127 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_hwmgr.c + cyhal_hwmgr.c + 0 + 0 + + + 10 + 128 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_system.c + cyhal_system.c + 0 + 0 + + + 10 + 129 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_04_cm0p_sleep.c + psoc6_04_cm0p_sleep.c + 0 + 0 + + + 10 + 130 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_irq_impl.c + cyhal_irq_impl.c + 0 + 0 + + + 10 + 131 + 1 + 0 + 0 + 0 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_mcwdt.c + cy_mcwdt.c 0 0 @@ -1212,104 +1909,8 @@ 0 0 - 9 - 81 - 1 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_clocks.c - cycfg_clocks.c - 0 - 0 - - - 9 - 82 - 1 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_CM4\system_psoc6_cm4.c - system_psoc6_cm4.c - 0 - 0 - - - 9 - 83 - 1 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_connectivity_bt.c - cycfg_connectivity_bt.c - 0 - 0 - - - 9 - 84 - 1 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_peripherals.c - cycfg_peripherals.c - 0 - 0 - - - 9 - 85 - 1 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_routing.c - cycfg_routing.c - 0 - 0 - - - 9 - 86 - 1 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_capsense.c - cycfg_capsense.c - 0 - 0 - - - 9 - 87 - 1 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_dmas.c - cycfg_dmas.c - 0 - 0 - - - 9 - 88 - 2 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_CM4\TOOLCHAIN_ARM\startup_psoc6_02_cm4.S - startup_psoc6_02_cm4.S - 0 - 0 - - - 9 - 89 + 11 + 132 1 0 0 @@ -1320,50 +1921,586 @@ 0 - 9 - 90 + 11 + 133 1 0 0 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg.c + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_connectivity_bt.c + cycfg_connectivity_bt.c + 0 + 0 + + + 11 + 134 + 1 + 0 + 0 + 0 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_peripherals.c + cycfg_peripherals.c + 0 + 0 + + + 11 + 135 + 1 + 0 + 0 + 0 + libs\TARGET_RTT-062S2\COMPONENT_CM4\system_psoc6_cm4.c + system_psoc6_cm4.c + 0 + 0 + + + 11 + 136 + 2 + 0 + 0 + 0 + libs\TARGET_RTT-062S2\COMPONENT_CM4\TOOLCHAIN_ARM\startup_psoc6_02_cm4.S + startup_psoc6_02_cm4.S + 0 + 0 + + + 11 + 137 + 1 + 0 + 0 + 0 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_qspi_memslot.c + cycfg_qspi_memslot.c + 0 + 0 + + + 11 + 138 + 1 + 0 + 0 + 0 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg.c cycfg.c 0 0 - 9 - 91 + 11 + 139 1 0 0 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_pins.c - cycfg_pins.c - 0 - 0 - - - 9 - 92 - 1 - 0 - 0 - 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_system.c + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_system.c cycfg_system.c 0 0 - 9 - 93 + 11 + 140 1 0 0 0 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_qspi_memslot.c - cycfg_qspi_memslot.c + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_clocks.c + cycfg_clocks.c + 0 + 0 + + + 11 + 141 + 1 + 0 + 0 + 0 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_pins.c + cycfg_pins.c + 0 + 0 + + + 11 + 142 + 1 + 0 + 0 + 0 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_routing.c + cycfg_routing.c + 0 + 0 + + + 11 + 143 + 1 + 0 + 0 + 0 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_capsense.c + cycfg_capsense.c + 0 + 0 + + + + + lwIP + 0 + 0 + 0 + 0 + + 12 + 144 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\api_lib.c + api_lib.c + 0 + 0 + + + 12 + 145 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\api_msg.c + api_msg.c + 0 + 0 + + + 12 + 146 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\err.c + err.c + 0 + 0 + + + 12 + 147 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\netbuf.c + netbuf.c + 0 + 0 + + + 12 + 148 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\netdb.c + netdb.c + 0 + 0 + + + 12 + 149 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\netifapi.c + netifapi.c + 0 + 0 + + + 12 + 150 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\sockets.c + sockets.c + 0 + 0 + + + 12 + 151 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\tcpip.c + tcpip.c + 0 + 0 + + + 12 + 152 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\apps\ping\ping.c + ping.c + 0 + 0 + + + 12 + 153 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\def.c + def.c + 0 + 0 + + + 12 + 154 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\dns.c + dns.c + 0 + 0 + + + 12 + 155 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\inet_chksum.c + inet_chksum.c + 0 + 0 + + + 12 + 156 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\init.c + init.c + 0 + 0 + + + 12 + 157 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ip.c + ip.c + 0 + 0 + + + 12 + 158 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\autoip.c + autoip.c + 0 + 0 + + + 12 + 159 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\dhcp.c + dhcp.c + 0 + 0 + + + 12 + 160 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\etharp.c + etharp.c + 0 + 0 + + + 12 + 161 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\icmp.c + icmp.c + 0 + 0 + + + 12 + 162 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\igmp.c + igmp.c + 0 + 0 + + + 12 + 163 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4.c + ip4.c + 0 + 0 + + + 12 + 164 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4_addr.c + ip4_addr.c + 0 + 0 + + + 12 + 165 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4_frag.c + ip4_frag.c + 0 + 0 + + + 12 + 166 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\memp.c + memp.c + 0 + 0 + + + 12 + 167 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\netif.c + netif.c + 0 + 0 + + + 12 + 168 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\pbuf.c + pbuf.c + 0 + 0 + + + 12 + 169 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\raw.c + raw.c + 0 + 0 + + + 12 + 170 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\stats.c + stats.c + 0 + 0 + + + 12 + 171 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\sys.c + sys.c + 0 + 0 + + + 12 + 172 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp.c + tcp.c + 0 + 0 + + + 12 + 173 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp_in.c + tcp_in.c + 0 + 0 + + + 12 + 174 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp_out.c + tcp_out.c + 0 + 0 + + + 12 + 175 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\timeouts.c + timeouts.c + 0 + 0 + + + 12 + 176 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\udp.c + udp.c + 0 + 0 + + + 12 + 177 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\netif\ethernet.c + ethernet.c + 0 + 0 + + + 12 + 178 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\lwip-2.0.3\src\netif\lowpan6.c + lowpan6.c + 0 + 0 + + + 12 + 179 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\port\ethernetif.c + ethernetif.c + 0 + 0 + + + 12 + 180 + 1 + 0 + 0 + 0 + ..\..\..\components\net\lwip\port\sys_arch.c + sys_arch.c 0 0 diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/project.uvprojx b/bsp/Infineon/psoc6-evaluationkit-062S2/project.uvprojx index d3c5e33ab8..aa8f237afe 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/project.uvprojx +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/project.uvprojx @@ -10,18 +10,18 @@ rtthread 0x4 ARM-ADS - 6160000::V6.16::ARMCLANG + 6190000::V6.19::ARMCLANG 1 - CY8C624ALQI-S2D42:Cortex-M4 - Infineon - Infineon.PSoC6_DFP.1.4.0 - https://github.com/Infineon/cmsis-packs/raw/master/PSoC6_DFP/ - IRAM(0x08000000,0x00100000) IROM(0x10000000,0x00200000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE + CY8C6248LQI-S2D42:Cortex-M4 + Cypress + Cypress.PSoC6_DFP.1.2.0 + https://github.com/cypresssemiconductorco/cmsis-packs/raw/master/PSoC6_DFP/ + IRAM(0x08000000,0x80000) IROM(0x10000000,0x100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE - UL2CM3(-S0 -C0 -P0 -FD08026400 -FC8000 -FN5 -FF0CY8C6xxA_SFLASH_TOC2 -FS016007C00 -FL0400 -FF1CY8C6xxA_SFLASH_PKEY -FS116005A00 -FL1C00 -FF2CY8C6xxA_SFLASH_USER -FS216000800 -FL2800 -FF3CY8C6xxA_WFLASH -FS314000000 -FL38000 -FF4CY8C6xxA_sect256KB -FS410000000 -FL4200000 -FP0($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_TOC2.FLM) -FP1($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_PKEY.FLM) -FP2($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_SFLASH_USER.FLM) -FP3($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_WFLASH.FLM) -FP4($$Device:CY8C624ALQI-S2D42$Flash\CY8C6xxA_sect256KB.FLM)) + UL2CM3(-S0 -C0 -P0 -FD08026400 -FC8000 -FN5 -FF0CY8C6xxA_SFLASH_TOC2 -FS016007C00 -FL0400 -FF1CY8C6xxA_SFLASH_PKEY -FS116005A00 -FL1C00 -FF2CY8C6xxA_SFLASH_USER -FS216000800 -FL2800 -FF3CY8C6xxA_WFLASH -FS314000000 -FL38000 -FF4CY8C6xx8_sect256KB -FS410000000 -FL4100000 -FP0($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_TOC2.FLM) -FP1($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_PKEY.FLM) -FP2($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_SFLASH_USER.FLM) -FP3($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xxA_WFLASH.FLM) -FP4($$Device:CY8C6248LQI-S2D42$Flash\CY8C6xx8_sect256KB.FLM)) 0 @@ -33,7 +33,7 @@ - $$Device:CY8C624ALQI-S2D42$SVD\psoc6_02.svd + $$Device:CY8C6248LQI-S2D42$SVD\psoc6_02.svd 0 0 @@ -186,6 +186,7 @@ 2 0 0 + 0 0 0 8 @@ -246,12 +247,12 @@ 0 0x8000000 - 0x100000 + 0x80000 1 0x10000000 - 0x200000 + 0x100000 0 @@ -276,7 +277,7 @@ 1 0x10000000 - 0x200000 + 0x100000 1 @@ -301,7 +302,7 @@ 0 0x8000000 - 0x100000 + 0x80000 0 @@ -337,9 +338,9 @@ 0 - COMPONENT_CAT1A, RT_USING_LIBC, RT_USING_ARMLIBC, CY_USING_HAL, __CLK_TCK=RT_TICK_PER_SECOND, COMPONENT_BSP_DESIGN_MODUS, __STDC_LIMIT_MACROS, __RTTHREAD__, COMPONENT_CAT1, CY8C624ALQI_S2D42 + COMPONENT_MW_CORE_MAKE, COMPONENT_MW_SENSOR_MOTION_BMI160, COMPONENT_CAT1, CY8C624ALQI_S2D42, COMPONENT_MW_CY8CKIT_028_TFT, COMPONENT_MW_AUDIO_CODEC_AK4954A, COMPONENT_MW_CMSIS, COMPONENT_GCC_ARM, CY_RTOS_AWARE, COMPONENT_MW_CAPSENSE, CY_SUPPORTS_DEVICE_VALIDATION, __STDC_LIMIT_MACROS, CORE_NAME_CM0P_0, COMPONENT_MW_MTB_PDL_CAT1, COMPONENT_MW_CONNECTIVITY_UTILITIES, COMPONENT_PSOC6_02, COMPONENT_MW_WIFI_CORE_FREERTOS_LWIP_MBEDTLS, COMPONENT_WIFI_INTERFACE_SDIO, COMPONENT_MBEDTLS, CY_USING_PREBUILT_CM0P_IMAGE, COMPONENT_MW_SENSOR_LIGHT, COMPONENT_MW_WPA3_EXTERNAL_SUPPLICANT, COMPONENT_MW_LWIP, COMPONENT_LWIP, COMPONENT_APP_CY8CKIT_062S2_43012, COMPONENT_MW_RETARGET_IO, COMPONENT_43012, COMPONENT_CM4, LWIP_NETIF_REMOVE_CALLBACK=1, COMPONENT_MW_MTB_HAL_CAT1, COMPONENT_MW_CLIB_SUPPORT, TARGET_APP_CY8CKIT_062S2_43012, COMPONENT_MW_HTTP_SERVER, COMPONENT_CAT1A, COMPONENT_MURATA_1LV, COMPONENT_MW_LWIP_NETWORK_INTERFACE_INTEGRATION, CORE_NAME_CM4_0, COMPONENT_MW_BMI160_DRIVER, MAX_NUMBER_OF_HTTP_SERVER_RESOURCES=10, COMPONENT_MW_CORE_LIB, COMPONENT_MW_EMWIN, COMPONENT_MW_RECIPE_MAKE_CAT1A, CY_APPNAME_mtb_example_wifi_web_server, COMPONENT_HCI_UART, COMPONENT_MW_FREERTOS, __RTTHREAD__, CYBSP_WIFI_CAPABLE, CY_USING_HAL, COMPONENT_MW_WIFI_HOST_DRIVER, CY_TARGET_BOARD=APP_CY8CKIT_062S2_43012, COMPONENT_SECURE_SOCKETS, CY_RETARGET_IO_CONVERT_LF_TO_CRLF, COMPONENT_MW_ABSTRACTION_RTOS, COMPONENT_MW_MBEDTLS, COMPONENT_MW_DISPLAY_TFT_ST7789V, RT_USING_ARMLIBC, COMPONENT_CM0P_SLEEP, COMPONENT_MW_WHD_BSP_INTEGRATION, RT_USING_LIBC, COMPONENT_MW_SERIAL_FLASH, COMPONENT_MW_LWIP_FREERTOS_INTEGRATION, COMPONENT_MW_CY_MBEDTLS_ACCELERATION, COMPONENT_MW_SECURE_SOCKETS, MBEDTLS_USER_CONFIG_FILE="mbedtls_user_config.h", __CLK_TCK=RT_TICK_PER_SECOND - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource;..\..\..\components\libc\posix\io\poll;..\libraries\IFX_PSOC6_HAL\mtb_shared\csdidac;applications;..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\include;..\libraries\HAL_Drivers\config;..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\include;..\..\..\include;packages\ili9341-latest;..\libraries\IFX_PSOC6_HAL\mtb_shared\serial-flash;..\..\..\components\libc\compilers\common\include;board;..\..\..\components\libc\compilers\common\extension;..\libraries\IFX_PSOC6_HAL\psoc6cm0p;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\IFX_PSOC6_HAL\capsense;..\..\..\components\libc\posix\ipc;..\libraries\IFX_PSOC6_HAL\retarget-io;libs\TARGET_RTT-062S2;..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\cmsis\include;..\libraries\IFX_PSOC6_HAL\mtb_shared\usbdev;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m4;.;..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\include_pvt;..\libraries\IFX_PSOC6_HAL\core-lib\include;..\..\..\components\libc\posix\io\stdio;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\include;..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\devices\COMPONENT_CAT1A\include;..\..\..\components\drivers\include;board\ports;..\libraries\HAL_Drivers + applications;..\libraries\IFX_PSOC6_HAL\mtb_shared\serial-flash;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\include;packages\FreeRTOS_Wrapper-latest\FreeRTOS\portable\rt-thread;..\..\..\include;..\libraries\IFX_PSOC6_HAL\psoc6cm0p;..\libraries\IFX_PSOC6_HAL\capsense;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\include;..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\include;..\..\..\components\drivers\include;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\firmware\COMPONENT_43012;..\..\..\libcpu\arm\common;..\libraries\IFX_PSOC6_HAL\mtb_shared\usbdev;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\nvram;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\firmware;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources;..\..\..\components\net\lwip\lwip-2.0.3\src\include;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\clm;..\libraries\HAL_Drivers\config;..\..\..\components\libc\posix\ipc;..\libraries\IFX_PSOC6_HAL\mtb_shared\csdidac;packages\wlan_cyw43012-v0.0.1;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\inc;packages\wlan_cyw43012-v0.0.1\wifi-host-driver;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\clm\COMPONENT_43012;..\..\..\components\drivers\include;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols;..\..\..\components\drivers\wlan;libs\TARGET_RTT-062S2;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\resource_imp;libs\TARGET_RTT-062S2\config\GeneratedSource;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\finsh;..\libraries\IFX_PSOC6_HAL\core-lib\include;..\..\..\components\net\lwip\port;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver;board\ports;..\..\..\components\drivers\include;..\..\..\components\net\lwip\lwip-2.0.3\src\include\netif;packages\wlan_cyw43012-v0.0.1\abstraction-rtos\include\COMPONENT_FREERTOS;..\..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;..\..\..\components\net\lwip\lwip-2.0.3\src\include\posix;..\libraries\HAL_Drivers;packages\FreeRTOS_Wrapper-latest\FreeRTOS\include;..\..\..\components\libc\posix\io\eventfd;.;packages\wlan_cyw43012-v0.0.1\abstraction-rtos\include;..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\devices\COMPONENT_CAT1A\include;..\..\..\components\libc\posix\io\epoll;packages\wlan_cyw43012-v0.0.1\whd-bsp-integration;..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\include;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\nvram\COMPONENT_43012;..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\cmsis\include;..\..\..\components\libc\compilers\common\extension;packages\wlan_cyw43012-v0.0.1\abstraction-rtos;..\..\..\components\libc\posix\io\stdio;..\libraries\IFX_PSOC6_HAL\retarget-io;board;packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\nvram\COMPONENT_43012\COMPONENT_MURATA-1LV;..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\include_pvt;packages\FreeRTOS_Wrapper-latest\FreeRTOS\include\freertos @@ -465,9 +466,199 @@ + + cyw43012 + + + whd_logging.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_logging.c + + + whd_wifi.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_wifi.c + + + whd_clm.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_clm.c + + + whd_debug.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_debug.c + + + 43012C0-mfgtest_clm_blob.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\clm\COMPONENT_43012\43012C0-mfgtest_clm_blob.c + + + whd_bus.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus.c + + + cy_network_buffer_lwip.c + 1 + packages\wlan_cyw43012-v0.0.1\whd-bsp-integration\COMPONENT_LWIP\cy_network_buffer_lwip.c + + + whd_resources.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\resource_imp\whd_resources.c + + + wifi_ifx_cyw43012.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi_ifx_cyw43012.c + + + 43012C0_bin.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\firmware\COMPONENT_43012\43012C0_bin.c + + + whd_thread.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_thread.c + + + cybsp_wifi.c + 1 + packages\wlan_cyw43012-v0.0.1\whd-bsp-integration\cybsp_wifi.c + + + whd_bus_spi_protocol.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus_spi_protocol.c + + + cy_worker_thread.c + 1 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\cy_worker_thread.c + + + whd_bus_common.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus_common.c + + + whd_sdpcm.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_sdpcm.c + + + whd_ap.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_ap.c + + + whd_cdc_bdc.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_cdc_bdc.c + + + whd_chip.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_chip.c + + + 43012C0-mfgtest_bin.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\firmware\COMPONENT_43012\43012C0-mfgtest_bin.c + + + cyabs_freertos_common.c + 1 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\COMPONENT_FREERTOS\cyabs_freertos_common.c + + + whd_management.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_management.c + + + cyabs_rtos_freertos.c + 1 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\COMPONENT_FREERTOS\cyabs_rtos_freertos.c + + + whd_bus_sdio_protocol.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus_sdio_protocol.c + + + whd_buffer_api.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_buffer_api.c + + + whd_resource_if.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_resource_if.c + + + whd_bus_m2m_protocol.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\bus_protocols\whd_bus_m2m_protocol.c + + + whd_wifi_api.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_wifi_api.c + + + cyabs_rtos_dsram.c + 1 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\COMPONENT_FREERTOS\cyabs_rtos_dsram.c + + + whd_chip_constants.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_chip_constants.c + + + whd_network_if.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_network_if.c + + + whd_wifi_p2p.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_wifi_p2p.c + + + cyabs_freertos_helpers.c + 1 + packages\wlan_cyw43012-v0.0.1\abstraction-rtos\source\COMPONENT_FREERTOS\cyabs_freertos_helpers.c + + + whd_utils.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_utils.c + + + 43012C0_clm_blob.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\resources\clm\COMPONENT_43012\43012C0_clm_blob.c + + + whd_events.c + 1 + packages\wlan_cyw43012-v0.0.1\wifi-host-driver\WiFi_Host_Driver\src\whd_events.c + + + DeviceDrivers + + device.c + 1 + ..\..\..\components\drivers\core\device.c + completion.c 1 @@ -513,21 +704,61 @@ 1 ..\..\..\components\drivers\serial\serial.c + + wlan_cfg.c + 1 + ..\..\..\components\drivers\wlan\wlan_cfg.c + + + wlan_cmd.c + 1 + ..\..\..\components\drivers\wlan\wlan_cmd.c + + + wlan_dev.c + 1 + ..\..\..\components\drivers\wlan\wlan_dev.c + + + wlan_lwip.c + 1 + ..\..\..\components\drivers\wlan\wlan_lwip.c + + + wlan_mgnt.c + 1 + ..\..\..\components\drivers\wlan\wlan_mgnt.c + + + wlan_prot.c + 1 + ..\..\..\components\drivers\wlan\wlan_prot.c + + + wlan_workqueue.c + 1 + ..\..\..\components\drivers\wlan\wlan_workqueue.c + Drivers - cy_syslib_mdk.S + cy_syslib_ext.S 2 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\TOOLCHAIN_ARM\cy_syslib_mdk.S + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\TOOLCHAIN_ARM\cy_syslib_ext.S board.c 1 board\board.c + + drv_cyw43012.c + 1 + board\ports\drv_cyw43012.c + drv_common.c 1 @@ -549,9 +780,9 @@ Finsh - shell.c + msh_parse.c 1 - ..\..\..\components\finsh\shell.c + ..\..\..\components\finsh\msh_parse.c msh.c @@ -559,9 +790,9 @@ ..\..\..\components\finsh\msh.c - msh_parse.c + shell.c 1 - ..\..\..\components\finsh\msh_parse.c + ..\..\..\components\finsh\shell.c cmd.c @@ -570,6 +801,41 @@ + + FreeRTOS + + + list.c + 1 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\list.c + + + port.c + 1 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\portable\rt-thread\port.c + + + queue.c + 1 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\queue.c + + + tasks.c + 1 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\tasks.c + + + event_groups.c + 1 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\event_groups.c + + + timers.c + 1 + packages\FreeRTOS_Wrapper-latest\FreeRTOS\timers.c + + + Kernel @@ -583,11 +849,6 @@ 1 ..\..\..\src\components.c - - device.c - 1 - ..\..\..\src\device.c - idle.c 1 @@ -643,115 +904,20 @@ Libraries - - psoc6_04_cm0p_sleep.c - 1 - ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_04_cm0p_sleep.c - - - cy_sysint.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sysint.c - - - cyhal_triggers_psoc6_02.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\source\triggers\cyhal_triggers_psoc6_02.c - - - cy_retarget_io.c - 1 - ..\libraries\IFX_PSOC6_HAL\retarget-io\cy_retarget_io.c - - - psoc6_02_cm0p_sleep.c - 1 - ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_02_cm0p_sleep.c - - - cy_scb_i2c.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_i2c.c - - - cy_gpio.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_gpio.c - - - cyhal_scb_common.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_scb_common.c - - - cyhal_clock.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_clock.c - - - cy_scb_uart.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_uart.c - - - cy_scb_common.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_common.c - - - cy_prot.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_prot.c - - - cyhal_gpio.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_gpio.c - - - cyhal_system.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_system.c - - - cy_ipc_sema.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_sema.c - - - cyhal_utils_psoc.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_utils_psoc.c - cyhal_utils.c 1 ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_utils.c - - psoc6_01_cm0p_sleep.c - 1 - ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_01_cm0p_sleep.c - cy_ipc_drv.c 1 ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_drv.c - cyhal_hwmgr.c + cyhal_uart.c 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_hwmgr.c - - - cy_syslib.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_syslib.c - - - cy_ipc_pipe.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_pipe.c + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_uart.c cyhal_lptimer.c @@ -759,19 +925,39 @@ ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_lptimer.c - cyhal_irq_psoc.c + cyhal_gpio.c 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_irq_psoc.c + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_gpio.c - cy_mcwdt.c + cy_syspm.c 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_mcwdt.c + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_syspm.c - cy_sysclk.c + cy_ipc_pipe.c 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sysclk.c + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_pipe.c + + + cyhal_scb_common.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_scb_common.c + + + cy_syslib.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_syslib.c + + + cyhal_clock.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_clock.c + + + cyhal_utils_impl.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_utils_impl.c cyhal_syspm.c @@ -779,44 +965,124 @@ ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_syspm.c - cyhal_uart.c + cy_scb_uart.c 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_uart.c + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_uart.c - cyhal_psoc6_02_68_qfn.c + cy_sd_host.c 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\source\pin_packages\cyhal_psoc6_02_68_qfn.c - - - cy_systick.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_systick.c - - - cyhal_interconnect.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_interconnect.c - - - cy_trigmux.c - 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_trigmux.c + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sd_host.c cy_device.c 1 ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\devices\COMPONENT_CAT1A\source\cy_device.c + + cy_scb_common.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_common.c + + + cy_sysclk.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sysclk.c + + + psoc6_01_cm0p_sleep.c + 1 + ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_01_cm0p_sleep.c + + + cyhal_psoc6_02_68_qfn.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\source\pin_packages\cyhal_psoc6_02_68_qfn.c + + + cy_scb_i2c.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_scb_i2c.c + + + cyhal_triggers_psoc6_02.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\COMPONENT_CAT1A\source\triggers\cyhal_triggers_psoc6_02.c + + + cy_gpio.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_gpio.c + + + cy_systick.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_systick.c + + + cy_sysint.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_sysint.c + + + psoc6_02_cm0p_sleep.c + 1 + ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_02_cm0p_sleep.c + + + cyhal_sdhc.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_sdhc.c + + + cyhal_interconnect.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_interconnect.c + psoc6_03_cm0p_sleep.c 1 ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_03_cm0p_sleep.c - cy_syspm.c + cy_ipc_sema.c 1 - ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_syspm.c + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_ipc_sema.c + + + cy_trigmux.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_trigmux.c + + + cy_prot.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_prot.c + + + cyhal_hwmgr.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_hwmgr.c + + + cyhal_system.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_system.c + + + psoc6_04_cm0p_sleep.c + 1 + ..\libraries\IFX_PSOC6_HAL\psoc6cm0p\COMPONENT_CM0P_SLEEP\psoc6_04_cm0p_sleep.c + + + cyhal_irq_impl.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-hal-cat1\source\cyhal_irq_impl.c + + + cy_mcwdt.c + 1 + ..\libraries\IFX_PSOC6_HAL\mtb-pdl-cat1\drivers\source\cy_mcwdt.c @@ -824,69 +1090,254 @@ libs - cycfg_clocks.c + cybsp.c 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_clocks.c + libs\TARGET_RTT-062S2\cybsp.c + + + cycfg_connectivity_bt.c + 1 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_connectivity_bt.c + + + cycfg_peripherals.c + 1 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_peripherals.c system_psoc6_cm4.c 1 libs\TARGET_RTT-062S2\COMPONENT_CM4\system_psoc6_cm4.c - - cycfg_connectivity_bt.c - 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_connectivity_bt.c - - - cycfg_peripherals.c - 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_peripherals.c - - - cycfg_routing.c - 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_routing.c - - - cycfg_capsense.c - 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_capsense.c - - - cycfg_dmas.c - 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_dmas.c - startup_psoc6_02_cm4.S 2 libs\TARGET_RTT-062S2\COMPONENT_CM4\TOOLCHAIN_ARM\startup_psoc6_02_cm4.S - cybsp.c + cycfg_qspi_memslot.c 1 - libs\TARGET_RTT-062S2\cybsp.c + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_qspi_memslot.c cycfg.c 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg.c - - - cycfg_pins.c - 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_pins.c + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg.c cycfg_system.c 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_system.c + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_system.c - cycfg_qspi_memslot.c + cycfg_clocks.c 1 - libs\TARGET_RTT-062S2\COMPONENT_BSP_DESIGN_MODUS\GeneratedSource\cycfg_qspi_memslot.c + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_clocks.c + + + cycfg_pins.c + 1 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_pins.c + + + cycfg_routing.c + 1 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_routing.c + + + cycfg_capsense.c + 1 + libs\TARGET_RTT-062S2\config\GeneratedSource\cycfg_capsense.c + + + + + lwIP + + + api_lib.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\api_lib.c + + + api_msg.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\api_msg.c + + + err.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\err.c + + + netbuf.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\netbuf.c + + + netdb.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\netdb.c + + + netifapi.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\netifapi.c + + + sockets.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\sockets.c + + + tcpip.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\api\tcpip.c + + + ping.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\apps\ping\ping.c + + + def.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\def.c + + + dns.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\dns.c + + + inet_chksum.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\inet_chksum.c + + + init.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\init.c + + + ip.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ip.c + + + autoip.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\autoip.c + + + dhcp.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\dhcp.c + + + etharp.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\etharp.c + + + icmp.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\icmp.c + + + igmp.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\igmp.c + + + ip4.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4.c + + + ip4_addr.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4_addr.c + + + ip4_frag.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4_frag.c + + + memp.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\memp.c + + + netif.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\netif.c + + + pbuf.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\pbuf.c + + + raw.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\raw.c + + + stats.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\stats.c + + + sys.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\sys.c + + + tcp.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp.c + + + tcp_in.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp_in.c + + + tcp_out.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp_out.c + + + timeouts.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\timeouts.c + + + udp.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\core\udp.c + + + ethernet.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\netif\ethernet.c + + + lowpan6.c + 1 + ..\..\..\components\net\lwip\lwip-2.0.3\src\netif\lowpan6.c + + + ethernetif.c + 1 + ..\..\..\components\net\lwip\port\ethernetif.c + + + sys_arch.c + 1 + ..\..\..\components\net\lwip\port\sys_arch.c diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/rtconfig.py b/bsp/Infineon/psoc6-evaluationkit-062S2/rtconfig.py index 4f41f6d9c2..25e6679827 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/rtconfig.py +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/rtconfig.py @@ -3,7 +3,7 @@ import os # toolchains options ARCH='arm' CPU='cortex-m4' -CROSS_TOOL='armclang' +CROSS_TOOL='gcc' # bsp lib config BSP_LIBRARY_TYPE = None