diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/downloads/02e88e962c847bfe939c1bb40d987adc8d63670d b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/downloads/02e88e962c847bfe939c1bb40d987adc8d63670d deleted file mode 100644 index be6a1a46..00000000 Binary files a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/downloads/02e88e962c847bfe939c1bb40d987adc8d63670d and /dev/null differ diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/downloads/usage.db b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/downloads/usage.db deleted file mode 100644 index ffa64101..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/downloads/usage.db +++ /dev/null @@ -1 +0,0 @@ -{"02e88e962c847bfe939c1bb40d987adc8d63670d": 1707865898} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/65de00e60c97cea514dcefaf46fa501065001087 b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/65de00e60c97cea514dcefaf46fa501065001087 deleted file mode 100644 index fddd42d2..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/65de00e60c97cea514dcefaf46fa501065001087 +++ /dev/null @@ -1 +0,0 @@ -{"Location": "https://dl.registry.platformio.org/platforms/f9/01/aa69e6679006fd89fa87f69be7020acf824bf55906470913255cc92fb904/nordicnrf52-9.6.0.tar.gz", "X-PIO-Content-SHA256": "369c2b87a3cebc1fa4e56119142f1bdd851038c8ced36383f9e9c4deb3f9138b"} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/6c0ef23b0efd357015981f40a36d2dbe43ea4cbb b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/6c0ef23b0efd357015981f40a36d2dbe43ea4cbb deleted file mode 100644 index bbf36063..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/6c0ef23b0efd357015981f40a36d2dbe43ea4cbb +++ /dev/null @@ -1 +0,0 @@ -{"page":1,"limit":10,"total":1,"items":[{"id":8027,"type":"platform","tier":"community","owner":{"username":"platformio"},"name":"nordicnrf52","description":"The nRF52 Series are built for speed to carry out increasingly complex tasks in the shortest possible time and return to sleep, conserving precious battery power. They have a Cortex-M4F processor which makes them quite capable Bluetooth Smart SoCs.","keywords":["dev-platform","arm","cortex-m","nordic semiconductor","nrf52"],"license":"Apache-2.0","updated_at":"2023-12-27T12:36:37Z","stars_count":97,"popularity_rank":10,"popularity_trend":-1,"version":{"id":58469,"name":"10.3.0","unpacked_size":4056659,"released_at":"2023-12-27T12:36:37Z","files":[{"name":"nordicnrf52-10.3.0.tar.gz","size":227117,"checksum":{"sha256":"93e8df081f3f3904cfe721729c637ba2b53defce7c3353a2d8ae7c8604172a88"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/10.3.0/nordicnrf52-10.3.0.tar.gz"}]}}]} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/d9b2b5424a82e5546c1e0ec036a67ad8ea713a46 b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/d9b2b5424a82e5546c1e0ec036a67ad8ea713a46 deleted file mode 100644 index ec803276..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/d9b2b5424a82e5546c1e0ec036a67ad8ea713a46 +++ /dev/null @@ -1 +0,0 @@ -{"id":8027,"type":"platform","tier":"community","owner":{"username":"platformio","firstname":"PlatformIO","lastname":null,"is_org":true},"name":"nordicnrf52","description":"The nRF52 Series are built for speed to carry out increasingly complex tasks in the shortest possible time and return to sleep, conserving precious battery power. They have a Cortex-M4F processor which makes them quite capable Bluetooth Smart SoCs.","added_at":"2017-05-25T17:28:19Z","updated_at":"2023-12-27T12:36:37Z","modified_at":"2023-12-18T12:22:24Z","downloads_trend":-70,"popularity_trend":-1,"popularity_rank":10,"open_issues_count":83,"stars_count":97,"examples_count":12,"boards_count":44,"title":"Nordic nRF52","license":"Apache-2.0","homepage":"https://www.nordicsemi.com/Products/nRF52-Series-SoC","repository_url":"https://github.com/platformio/platform-nordicnrf52.git","keywords":["dev-platform","arm","cortex-m","nordic semiconductor","nrf52"],"authors":[{"url":"https://github.com/platformio","email":"contact@platformio.org","name":"PlatformIO"}],"platform_embedded":true,"frameworks":["arduino","mbed","zephyr"],"framework_meta":{"arduino":{"title":null,"description":"Arduino Wiring-based Framework for Nordic Semiconductor nRF5 based boards","dependency":{"id":8076,"type":"tool","owner":{"username":"platformio"},"name":"framework-arduinonordicnrf5"}},"mbed":{"title":null,"description":"Arm Mbed OS is a platform operating system designed for the internet of things","dependency":{"id":8111,"type":"tool","owner":{"username":"platformio"},"name":"framework-mbed"}},"zephyr":{"title":null,"description":"Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures","dependency":{"id":8118,"type":"tool","owner":{"username":"platformio"},"name":"framework-zephyr"}}},"dependencies_count":17,"dependents_count":0,"top_dependencies":[{"id":8207,"type":"tool","owner":{"username":"platformio"},"name":"toolchain-gccarmnoneeabi"},{"id":8086,"type":"tool","owner":{"username":"platformio"},"name":"framework-cmsis"},{"id":8152,"type":"tool","owner":{"username":"platformio"},"name":"tool-cmake"}],"top_dependents":[],"version":{"id":58469,"name":"10.3.0","unpacked_size":4056659,"released_at":"2023-12-27T12:36:37Z","files":[{"name":"nordicnrf52-10.3.0.tar.gz","size":227117,"checksum":{"sha256":"93e8df081f3f3904cfe721729c637ba2b53defce7c3353a2d8ae7c8604172a88"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/10.3.0/nordicnrf52-10.3.0.tar.gz"}],"is_latest":true},"versions":[{"id":58469,"name":"10.3.0","unpacked_size":4056659,"released_at":"2023-12-27T12:36:37Z","files":[{"name":"nordicnrf52-10.3.0.tar.gz","size":227117,"checksum":{"sha256":"93e8df081f3f3904cfe721729c637ba2b53defce7c3353a2d8ae7c8604172a88"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/10.3.0/nordicnrf52-10.3.0.tar.gz"}],"is_latest":true},{"id":55962,"name":"10.2.0","unpacked_size":4056337,"released_at":"2023-09-29T10:24:23Z","files":[{"name":"nordicnrf52-10.2.0.tar.gz","size":226992,"checksum":{"sha256":"0563a9d071524074b1266a2090b2fba4bc03724b0bd71a99970c6a9a3fcadd42"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/10.2.0/nordicnrf52-10.2.0.tar.gz"}],"is_latest":false},{"id":54565,"name":"10.1.0","unpacked_size":4056288,"released_at":"2023-07-28T11:31:53Z","files":[{"name":"nordicnrf52-10.1.0.tar.gz","size":226963,"checksum":{"sha256":"f703a296572896d835d185bbe94e950a973d25f355c66105f20aa10f912b52cc"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/10.1.0/nordicnrf52-10.1.0.tar.gz"}],"is_latest":false},{"id":53904,"name":"10.0.0","unpacked_size":4054215,"released_at":"2023-06-30T09:45:54Z","files":[{"name":"nordicnrf52-10.0.0.tar.gz","size":226189,"checksum":{"sha256":"6f1860e648a64851e73e6070ce16be5fad09619a11bff4a805489c3b8a863086"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/10.0.0/nordicnrf52-10.0.0.tar.gz"}],"is_latest":false},{"id":51868,"name":"9.6.0","unpacked_size":4088906,"released_at":"2023-03-28T11:51:07Z","files":[{"name":"nordicnrf52-9.6.0.tar.gz","size":233929,"checksum":{"sha256":"369c2b87a3cebc1fa4e56119142f1bdd851038c8ced36383f9e9c4deb3f9138b"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/9.6.0/nordicnrf52-9.6.0.tar.gz"}],"is_latest":false},{"id":51275,"name":"9.5.0","unpacked_size":4088150,"released_at":"2023-02-28T10:47:44Z","files":[{"name":"nordicnrf52-9.5.0.tar.gz","size":233861,"checksum":{"sha256":"c26b3e37750f6b127b9c62162366092c6903781c43ec25fabb7d8cd0a7447262"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/9.5.0/nordicnrf52-9.5.0.tar.gz"}],"is_latest":false},{"id":44721,"name":"9.4.0","unpacked_size":4084270,"released_at":"2022-05-30T15:54:02Z","files":[{"name":"nordicnrf52-9.4.0.tar.gz","size":233705,"checksum":{"sha256":"8420f29e0dcb52da662a3fef78dce0b4d0e2b9e8da05e909012f98c63a3f6e7e"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/9.4.0/nordicnrf52-9.4.0.tar.gz"}],"is_latest":false},{"id":43322,"name":"9.3.0","unpacked_size":4001369,"released_at":"2022-04-01T11:32:07Z","files":[{"name":"nordicnrf52-9.3.0.tar.gz","size":237740,"checksum":{"sha256":"bc94af39290d124814aaf76f6c9053f93bbfcd0cd924c7a6573f3055a24810e6"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/9.3.0/nordicnrf52-9.3.0.tar.gz"}],"is_latest":false},{"id":41827,"name":"9.2.0","unpacked_size":4108597,"released_at":"2022-01-28T13:19:39Z","files":[{"name":"nordicnrf52-9.2.0.tar.gz","size":239646,"checksum":{"sha256":"6972ea97cce2b95bcd9fdea6267d13c22c8ade9add1092a5bcbd890b8f66e453"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/9.2.0/nordicnrf52-9.2.0.tar.gz"}],"is_latest":false},{"id":37504,"name":"8.2.0","unpacked_size":4105382,"released_at":"2021-07-30T18:30:28Z","files":[{"name":"nordicnrf52-8.2.0.tar.gz","size":237994,"checksum":{"sha256":"5a0cf569872941962aac46a9c353e7f14c2bb7ad6fd5b075a768908e862e6dc4"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/8.2.0/nordicnrf52-8.2.0.tar.gz"}],"is_latest":false},{"id":17888,"name":"3.7.0","unpacked_size":1776098,"released_at":"2019-09-02T09:56:05Z","files":[{"name":"nordicnrf52-3.7.0.tar.gz","size":112531,"checksum":{"sha256":"cad567041074ad357faa08391aa39b0309a79bd3c95043277df6d8b41e0325ea"},"system":"*","download_url":"https://dl.registry.platformio.org/download/platformio/platform/nordicnrf52/3.7.0/nordicnrf52-3.7.0.tar.gz"}],"is_latest":false}],"readme_url":"https://dl.registry.platformio.org/platforms/3e/fa/1856551da873ac021f243b4850ae81d091efaaf05613d5638a2b514f2fd8/README.md"} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/db.data b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/db.data deleted file mode 100644 index d5c72517..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/.cache/http/db.data +++ /dev/null @@ -1,3 +0,0 @@ -1707869494=6c0ef23b0efd357015981f40a36d2dbe43ea4cbb -1707869494=d9b2b5424a82e5546c1e0ec036a67ad8ea713a46 -1707869497=65de00e60c97cea514dcefaf46fa501065001087 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/appstate.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/appstate.json deleted file mode 100644 index b4c1aa9c..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/appstate.json +++ /dev/null @@ -1 +0,0 @@ -{"last_version": "6.1.13", "cid": "cc0f5072-b0a1-565e-a9f2-f001750b3689", "created_at": 1707865903} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.github/workflows/examples.yml b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.github/workflows/examples.yml deleted file mode 100644 index 5631d924..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.github/workflows/examples.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Examples - -on: [push, pull_request] - -jobs: - build: - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - example: - - "examples/arduino-blink" - - "examples/arduino-ble-led" - - "examples/arduino-bluefruit-bleuart" - - "examples/arduino-nina-b1-generic-example" - - "examples/arduino-serial-plotter" - - "examples/mbed-rtos-ble-thermometer" - - "examples/mbed-rtos-blink-baremetal" - - "examples/mbed-rtos-nfc" - - "examples/mbed-legacy-examples/mbed-ble-thermometer" - - "examples/mbed-legacy-examples/mbed-nfc" - - "examples/mbed-legacy-examples/mbed-rtos" - - "examples/zephyr-ble-beacon" - - "examples/zephyr-blink" - - "examples/zephyr-net-echo-client" - - "examples/zephyr-subsys-nvs" - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v3 - with: - submodules: "recursive" - - name: Set up Python 3 - uses: actions/setup-python@v3 - with: - python-version: "3.7" - - name: Install dependencies - run: | - pip install -U https://github.com/platformio/platformio/archive/develop.zip - pip3 install adafruit-nrfutil - pio pkg install --global --platform symlink://. - - name: Build examples - run: | - pio run -d ${{ matrix.example }} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.gitignore deleted file mode 100644 index 96c40edf..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.pyc -.piolibdeps -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.gitmodules b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.gitmodules deleted file mode 100644 index b1d534f8..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "builder/frameworks/arduino"] - path = builder/frameworks/arduino - url = https://github.com/platformio/builder-framework-arduino-nrf5.git diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.piopm b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.piopm deleted file mode 100644 index 00ae2fbf..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/.piopm +++ /dev/null @@ -1 +0,0 @@ -{"type": "platform", "name": "nordicnrf52", "version": "9.6.0", "spec": {"owner": "platformio", "id": 8027, "name": "nordicnrf52", "requirements": null, "uri": null}} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/LICENSE b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/LICENSE deleted file mode 100644 index 8dada3ed..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/LICENSE +++ /dev/null @@ -1,201 +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: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) 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 - - (d) 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. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/README.md deleted file mode 100644 index 068924a6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# Nordic nRF52: development platform for [PlatformIO](https://platformio.org) - -[![Build Status](https://github.com/platformio/platform-nordicnrf52/workflows/Examples/badge.svg)](https://github.com/platformio/platform-nordicnrf52/actions) - -The nRF52 Series are built for speed to carry out increasingly complex tasks in the shortest possible time and return to sleep, conserving precious battery power. They have a Cortex-M4F processor which makes them quite capable Bluetooth Smart SoCs. - -* [Home](https://registry.platformio.org/platforms/platformio/nordicnrf52) (home page in the PlatformIO Registry) -* [Documentation](https://docs.platformio.org/page/platforms/nordicnrf52.html) (advanced usage, packages, boards, frameworks, etc.) - -# Usage - -1. [Install PlatformIO](https://platformio.org) -2. Create PlatformIO project and configure a platform option in [platformio.ini](https://docs.platformio.org/page/projectconf.html) file: - -## Stable version - -```ini -[env:stable] -platform = nordicnrf52 -board = ... -... -``` - -## Development version - -```ini -[env:development] -platform = https://github.com/platformio/platform-nordicnrf52.git -board = ... -... -``` - -# Configuration - -Please navigate to [documentation](https://docs.platformio.org/page/platforms/nordicnrf52.html). diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/96b_nitrogen.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/96b_nitrogen.json deleted file mode 100644 index 487b15d9..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/96b_nitrogen.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52832" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "96Boards Nitrogen", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic" - ] - }, - "url": "https://www.96boards.org/product/nitrogen/", - "vendor": "96Boards" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_clue_nrf52840.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_clue_nrf52840.json deleted file mode 100644 index cf025409..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_clue_nrf52840.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_CLUE -DNRF52840_XXAA", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x8071" - ], - [ - "0x239A", - "0x0071" - ], - [ - "0x239A", - "0x8072" - ] - ], - "usb_product": "CLUE nRF52840", - "mcu": "nrf52840", - "variant": "clue_nrf52840", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Adafruit CLUE nRF52840", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://www.adafruit.com/product/4500", - "vendor": "Adafruit" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_cplaynrf52840.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_cplaynrf52840.json deleted file mode 100644 index 17cf06a8..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_cplaynrf52840.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_CIRCUITPLAY -DNRF52840_XXAA -DNRF52840_CIRCUITPLAY", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x8045" - ], - [ - "0x239A", - "0x0045" - ], - [ - "0x239A", - "0x8046" - ] - ], - "usb_product": "Circuit Playground Bluefruit", - "mcu": "nrf52840", - "variant": "circuitplayground_nrf52840", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Circuit Playground Bluefruit", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://www.adafruit.com/product/4333", - "vendor": "Adafruit" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52832.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52832.json deleted file mode 100644 index dda7af14..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52832.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52832_s132_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DNRF52832_XXAA -DNRF52", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x8029" - ], - [ - "0x239A", - "0x0029" - ], - [ - "0x239A", - "0x002A" - ], - [ - "0x239A", - "0x802A" - ] - ], - "usb_product": "Feather nRF52832 Express", - "mcu": "nrf52832", - "variant": "feather_nrf52832", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS132", - "sd_name": "s132", - "sd_version": "6.1.1", - "sd_fwid": "0x00B7" - }, - "zephyr": { - "variant": "nrf52_adafruit_feather" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino", - "zephyr" - ], - "name": "Adafruit Bluefruit nRF52832 Feather", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "require_upload_port": true, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ] - }, - "url": "https://www.adafruit.com/product/3406", - "vendor": "Adafruit" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52840.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52840.json deleted file mode 100644 index 0b058890..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52840.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_FEATHER -DNRF52840_XXAA", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x8029" - ], - [ - "0x239A", - "0x0029" - ], - [ - "0x239A", - "0x002A" - ], - [ - "0x239A", - "0x802A" - ] - ], - "usb_product": "Feather nRF52840 Express", - "mcu": "nrf52840", - "variant": "feather_nrf52840_express", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino", - "zephyr" - ], - "name": "Adafruit Feather nRF52840 Express", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://www.adafruit.com/product/4062", - "vendor": "Adafruit" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52840_sense.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52840_sense.json deleted file mode 100644 index 2fc98987..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_feather_nrf52840_sense.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_FEATHER_SENSE -DNRF52840_XXAA", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x8087" - ], - [ - "0x239A", - "0x0087" - ], - [ - "0x239A", - "0x0088" - ], - [ - "0x239A", - "0x8088" - ] - ], - "usb_product": "Feather Bluefruit Sense", - "mcu": "nrf52840", - "variant": "feather_nrf52840_sense", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Adafruit Feather Bluefruit Sense", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://www.adafruit.com/product/4516", - "vendor": "Adafruit" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_itsybitsy_nrf52840.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_itsybitsy_nrf52840.json deleted file mode 100644 index 13a17169..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_itsybitsy_nrf52840.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_ITSYBITSY -DNRF52840_XXAA -DARDUINO_NRF52_ITSYBITSY", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x8051" - ], - [ - "0x239A", - "0x0051" - ], - [ - "0x239A", - "0x0052" - ], - [ - "0x239A", - "0x8052" - ] - ], - "usb_product": "ItsyBitsy nRF52840 Express", - "mcu": "nrf52840", - "variant": "itsybitsy_nrf52840_express", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "ItsyBitsy nRF52840 Express", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://www.adafruit.com/product/4062", - "vendor": "Adafruit" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_ledglasses_nrf52840.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_ledglasses_nrf52840.json deleted file mode 100644 index 8b9ade66..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_ledglasses_nrf52840.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_LED_GLASSES -DNRF52840_XXAA", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x810D" - ], - [ - "0x239A", - "0x0029" - ], - [ - "0x239A", - "0x010D" - ], - [ - "0x239A", - "0x810E" - ] - ], - "usb_product": "Adafruit LED Glasses", - "mcu": "nrf52840", - "variant": "ledglasses_nrf52840", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino", - "zephyr" - ], - "name": "Adafruit LED Glasses Driver nRF52840", - "upload": { - "maximum_ram_size": 237568, - "maximum_size": 815104, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://www.adafruit.com/product/5217", - "vendor": "Adafruit" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_metro_nrf52840.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_metro_nrf52840.json deleted file mode 100644 index 048d6915..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/adafruit_metro_nrf52840.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_FEATHER -DARDUINO_NRF52840_METRO -DNRF52840_XXAA", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x803F" - ], - [ - "0x239A", - "0x003F" - ], - [ - "0x239A", - "0x0040" - ], - [ - "0x239A", - "0x8040" - ] - ], - "usb_product": "Metro nRF52840 Express", - "mcu": "nrf52840", - "variant": "metro_nrf52840_express", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Metro nRF52840 Express", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://www.adafruit.com/product/4062", - "vendor": "Adafruit" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/bbcmicrobit_v2.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/bbcmicrobit_v2.json deleted file mode 100644 index b2005c3f..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/bbcmicrobit_v2.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52833_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_BBC_MICROBIT_V2 -DNRF52833_XXAA", - "f_cpu": "64000000L", - "mcu": "nrf52833", - "variant": "BBCmicrobitV2", - "zephyr": { - "variant": "bbc_microbit_v2" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52.svd", - "openocd_extra_args": [ - "-c", - "transport select swd;" - ], - "jlink_device": "nRF52833_xxAA" - }, - "frameworks": [ - "arduino", - "zephyr" - ], - "name": "BBC micro:bit V2", - "upload": { - "maximum_ram_size": 131072, - "maximum_size": 524288, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://microbit.org/new-microbit/", - "vendor": "BBC" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/bluey.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/bluey.json deleted file mode 100644 index a239896b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/bluey.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_ELECTRONUT_BLUEY", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "bluey" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Bluey nRF52832 IoT", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "cmsis-dap", - "blackmagic" - ] - }, - "url": "https://electronut.in/portfolio/bluey/", - "vendor": "Electronut Labs" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/delta_dfbm_nq620.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/delta_dfbm_nq620.json deleted file mode 100644 index ef2de079..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/delta_dfbm_nq620.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_GENERIC", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "Generic" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino", - "mbed" - ], - "name": "Delta DFBM-NQ620", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "blackmagic", - "cmsis-dap", - "stlink", - "mbed" - ] - }, - "url": "https://developer.mbed.org/platforms/Delta-DFBM-NQ620/", - "vendor": "Delta" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/dwm1001_dev.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/dwm1001_dev.json deleted file mode 100644 index 5d291687..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/dwm1001_dev.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_DWM1001_DEV", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "DWM1001-DEV" - - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "jlink" - ], - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "jlink" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "decaWave DWM1001 Module Development Board", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://www.decawave.com/product/dwm1001-development-board/", - "vendor": "decaWave" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/electronut_blip.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/electronut_blip.json deleted file mode 100644 index 9357f8cb..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/electronut_blip.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840", - "zephyr": { - "variant": "nrf52840_blip" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "blackmagic" - ], - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "blackmagic" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "ElectronutLabs Blip", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "blackmagic", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap" - ] - }, - "url": "https://github.com/electronut/ElectronutLabs-blip", - "vendor": "ElectronutLabs" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/electronut_papyr.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/electronut_papyr.json deleted file mode 100644 index 8a3a08c7..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/electronut_papyr.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840", - "zephyr": { - "variant": "nrf52840_papyr" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "blackmagic" - ], - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "blackmagic" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "ElectronutLabs Papyr", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "blackmagic", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap" - ] - }, - "url": "https://docs.electronut.in/papyr", - "vendor": "ElectronutLabs" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/hackaBLE.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/hackaBLE.json deleted file mode 100644 index 8278ae93..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/hackaBLE.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_ELECTRONUT_HACKABLE", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "hackaBLE" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "hackaBLE", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "cmsis-dap", - "blackmagic" - ] - }, - "url": "https://electronut.in/portfolio/hackaBLE/", - "vendor": "Electronut Labs" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/holyiot_yj16019.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/holyiot_yj16019.json deleted file mode 100644 index 62803c64..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/holyiot_yj16019.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52832" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Holyiot YJ-16019", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap" - ] - }, - "url": "http://www.holyiot.com/eacp_view.asp?id=306", - "vendor": "Holyiot" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl652_dvk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl652_dvk.json deleted file mode 100644 index 6cec0cd7..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl652_dvk.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "zephyr": { - "variant": "bl652_dvk" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "jlink" - ], - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "cmsis-dap", - "jlink" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "BL652 Development Kit", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://www.lairdconnect.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl652-series-bluetooth-v5-nfc", - "vendor": "Laird Connectivity" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl653_dvk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl653_dvk.json deleted file mode 100644 index cf241f1c..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl653_dvk.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52833", - "zephyr": { - "variant": "bl653_dvk" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "jlink" - ], - "jlink_device": "nRF52833_xxAA", - "onboard_tools": [ - "cmsis-dap", - "jlink" - ], - "svd_path": "nrf52833.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "BL653 Development Kit", - "upload": { - "maximum_ram_size": 131072, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://www.lairdconnect.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl653-series-bluetooth-51-802154-nfc-module", - "vendor": "Laird Connectivity" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl654_dvk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl654_dvk.json deleted file mode 100644 index f37cb4d7..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_bl654_dvk.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840", - "zephyr": { - "variant": "bl654_dvk" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "jlink" - ], - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "cmsis-dap", - "jlink" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "BL654 Development Kit", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://www.lairdconnect.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl654-series-bluetooth-module-nfc", - "vendor": "Laird Connectivity" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_pinnacle_100_dvk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_pinnacle_100_dvk.json deleted file mode 100644 index d877cded..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/laird_pinnacle_100_dvk.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840", - "zephyr": { - "variant": "pinnacle_100_dvk" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Laird Connectivity Pinnacle 100 DVK", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://www.lairdconnect.com/wireless-modules/cellular-solutions/pinnacle-100-cellular-modem", - "vendor": "Laird Connectivity" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nano33ble.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nano33ble.json deleted file mode 100644 index f891400b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nano33ble.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "linker_script.ld" - }, - "core": "arduino", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_NRF52840", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x2341", - "0x005a" - ], - [ - "0x2341", - "0x805a" - ] - ], - "mcu": "nrf52840", - "variant": "ARDUINO_NANO33BLE" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "openocd_target": "nrf52.cfg", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Arduino Nano 33 BLE", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 983040, - "protocol": "sam-ba", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "cmsis-dap", - "sam-ba", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://store.arduino.cc/arduino-nano-33-ble", - "vendor": "Arduino" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nicla_sense_me.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nicla_sense_me.json deleted file mode 100644 index aba83154..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nicla_sense_me.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "linker_script.ld" - }, - "core": "arduino", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NICLA -DARDUINO_ARCH_NRF52832", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x2341", - "0x0060" - ] - ], - "mcu": "nrf52832", - "variant": "NICLA" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "cmsis-dap" - ], - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52.svd", - "openocd_target": "nrf52.cfg", - "openocd_extra_args": [ - "-c", - "transport select swd;" - ] - }, - "frameworks": [ - "arduino" - ], - "name": "Arduino Nicla Sense ME", - "upload": { - "maximum_ram_size": 64288, - "maximum_size": 527616, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "cmsis-dap", - "sam-ba", - "blackmagic" - ], - "use_1200bps_touch": false, - "require_upload_port": true - }, - "url": "https://docs.arduino.cc/hardware/nicla-sense-me", - "vendor": "Arduino" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52832_mdk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52832_mdk.json deleted file mode 100644 index 79bad373..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52832_mdk.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52832" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "cmsis-dap" - ], - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Makerdiary nRF52832-MDK", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://wiki.makerdiary.com/nrf52832-mdk/", - "vendor": "Makerdiary" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52833_dk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52833_dk.json deleted file mode 100644 index e08283a7..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52833_dk.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52833", - "zephyr": { - "variant": "nrf52833dk_nrf52833" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "jlink" - ], - "jlink_device": "nRF52833_xxAA", - "onboard_tools": [ - "cmsis-dap", - "jlink" - ], - "svd_path": "nrf52833.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Nordic nRF52833-DK", - "upload": { - "maximum_ram_size": 131072, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://www.nordicsemi.com/Products/Development-hardware/nrf52833-dk", - "vendor": "Nordic" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_dk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_dk.json deleted file mode 100644 index 5cba6669..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_dk.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52_DK", - "f_cpu": "64000000L", - "mcu": "nrf52840", - "variant": "nRF52DK", - "zephyr": { - "variant": "nrf52840dk_nrf52840" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "jlink" - ], - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "cmsis-dap", - "jlink" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino", - "mbed", - "zephyr" - ], - "name": "Nordic nRF52840-DK", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://os.mbed.com/platforms/Nordic-nRF52840-DK/", - "vendor": "Nordic" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_dk_adafruit.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_dk_adafruit.json deleted file mode 100644 index 03aa223d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_dk_adafruit.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_PCA10056 -DNRF52840_XXAA", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x8029" - ] - ], - "usb_product": "NRF52 DK", - "mcu": "nrf52840", - "variant": "pca10056", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "jlink" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Nordic nRF52840-DK (Adafruit BSP)", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "require_upload_port": true, - "speed": 115200, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "cmsis-dap", - "blackmagic" - ] - }, - "url": "https://os.mbed.com/platforms/Nordic-nRF52840-DK/", - "vendor": "Nordic" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_mdk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_mdk.json deleted file mode 100644 index aa67a13a..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52840_mdk.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "cmsis-dap" - ], - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Makerdiary nRF52840-MDK", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://wiki.makerdiary.com/nrf52840-mdk", - "vendor": "Makerdiary" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52_dk.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52_dk.json deleted file mode 100644 index c9ff6cff..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/nrf52_dk.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52_DK", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "nRF52DK", - "zephyr": { - "variant": "nrf52dk_nrf52832" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "jlink" - ], - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "cmsis-dap", - "jlink" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino", - "mbed", - "zephyr" - ], - "name": "Nordic nRF52-DK", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://developer.mbed.org/platforms/Nordic-nRF52-DK/", - "vendor": "Nordic" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_argon.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_argon.json deleted file mode 100644 index 87e900d5..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_argon.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Particle Argon", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "require_upload_port": true, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "cmsis-dap", - "blackmagic" - ] - }, - "url": "https://docs.particle.io/argon", - "vendor": "Particle" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_boron.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_boron.json deleted file mode 100644 index cf161380..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_boron.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Particle Boron", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "require_upload_port": true, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "cmsis-dap", - "blackmagic" - ] - }, - "url": "https://docs.particle.io/boron", - "vendor": "Particle" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_xenon.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_xenon.json deleted file mode 100644 index 19428cc6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/particle_xenon.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52840_FEATHER -DNRF52840_XXAA -DNRF52840_XXAA", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x8029" - ] - ], - "usb_product": "Particle Xenon", - "mcu": "nrf52840", - "variant": "particle_xenon", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino", - "zephyr" - ], - "name": "Particle Xenon", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "require_upload_port": true, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ] - }, - "url": "https://docs.particle.io/xenon", - "vendor": "Particle" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/raytac_mdbt50q_rx.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/raytac_mdbt50q_rx.json deleted file mode 100644 index 2964d348..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/raytac_mdbt50q_rx.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52840_s140_v6.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_MDBT50Q_RX -DNRF52840_XXAA", - "f_cpu": "64000000L", - "hwids": [ - [ - "0x239A", - "0x810B" - ], - [ - "0x239A", - "0x010B" - ], - [ - "0x239A", - "0x810C" - ] - ], - "usb_product": "Raytac MDBT50Q - RX", - "mcu": "nrf52840", - "variant": "raytac_mdbt50q_rx", - "bsp": { - "name": "adafruit" - }, - "softdevice": { - "sd_flags": "-DS140", - "sd_name": "s140", - "sd_version": "6.1.1", - "sd_fwid": "0x00B6" - }, - "bootloader": { - "settings_addr": "0xFF000" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Raytac MDBT50Q-RX Dongle", - "upload": { - "maximum_ram_size": 248832, - "maximum_size": 815104, - "speed": 115200, - "protocol": "nrfutil", - "protocols": [ - "jlink", - "nrfjprog", - "nrfutil", - "stlink", - "cmsis-dap", - "blackmagic" - ], - "use_1200bps_touch": true, - "require_upload_port": true, - "wait_for_upload_port": true - }, - "url": "https://www.raytac.com/product/ins.php?index_id=89", - "vendor": "Raytac" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/redbear_blenano2.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/redbear_blenano2.json deleted file mode 100644 index 8460cd8b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/redbear_blenano2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_RB_BLE_NANO_2", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "RedBear_BLENano2", - "zephyr": { - "variant": "nrf52_blenano2" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino", - "mbed", - "zephyr" - ], - "name": "RedBearLab BLE Nano 2", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap" - ] - }, - "url": "https://redbear.cc/product/ble-nano-2-soldered.html", - "vendor": "RedBearLab" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/redbear_blend2.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/redbear_blend2.json deleted file mode 100644 index c0f709e8..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/redbear_blend2.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_RB_BLEND_2", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "RedBear_Blend2" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "RedBearLab Blend 2", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap" - ] - }, - "url": "https://redbear.cc/product/ble/blend-2.html", - "vendor": "RedBearLab" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/reel_board.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/reel_board.json deleted file mode 100644 index d59628be..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/reel_board.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840", - "hwids": [ - [ - "0x0D28", - "0x0204" - ] - ], - "zephyr": { - "variant": "reel_board" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "PHYTEC reel board", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "blackmagic", - "cmsis-dap", - "stlink", - "mbed" - ] - }, - "url": "https://www.phytec.eu/reelboard", - "vendor": "PHYTEC" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/reel_board_v2.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/reel_board_v2.json deleted file mode 100644 index b37d71a6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/reel_board_v2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840", - "hwids": [ - [ - "0x0D28", - "0x0204" - ] - ], - "zephyr": { - "variant": "reel_board_v2" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "PHYTEC reel board v2", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "blackmagic", - "cmsis-dap", - "stlink", - "mbed" - ] - }, - "url": "https://www.phytec.eu/reelboard", - "vendor": "PHYTEC" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ruuvitag.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ruuvitag.json deleted file mode 100644 index 3b7eff8d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ruuvitag.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "zephyr": { - "variant": "ruuvi_ruuvitag" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Ruuvi Tag", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://ruuvi.com/", - "vendor": "Ruuvi" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/sdt52832b.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/sdt52832b.json deleted file mode 100644 index 66c3f237..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/sdt52832b.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_NRF52_DK", - "f_cpu": "64000000L", - "mcu": "nrf52832" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "mbed" - ], - "name": "SDT52832B", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "mbed", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://os.mbed.com/platforms/SDT52832B/", - "vendor": "Sigma Delta Technologies" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/stct_nrf52_minidev.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/stct_nrf52_minidev.json deleted file mode 100644 index 36a84052..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/stct_nrf52_minidev.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_STCT_NRF52_minidev", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "Taida_Century_nRF52_minidev" - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino" - ], - "name": "Taida Century nRF52 mini board", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "cmsis-dap", - "blackmagic" - ] - }, - "url": "http://taida-century.com/en/index.asp", - "vendor": "Taida Century" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/thingy_52.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/thingy_52.json deleted file mode 100644 index eb2b6e83..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/thingy_52.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "zephyr": { - "variant": "thingy52_nrf52832" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "Nordic Thingy:52 (nRF52-PCA20020)", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap" - ] - }, - "url": "https://www.nordicsemi.com/Software-and-Tools/Prototyping-platforms/Nordic-Thingy-52", - "vendor": "Nordic" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ublox_bmd345eval_nrf52840.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ublox_bmd345eval_nrf52840.json deleted file mode 100644 index e19889c4..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ublox_bmd345eval_nrf52840.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52840", - "zephyr": { - "variant": "ubx_bmd345eval_nrf52840" - } - }, - "connectivity": [ - "bluetooth", - "nfc" - ], - "debug": { - "default_tools": [ - "jlink" - ], - "jlink_device": "nRF52840_xxAA", - "onboard_tools": [ - "cmsis-dap", - "jlink" - ], - "svd_path": "nrf52840.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "u-blox BMD-345-EVAL", - "upload": { - "maximum_ram_size": 262144, - "maximum_size": 1048576, - "protocol": "jlink", - "protocols": [ - "blackmagic", - "cmsis-dap", - "jlink", - "nrfjprog", - "mbed", - "stlink" - ] - }, - "url": "https://www.u-blox.com/en/product/bmd-34-series-open-cpu", - "vendor": "u-blox" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ublox_evk_nina_b1.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ublox_evk_nina_b1.json deleted file mode 100644 index bbebbb80..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/ublox_evk_nina_b1.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "build": { - "arduino":{ - "ldscript": "nrf52_xxaa.ld" - }, - "core": "nRF5", - "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_GENERIC", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "variant": "Generic" - }, - "connectivity": [ - "bluetooth", - "nfc" - ], - "debug": { - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "jlink" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "arduino", - "mbed" - ], - "name": "u-blox EVK-NINA-B1", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "jlink", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap", - "mbed" - ] - }, - "url": "https://os.mbed.com/platforms/u-blox-EVK-NINA-B1/", - "vendor": "u-blox" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/vbluno52.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/vbluno52.json deleted file mode 100644 index f318b096..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/boards/vbluno52.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "build": { - "cpu": "cortex-m4", - "f_cpu": "64000000L", - "mcu": "nrf52832", - "zephyr": { - "variant": "nrf52_vbluno52" - } - }, - "connectivity": [ - "bluetooth" - ], - "debug": { - "default_tools": [ - "cmsis-dap" - ], - "jlink_device": "nRF52832_xxAA", - "onboard_tools": [ - "cmsis-dap" - ], - "svd_path": "nrf52.svd" - }, - "frameworks": [ - "zephyr" - ], - "name": "VNG VBLUno52", - "upload": { - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "cmsis-dap", - "protocols": [ - "jlink", - "nrfjprog", - "stlink", - "blackmagic", - "cmsis-dap" - ] - }, - "url": "https://vngiotlab.github.io/", - "vendor": "VNG" -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/_bare.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/_bare.py deleted file mode 100644 index a083fa9e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/_bare.py +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# 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. - -# -# Default flags for bare-metal programming (without any framework layers) -# - -from SCons.Script import DefaultEnvironment - -env = DefaultEnvironment() - -env.Append( - ASFLAGS=[ - "-mthumb", - ], - ASPPFLAGS=[ - "-x", "assembler-with-cpp", - ], - - CCFLAGS=[ - "-Os", # optimize for size - "-ffunction-sections", # place each function in its own section - "-fdata-sections", - "-Wall", - "-mthumb", - "-nostdlib" - ], - - CXXFLAGS=[ - "-fno-rtti", - "-fno-exceptions" - ], - - CPPDEFINES=[ - ("F_CPU", "$BOARD_F_CPU") - ], - - LINKFLAGS=[ - "-Os", - "-Wl,--gc-sections,--relax", - "-mthumb", - "--specs=nano.specs", - "--specs=nosys.specs" - ], - - LIBS=["c", "gcc", "m", "stdc++", "nosys"] -) - -if "BOARD" in env: - env.Append( - ASFLAGS=[ - "-mcpu=%s" % env.BoardConfig().get("build.cpu") - ], - CCFLAGS=[ - "-mcpu=%s" % env.BoardConfig().get("build.cpu") - ], - LINKFLAGS=[ - "-mcpu=%s" % env.BoardConfig().get("build.cpu") - ] - ) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino.py deleted file mode 100644 index 151d055e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino.py +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# 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. - -""" -Arduino - -Arduino Wiring-based Framework allows writing cross-platform software to -control devices attached to a wide range of Arduino boards to create all -kinds of creative coding, interactive objects, spaces or physical experiences. -""" - -from SCons.Script import DefaultEnvironment - -env = DefaultEnvironment() -board = env.BoardConfig() - -if board.get("build.bsp.name", "nrf5") == "adafruit": - env.SConscript("arduino/adafruit.py") -else: - env.SConscript("arduino/nrf5.py") diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/.gitmodules b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/.gitmodules deleted file mode 100644 index 5592e044..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "mbed-core"] - path = mbed-core - url = https://github.com/platformio/builder-framework-arduino-core-mbed.git diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/LICENSE b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/LICENSE deleted file mode 100644 index 8dada3ed..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/LICENSE +++ /dev/null @@ -1,201 +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: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) 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 - - (d) 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. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/README.md deleted file mode 100644 index c8011cdf..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# builder-framework-arduino-nrf5 -Arduino (Nordic nRF5) build script for PlatformIO Build System diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/adafruit.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/adafruit.py deleted file mode 100644 index 623408b2..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/adafruit.py +++ /dev/null @@ -1,278 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# 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. -""" -Arduino - -Arduino Wiring-based Framework allows writing cross-platform software to -control devices attached to a wide range of Arduino boards to create all -kinds of creative coding, interactive objects, spaces or physical experiences. -""" - -from os import listdir -from os.path import isdir, join - -from SCons.Script import DefaultEnvironment - -import re - -env = DefaultEnvironment() -platform = env.PioPlatform() -board = env.BoardConfig() -variant = board.get("build.variant") - -FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoadafruitnrf52") -assert isdir(FRAMEWORK_DIR) - -CMSIS_DIR = platform.get_package_dir("framework-cmsis") -assert isdir(CMSIS_DIR) - -CORE_DIR = join(FRAMEWORK_DIR, "cores", board.get("build.core")) -assert isdir(CORE_DIR) - -NORDIC_DIR = join(CORE_DIR, "nordic") -assert isdir(NORDIC_DIR) - -default_bsp_version = "0.21.0" -default_softdevice_version = "6.1.1" -default_bootloader_version = "0.5.0" - -# Read defaults from build.txt/platform.txt/programmers.txt -with open(join(FRAMEWORK_DIR, "platform.txt"), "r") as fp: - for line in fp: - match = re.search(r"^version=(\d+\.\d+.\d+)", line) - if match: - default_bsp_version = match.group(1) - match = re.search(r"_bootloader-(\d+\.\d+.\d+)_", line) - if match: - default_bootloader_version = match.group(1) - -with open(join(FRAMEWORK_DIR, "boards.txt"), "r") as fp: - for line in fp: - match = re.search(r"build.sd_version=(\d+\.\d+.\d+)", line) - if match: - default_softdevice_version = match.group(1) - -bsp_version = board.get("build.bsp.version", default_bsp_version) -softdevice_version = board.get("build.softdevice.sd_version", default_softdevice_version) -bootloader_version = board.get("build.bootloader.version", default_bootloader_version) - -machine_flags = [ - "-mthumb", - "-mcpu=%s" % board.get("build.cpu"), -] - -env.Append( - ASFLAGS=machine_flags, - ASPPFLAGS=[ - "-x", "assembler-with-cpp", - ], - - CFLAGS=["-std=gnu11"], - - CCFLAGS=machine_flags + [ - "-Ofast", - "-ffunction-sections", # place each function in its own section - "-fdata-sections", - "-Wall", - "-nostdlib", - "--param", "max-inline-insns-single=500" - ], - - CXXFLAGS=[ - "-fno-rtti", - "-fno-exceptions", - "-std=gnu++11", - "-fno-threadsafe-statics" - ], - - CPPDEFINES=[ - ("F_CPU", board.get("build.f_cpu")), - ("ARDUINO", 10804), - "ARDUINO_ARCH_NRF52", - ("ARDUINO_BSP_VERSION", '\\"%s\\"' % bsp_version), - "ARDUINO_NRF52_ADAFRUIT", - "NRF52_SERIES", - ("LFS_NAME_MAX", 64), - "DX_CC_TEE" - ], - - LIBPATH=[ - join(CORE_DIR, "linker"), - join(CMSIS_DIR, "CMSIS", "DSP", "Lib", "GCC"), - - ], - - CPPPATH=[ - join(CMSIS_DIR, "CMSIS", "Core", "Include"), - join(CMSIS_DIR, "CMSIS", "DSP", "Include"), - NORDIC_DIR, - join(NORDIC_DIR, "nrfx"), - join(NORDIC_DIR, "nrfx", "hal"), - join(NORDIC_DIR, "nrfx", "mdk"), - join(NORDIC_DIR, "nrfx", "soc"), - join(NORDIC_DIR, "nrfx", "drivers", "include"), - join(NORDIC_DIR, "nrfx", "drivers", "src") - ], - - LINKFLAGS=machine_flags + [ - "-Ofast", - "-Wl,--gc-sections,--relax", - "--specs=nano.specs", - "--specs=nosys.specs", - "-Wl,--check-sections", - "-Wl,--unresolved-symbols=report-all", - "-Wl,--warn-common", - "-Wl,--warn-section-align", - "-Wl,--wrap=malloc", - "-Wl,--wrap=free" - ], - - LIBSOURCE_DIRS=[join(FRAMEWORK_DIR, "libraries")], - - LIBS=["m", "arm_cortexM4lf_math"] -) - -if board.get("build.cpu") == "cortex-m4": - env.Append( - ASFLAGS=[ - "-mfloat-abi=hard", - "-mfpu=fpv4-sp-d16", - ], - CCFLAGS=[ - "-mfloat-abi=hard", - "-mfpu=fpv4-sp-d16", - "-u", "_printf_float" - ], - LINKFLAGS=[ - "-mfloat-abi=hard", - "-mfpu=fpv4-sp-d16", - "-u", "_printf_float" - ] - ) - -# Process softdevice options -softdevice_name = board.get("build.softdevice.sd_name") -board_name = board.get("build.bootloader.hex_filename", board.get("build.variant")) - -if softdevice_name: - env.Append( - CPPPATH=[ - join(NORDIC_DIR, "softdevice", - "%s_nrf52_%s_API" % (softdevice_name, softdevice_version), "include"), - join(NORDIC_DIR, "softdevice", - "%s_nrf52_%s_API" % (softdevice_name, softdevice_version), "include", "nrf52") - ], - CPPDEFINES=[ - "SOFTDEVICE_PRESENT" - ] - ) - - hex_path = join(FRAMEWORK_DIR, "bootloader", board_name) - if isdir(hex_path): - for f in listdir(hex_path): - if f == "{0}_bootloader-{1}_{2}_{3}.hex".format( - variant, bootloader_version, softdevice_name, softdevice_version): - env.Append(DFUBOOTHEX=join(hex_path, f)) - - if not board.get("build.ldscript", ""): - # Update linker script: - ldscript_dir = join(CORE_DIR, "linker") - ldscript_name = board.get("build.arduino.ldscript", "") - if ldscript_name: - env.Append(LIBPATH=[ldscript_dir]) - env.Replace(LDSCRIPT_PATH=ldscript_name) - else: - print("Warning! Cannot find an appropriate linker script for the " - "required softdevice!") - -freertos_path = join(CORE_DIR, "freertos") -if isdir(freertos_path): - env.Append( - CPPPATH=[ - join(freertos_path, "Source", "include"), - join(freertos_path, "config"), - join(freertos_path, "portable", "GCC", "nrf52"), - join(freertos_path, "portable", "CMSIS", "nrf52") - ] - ) - -sysview_path = join(CORE_DIR, "sysview") -if isdir(sysview_path): - env.Append( - CPPPATH=[ - join(sysview_path, "SEGGER"), - join(sysview_path, "Config") - ] - ) - -usb_path = join(FRAMEWORK_DIR, "libraries", "Adafruit_TinyUSB_Arduino") -if isdir(usb_path): - if env.subst("$BOARD") != "adafruit_feather_nrf52832": - env.Append( - CPPDEFINES=[ - "USBCON", - "USE_TINYUSB" - ] - ) - - env.Append(CPPPATH=[join(usb_path, "src", "arduino")]) - -if "build.usb_product" in env.BoardConfig(): - env.Append( - CPPDEFINES=[ - ("USB_VID", board.get("build.hwids")[0][0]), - ("USB_PID", board.get("build.hwids")[0][1]), - ("USB_PRODUCT", '\\"%s\\"' % board.get("build.usb_product", "").replace('"', "")), - ("USB_MANUFACTURER", '\\"%s\\"' % board.get("vendor", "").replace('"', "")) - ] - ) - - -env.Append( - CPPPATH=[ - join(CORE_DIR) - ] -) - -cpp_flags = env.Flatten(env.get("CPPDEFINES", [])) - -if "CFG_DEBUG" not in cpp_flags: - env.Append(CPPDEFINES=[("CFG_DEBUG", 0)]) - -# -# Target: Build Core Library -# - -libs = [] - -if "build.variant" in board: - variants_dir = join( - "$PROJECT_DIR", board.get("build.variants_dir")) if board.get( - "build.variants_dir", "") else join(FRAMEWORK_DIR, "variants") - env.Append( - CPPPATH=[ - join(variants_dir, board.get("build.variant")) - ] - ) - libs.append(env.BuildLibrary( - join("$BUILD_DIR", "FrameworkArduinoVariant"), - join(variants_dir, board.get("build.variant")) - )) - -libs.append( - env.BuildLibrary( - join("$BUILD_DIR", "FrameworkArduino"), - join(CORE_DIR))) - -env.Prepend(LIBS=libs) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/mbed-core/LICENSE b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/mbed-core/LICENSE deleted file mode 100644 index 261eeb9e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/mbed-core/LICENSE +++ /dev/null @@ -1,201 +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: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) 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 - - (d) 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. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/mbed-core/arduino-core-mbed.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/mbed-core/arduino-core-mbed.py deleted file mode 100644 index 1dfac1eb..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/mbed-core/arduino-core-mbed.py +++ /dev/null @@ -1,224 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# 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. -""" -Arduino - -Arduino Wiring-based Framework allows writing cross-platform software to -control devices attached to a wide range of Arduino boards to create all -kinds of creative coding, interactive objects, spaces or physical experiences. - -https://github.com/arduino/ArduinoCore-mbed -""" - -import os - -from SCons.Script import DefaultEnvironment - -env = DefaultEnvironment() -platform = env.PioPlatform() -board = env.BoardConfig() - -FRAMEWORK_DIR = platform.get_package_dir("framework-arduino-mbed") -assert os.path.isdir(FRAMEWORK_DIR) - - -def load_flags(filename): - if not filename: - return [] - - file_path = os.path.join(FRAMEWORK_DIR, "variants", board.get( - "build.variant"), "%s.txt" % filename) - if not os.path.isfile(file_path): - print("Warning: Couldn't find file '%s'" % file_path) - return [] - - with open(file_path, "r") as fp: - return [f.strip() for f in fp.readlines() if f.strip()] - - -def configure_flash_layout(board_config): - # Currently only Portenta, Opta, Nicla Vision boards need this functionality - board_id = env.subst("$BOARD") - if not board_id.startswith(("portenta_h7", "opta", "nicla_vision")): - return - - flash_layout = board_config.get("build.arduino.flash_layout", "50_50") - defines = [] - if flash_layout == "50_50": - defines.append(("CM4_BINARY_START", "0x08100000")) - if board_id in ("portenta_h7_m4", "opta_m4", "nicla_vision_m4"): - defines.append(("CM4_BINARY_END", "0x08200000")) - elif flash_layout == "75_25": - defines.append(("CM4_BINARY_START", "0x08180000")) - if board_id in ("portenta_h7_m4", "opta_m4", "nicla_vision_m4"): - board_config.update("upload.offset_address", "0x08180000") - defines.append(("CM4_BINARY_END", "0x08200000")) - elif flash_layout == "100_0": - defines.append(("CM4_BINARY_START", "0x60000000")) - if board_id == "portenta_h7_m4": - defines.extend( - [("CM4_BINARY_END", "0x60040000"), ("CM4_RAM_END", "0x60080000")] - ) - - env.Append( - LINKFLAGS=["-D%s=%s" % (name, value) for name, value in defines], - CPPDEFINES=defines, - ) - - -def configure_fpu_flags(board_config): - board_cpu = board_config.get("build.cpu", "") - if board_cpu not in ("cortex-m4", "cortex-m7"): - return - - fpv_version = "4-sp" if board_cpu == "cortex-m4" else "5" - env.Append( - ASFLAGS=[ - "-mfloat-abi=soft", - "-mfpu=fpv%s-d16" % fpv_version - ], - - CCFLAGS=[ - "-mfloat-abi=soft", - "-mfpu=fpv%s-d16" % fpv_version - ], - - LINKFLAGS=[ - "-mfloat-abi=soft", - "-mfpu=fpv%s-d16" % fpv_version - ] - ) - - -cflags = set(load_flags("cflags")) -cxxflags = set(load_flags("cxxflags")) -ccflags = cflags.intersection(cxxflags) - -env.Append( - ASFLAGS=[f for f in ccflags if isinstance(f, str) and f.startswith("-m")], - ASPPFLAGS=["-x", "assembler-with-cpp"], - - CFLAGS=sorted(list(cflags - ccflags)), - - CCFLAGS=sorted(list(ccflags)), - - CPPDEFINES=[d.replace("-D", "") for d in load_flags("defines")], - - CXXFLAGS=sorted(list(cxxflags - ccflags)), - - LIBPATH=[ - os.path.join(FRAMEWORK_DIR, "variants", board.get("build.variant")), - os.path.join(FRAMEWORK_DIR, "variants", board.get("build.variant"), "libs") - ], - - LINKFLAGS=load_flags("ldflags"), - - LIBSOURCE_DIRS=[os.path.join(FRAMEWORK_DIR, "libraries")], - - LIBS=["mbed"] -) - -if board.get("build.mcu", "").startswith("nrf52840"): - env.Append(LIBS=["cc_310_core", "cc_310_ext", "cc_310_trng"]) - -env.Append( - # Due to long path names "-iprefix" hook is required to avoid toolchain crashes - CCFLAGS=[ - "-iprefix" + os.path.join(FRAMEWORK_DIR, "cores", board.get("build.core")), - "@%s" % os.path.join(FRAMEWORK_DIR, "variants", board.get( - "build.variant"), "includes.txt"), - "-nostdlib" - ], - - CPPDEFINES=[ - ("ARDUINO", 10810), - "ARDUINO_ARCH_MBED" - ], - - CPPPATH=[ - os.path.join(FRAMEWORK_DIR, "cores", board.get("build.core")), - os.path.join(FRAMEWORK_DIR, "cores", board.get( - "build.core"), "api", "deprecated"), - os.path.join(FRAMEWORK_DIR, "cores", board.get( - "build.core"), "api", "deprecated-avr-comp") - ], - - LINKFLAGS=[ - "--specs=nano.specs", - "--specs=nosys.specs", - "-Wl,--as-needed" - ] -) - -# -# Configure dynamic memory layout -# - -configure_flash_layout(board) - -# -# Configure FPU flags -# - -configure_fpu_flags(board) - -# -# Linker requires preprocessing with specific defines -# - -if not board.get("build.ldscript", ""): - ldscript = os.path.join( - FRAMEWORK_DIR, "variants", board.get("build.variant"), "linker_script.ld") - if board.get("build.mbed.ldscript", ""): - ldscript = env.subst(board.get("build.arduino.ldscript")) - if os.path.isfile(ldscript): - preprocessed_linker_script = env.Command( - os.path.join( - "$BUILD_DIR", "cpp.linker_script.ld" - ), - ldscript, - env.VerboseAction( - "$CXX -E -P -x c %s $SOURCE -o $TARGET" - % " ".join(f for f in env["LINKFLAGS"] if f.startswith("-D")), - "Generating LD script $TARGET", - ), - ) - - env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", preprocessed_linker_script) - env.Replace(LDSCRIPT_PATH=preprocessed_linker_script) - else: - print("Warning! Couldn't find linker script file!") - -# Framework requires all symbols from mbed libraries -env.Prepend(_LIBFLAGS="-Wl,--whole-archive ") -env.Append(_LIBFLAGS=" -Wl,--no-whole-archive -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys") - -libs = [] - -if "build.variant" in board: - env.Append(CPPPATH=[ - os.path.join(FRAMEWORK_DIR, "variants", board.get("build.variant")) - ]) - - libs.append( - env.BuildLibrary( - os.path.join("$BUILD_DIR", "FrameworkArduinoVariant"), - os.path.join(FRAMEWORK_DIR, "variants", board.get("build.variant")))) - -libs.append( - env.BuildLibrary( - os.path.join("$BUILD_DIR", "FrameworkArduino"), - os.path.join(FRAMEWORK_DIR, "cores", board.get("build.core")))) - -env.Prepend(LIBS=libs) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/nrf5.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/nrf5.py deleted file mode 100644 index 85b10a57..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/arduino/nrf5.py +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# 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. -""" -Arduino - -Arduino Wiring-based Framework allows writing cross-platform software to -control devices attached to a wide range of Arduino boards to create all -kinds of creative coding, interactive objects, spaces or physical experiences. -""" - -from os import listdir -from os.path import isdir, join - -from SCons.Script import DefaultEnvironment - -env = DefaultEnvironment() -platform = env.PioPlatform() -board = env.BoardConfig() - -FRAMEWORK_DIR = platform.get_package_dir("framework-arduinonordicnrf5") -assert isdir(FRAMEWORK_DIR) - -env.Append( - ASPPFLAGS=["-x", "assembler-with-cpp"], - - CFLAGS=["-std=gnu11"], - - CCFLAGS=[ - "-Os", # optimize for size - "-ffunction-sections", # place each function in its own section - "-fdata-sections", - "-Wall", - "-mthumb", - "-nostdlib", - "--param", "max-inline-insns-single=500" - ], - - CXXFLAGS=[ - "-fno-rtti", - "-fno-exceptions", - "-std=gnu++11", - "-fno-threadsafe-statics" - ], - - CPPDEFINES=[ - ("ARDUINO", 10805), - # For compatibility with sketches designed for AVR@16 MHz (see SPI lib) - ("F_CPU", "16000000L"), - "ARDUINO_ARCH_NRF5", - "NRF5", - "%s" % board.get("build.mcu", "")[0:5].upper() - ], - - LIBPATH=[ - join(FRAMEWORK_DIR, "cores", board.get("build.core"), - "SDK", "components", "toolchain", "gcc") - ], - - CPPPATH=[ - join(FRAMEWORK_DIR, "cores", board.get("build.core")), - join(FRAMEWORK_DIR, "cores", board.get("build.core"), - "SDK", "components", "drivers_nrf", "delay"), - join(FRAMEWORK_DIR, "cores", board.get("build.core"), - "SDK", "components", "device"), - join(FRAMEWORK_DIR, "cores", board.get("build.core"), - "SDK", "components", "toolchain"), - join(FRAMEWORK_DIR, "cores", board.get("build.core"), - "SDK", "components", "toolchain", "CMSIS", "Include") - ], - - LINKFLAGS=[ - "-Os", - "-Wl,--gc-sections", - "-mthumb", - "--specs=nano.specs", - "--specs=nosys.specs", - "-Wl,--check-sections", - "-Wl,--unresolved-symbols=report-all", - "-Wl,--warn-common", - "-Wl,--warn-section-align" - ], - - LIBSOURCE_DIRS=[join(FRAMEWORK_DIR, "libraries")], - - LIBS=["m"] -) - -if "BOARD" in env: - env.Append( - CCFLAGS=[ - "-mcpu=%s" % env.BoardConfig().get("build.cpu") - ], - LINKFLAGS=[ - "-mcpu=%s" % env.BoardConfig().get("build.cpu") - ] - ) - -if board.get("build.cpu") == "cortex-m4": - env.Append( - CCFLAGS=[ - "-mfloat-abi=softfp", - "-mfpu=fpv4-sp-d16" - ], - LINKFLAGS=[ - "-mfloat-abi=softfp", - "-mfpu=fpv4-sp-d16" - ] - ) - -# Process softdevice options -softdevice_ver = None -ldscript_path = None -cpp_defines = env.Flatten(env.get("CPPDEFINES", [])) -if "NRF52_S132" in cpp_defines: - softdevice_ver = "s132" -elif "NRF51_S130" in cpp_defines: - softdevice_ver = "s130" -elif "NRF51_S110" in cpp_defines: - softdevice_ver = "s110" - -if softdevice_ver: - - env.Append( - CPPPATH=[ - join(FRAMEWORK_DIR, "cores", board.get("build.core"), - "SDK", "components", "softdevice", softdevice_ver, "headers") - ], - - CPPDEFINES=["%s" % softdevice_ver.upper()] - ) - - hex_path = join(FRAMEWORK_DIR, "cores", board.get("build.core"), - "SDK", "components", "softdevice", softdevice_ver, "hex") - - for f in listdir(hex_path): - if f.endswith(".hex") and f.lower().startswith(softdevice_ver): - env.Append(SOFTDEVICEHEX=join(hex_path, f)) - - if "SOFTDEVICEHEX" not in env: - print("Warning! Cannot find an appropriate softdevice binary!") - - # Update linker script: - ldscript_dir = join(FRAMEWORK_DIR, "cores", - board.get("build.core"), "SDK", - "components", "softdevice", softdevice_ver, - "toolchain", "armgcc") - mcu_family = board.get("build.arduino.ldscript", "").split("_")[1] - for f in listdir(ldscript_dir): - if f.endswith(mcu_family) and softdevice_ver in f.lower(): - ldscript_path = join(ldscript_dir, f) - - if not ldscript_path: - print("Warning! Cannot find an appropriate linker script for the " - "required softdevice!") - -if not board.get("build.ldscript", ""): - # if SoftDevice is not specified use default ld script from the framework - env.Replace(LDSCRIPT_PATH=ldscript_path or board.get("build.arduino.ldscript", "")) - -# Select crystal oscillator as the low frequency source by default -clock_options = ("USE_LFXO", "USE_LFRC", "USE_LFSYNT") -if not any(d in clock_options for d in cpp_defines): - env.Append(CPPDEFINES=["USE_LFXO"]) - -# -# Target: Build Core Library -# - -libs = [] - -if "build.variant" in board: - variants_dir = join( - "$PROJECT_DIR", board.get("build.variants_dir")) if board.get( - "build.variants_dir", "") else join(FRAMEWORK_DIR, "variants") - env.Append( - CPPPATH=[ - join(variants_dir, board.get("build.variant")) - ] - ) - libs.append(env.BuildLibrary( - join("$BUILD_DIR", "FrameworkArduinoVariant"), - join(variants_dir, board.get("build.variant")) - )) - -libs.append( - env.BuildLibrary( - join("$BUILD_DIR", "FrameworkArduino"), - join(FRAMEWORK_DIR, "cores", board.get("build.core")))) - -env.Prepend(LIBS=libs) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/mbed.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/mbed.py deleted file mode 100644 index 85e77bf9..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/mbed.py +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# 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. -""" -mbed - -The mbed framework The mbed SDK has been designed to provide enough -hardware abstraction to be intuitive and concise, yet powerful enough to -build complex projects. It is built on the low-level ARM CMSIS APIs, -allowing you to code down to the metal if needed. In addition to RTOS, -USB and Networking libraries, a cookbook of hundreds of reusable -peripheral and module libraries have been built on top of the SDK by -the mbed Developer Community. - -http://mbed.org/ -""" - -from os.path import join - -from SCons.Script import Import, SConscript - -Import("env") - -# https://github.com/platformio/builder-framework-mbed.git -SConscript( - join(env.PioPlatform().get_package_dir("framework-mbed"), "platformio", - "platformio-build.py")) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/zephyr.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/zephyr.py deleted file mode 100644 index 1cca22f8..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/frameworks/zephyr.py +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2019-present PlatformIO -# -# 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. -""" -The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple -hardware architectures, optimized for resource constrained devices, and built with -safety and security in mind. - -https://github.com/zephyrproject-rtos/zephyr -""" - -from os.path import join - -from SCons.Script import Import, SConscript - -Import("env") - -SConscript( - join(env.PioPlatform().get_package_dir("framework-zephyr"), "scripts", - "platformio", "platformio-build.py"), exports="env") diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/main.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/main.py deleted file mode 100644 index e72ff359..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/builder/main.py +++ /dev/null @@ -1,448 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# 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. - -import sys -from platform import system -from os import makedirs -from os.path import isdir, join, basename - -from SCons.Script import (ARGUMENTS, COMMAND_LINE_TARGETS, AlwaysBuild, - Builder, Default, DefaultEnvironment) - -from platformio.public import list_serial_ports - - -def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621 - env.AutodetectUploadPort() - - upload_options = {} - if "BOARD" in env: - upload_options = env.BoardConfig().get("upload", {}) - - if not bool(upload_options.get("disable_flushing", False)): - env.FlushSerialBuffer("$UPLOAD_PORT") - - before_ports = list_serial_ports() - - if bool(upload_options.get("use_1200bps_touch", False)): - env.TouchSerialPort("$UPLOAD_PORT", 1200) - - if bool(upload_options.get("wait_for_upload_port", False)): - env.Replace(UPLOAD_PORT=env.WaitForNewSerialPort(before_ports)) - - # use only port name for BOSSA - if ("/" in env.subst("$UPLOAD_PORT") and - env.subst("$UPLOAD_PROTOCOL") == "sam-ba"): - env.Replace(UPLOAD_PORT=basename(env.subst("$UPLOAD_PORT"))) - - -env = DefaultEnvironment() -platform = env.PioPlatform() -board = env.BoardConfig() -variant = board.get("build.variant", "") - -env.Replace( - AR="arm-none-eabi-ar", - AS="arm-none-eabi-as", - CC="arm-none-eabi-gcc", - CXX="arm-none-eabi-g++", - GDB="arm-none-eabi-gdb", - OBJCOPY="arm-none-eabi-objcopy", - RANLIB="arm-none-eabi-ranlib", - SIZETOOL="arm-none-eabi-size", - - ARFLAGS=["rc"], - - SIZEPROGREGEXP=r"^(?:\.text|\.data|\.rodata|\.text.align|\.ARM.exidx)\s+(\d+).*", - SIZEDATAREGEXP=r"^(?:\.data|\.bss|\.noinit)\s+(\d+).*", - SIZECHECKCMD="$SIZETOOL -A -d $SOURCES", - SIZEPRINTCMD='$SIZETOOL -B -d $SOURCES', - - ERASEFLAGS=["--eraseall", "-f", "nrf52"], - ERASECMD="nrfjprog $ERASEFLAGS", - - PROGSUFFIX=".elf" -) - -# Allow user to override via pre:script -if env.get("PROGNAME", "program") == "program": - env.Replace(PROGNAME="firmware") - -env.Append( - BUILDERS=dict( - ElfToBin=Builder( - action=env.VerboseAction(" ".join([ - "$OBJCOPY", - "-O", - "binary", - "$SOURCES", - "$TARGET" - ]), "Building $TARGET"), - suffix=".bin" - ), - ElfToHex=Builder( - action=env.VerboseAction(" ".join([ - "$OBJCOPY", - "-O", - "ihex", - "-R", - ".eeprom", - "$SOURCES", - "$TARGET" - ]), "Building $TARGET"), - suffix=".hex" - ), - MergeHex=Builder( - action=env.VerboseAction(" ".join([ - '"%s"' % join(platform.get_package_dir("tool-sreccat") or "", - "srec_cat"), - "$SOFTDEVICEHEX", - "-intel", - "$SOURCES", - "-intel", - "-o", - "$TARGET", - "-intel", - "--line-length=44" - ]), "Building $TARGET"), - suffix=".hex" - ) - ) -) - -upload_protocol = env.subst("$UPLOAD_PROTOCOL") - -if "nrfutil" == upload_protocol or ( - board.get("build.bsp.name", "nrf5") == "adafruit" - and "arduino" in env.get("PIOFRAMEWORK", []) -): - env.Append( - BUILDERS=dict( - PackageDfu=Builder( - action=env.VerboseAction(" ".join([ - '"$PYTHONEXE"', - '"%s"' % join(platform.get_package_dir( - "tool-adafruit-nrfutil") or "", "adafruit-nrfutil.py"), - "dfu", - "genpkg", - "--dev-type", - "0x0052", - "--sd-req", - board.get("build.softdevice.sd_fwid"), - "--application", - "$SOURCES", - "$TARGET" - ]), "Building $TARGET"), - suffix=".zip" - ), - SignBin=Builder( - action=env.VerboseAction( - " ".join( - [ - '"$PYTHONEXE"', - '"%s"' % join( - platform.get_package_dir( - "framework-arduinoadafruitnrf52" - ) - or "", - "tools", - "pynrfbintool", - "pynrfbintool.py", - ), - "--signature", - "$TARGET", - "$SOURCES", - ] - ), - "Signing $SOURCES", - ), - suffix="_signature.bin", - ), - ) - ) - - -if not env.get("PIOFRAMEWORK"): - env.SConscript("frameworks/_bare.py") - -# -# Target: Build executable and linkable firmware -# - -if "zephyr" in env.get("PIOFRAMEWORK", []): - env.SConscript( - join(platform.get_package_dir( - "framework-zephyr"), "scripts", "platformio", "platformio-build-pre.py"), - exports={"env": env} - ) - -target_elf = None -if "nobuild" in COMMAND_LINE_TARGETS: - target_elf = join("$BUILD_DIR", "${PROGNAME}.elf") - target_firm = join("$BUILD_DIR", "${PROGNAME}.hex") -else: - target_elf = env.BuildProgram() - - if "SOFTDEVICEHEX" in env: - target_firm = env.MergeHex( - join("$BUILD_DIR", "${PROGNAME}"), - env.ElfToHex(join("$BUILD_DIR", "userfirmware"), target_elf)) - elif "nrfutil" == upload_protocol: - target_firm = env.PackageDfu( - join("$BUILD_DIR", "${PROGNAME}"), - env.ElfToHex(join("$BUILD_DIR", "${PROGNAME}"), target_elf)) - elif "nrfjprog" == upload_protocol: - target_firm = env.ElfToHex( - join("$BUILD_DIR", "${PROGNAME}"), target_elf) - elif "sam-ba" == upload_protocol: - target_firm = env.ElfToBin(join("$BUILD_DIR", "${PROGNAME}"), target_elf) - else: - if "DFUBOOTHEX" in env: - target_firm = env.SignBin( - join("$BUILD_DIR", "${PROGNAME}"), - env.ElfToBin(join("$BUILD_DIR", "${PROGNAME}"), target_elf)) - else: - target_firm = env.ElfToHex( - join("$BUILD_DIR", "${PROGNAME}"), target_elf) - env.Depends(target_firm, "checkprogsize") - -AlwaysBuild(env.Alias("nobuild", target_firm)) -target_buildprog = env.Alias("buildprog", target_firm, target_firm) - -if "DFUBOOTHEX" in env: - env.Append( - # Check the linker script for the correct location - BOOT_SETTING_ADDR=board.get("build.bootloader.settings_addr", "0x7F000") - ) - - env.AddPlatformTarget( - "dfu", - env.PackageDfu( - join("$BUILD_DIR", "${PROGNAME}"), - env.ElfToHex(join("$BUILD_DIR", "${PROGNAME}"), target_elf), - ), - target_firm, - "Generate DFU Image", - ) - - env.AddPlatformTarget( - "bootloader", - None, - [ - env.VerboseAction( - "nrfjprog --program $DFUBOOTHEX -f nrf52 --chiperase", - "Uploading $DFUBOOTHEX", - ), - env.VerboseAction( - "nrfjprog --erasepage $BOOT_SETTING_ADDR -f nrf52", - "Erasing bootloader config", - ), - env.VerboseAction( - "nrfjprog --memwr $BOOT_SETTING_ADDR --val 0x00000001 -f nrf52", - "Disable CRC check", - ), - env.VerboseAction("nrfjprog --reset -f nrf52", "Reset nRF52"), - ], - "Burn Bootloader", - ) - -if "bootloader" in COMMAND_LINE_TARGETS and "DFUBOOTHEX" not in env: - sys.stderr.write("Error. The board is missing the bootloader binary.\n") - env.Exit(1) - -# -# Target: Print binary size -# - -target_size = env.AddPlatformTarget( - "size", - target_elf, - env.VerboseAction("$SIZEPRINTCMD", "Calculating size $SOURCE"), - "Program Size", - "Calculate program size", -) - -# -# Target: Upload by default .bin file -# - -debug_tools = env.BoardConfig().get("debug.tools", {}) -upload_actions = [] - -if upload_protocol == "mbed": - upload_actions = [ - env.VerboseAction(env.AutodetectUploadPort, "Looking for upload disk..."), - env.VerboseAction(env.UploadToDisk, "Uploading $SOURCE") - ] - -elif upload_protocol.startswith("blackmagic"): - env.Replace( - UPLOADER="$GDB", - UPLOADERFLAGS=[ - "-nx", - "--batch", - "-ex", "target extended-remote $UPLOAD_PORT", - "-ex", "monitor %s_scan" % - ("jtag" if upload_protocol == "blackmagic-jtag" else "swdp"), - "-ex", "attach 1", - "-ex", "load", - "-ex", "compare-sections", - "-ex", "kill" - ], - UPLOADCMD="$UPLOADER $UPLOADERFLAGS $BUILD_DIR/${PROGNAME}.elf" - ) - upload_actions = [ - env.VerboseAction(env.AutodetectUploadPort, "Looking for BlackMagic port..."), - env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE") - ] - -elif upload_protocol == "nrfjprog": - env.Replace( - UPLOADER="nrfjprog", - UPLOADERFLAGS=[ - "--sectorerase" if "DFUBOOTHEX" in env else "--chiperase", - "--reset" - ], - UPLOADCMD="$UPLOADER $UPLOADERFLAGS --program $SOURCE" - ) - upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")] - -elif upload_protocol == "nrfutil": - env.Replace( - UPLOADER=join(platform.get_package_dir( - "tool-adafruit-nrfutil") or "", "adafruit-nrfutil.py"), - UPLOADERFLAGS=[ - "dfu", - "serial", - "-p", - "$UPLOAD_PORT", - "-b", - "$UPLOAD_SPEED", - "--singlebank", - ], - UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS -pkg $SOURCE' - ) - upload_actions = [ - env.VerboseAction(BeforeUpload, "Looking for upload port..."), - env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE") - ] - -elif upload_protocol == "sam-ba": - env.Replace( - UPLOADER="bossac", - UPLOADERFLAGS=[ - "--port", '"$UPLOAD_PORT"', "--write", "--erase", "-U", "--reset" - ], - UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCES" - ) - if int(ARGUMENTS.get("PIOVERBOSE", 0)): - env.Prepend(UPLOADERFLAGS=["--info", "--debug"]) - - upload_actions = [ - env.VerboseAction(BeforeUpload, "Looking for upload port..."), - env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE") - ] - -elif upload_protocol.startswith("jlink"): - - def _jlink_cmd_script(env, source): - build_dir = env.subst("$BUILD_DIR") - if not isdir(build_dir): - makedirs(build_dir) - script_path = join(build_dir, "upload.jlink") - commands = ["h"] - if "DFUBOOTHEX" in env: - commands.append("loadbin %s,%s" % (str(source).replace("_signature", ""), - env.BoardConfig().get("upload.offset_address", "0x26000"))) - commands.append("loadbin %s,%s" % (source, env.get("BOOT_SETTING_ADDR"))) - else: - commands.append("loadbin %s,%s" % (source, env.BoardConfig().get( - "upload.offset_address", "0x0"))) - - commands.append("r") - commands.append("q") - - with open(script_path, "w") as fp: - fp.write("\n".join(commands)) - return script_path - - env.Replace( - __jlink_cmd_script=_jlink_cmd_script, - UPLOADER="JLink.exe" if system() == "Windows" else "JLinkExe", - UPLOADERFLAGS=[ - "-device", env.BoardConfig().get("debug", {}).get("jlink_device"), - "-speed", env.GetProjectOption("debug_speed", "4000"), - "-if", ("jtag" if upload_protocol == "jlink-jtag" else "swd"), - "-autoconnect", "1", - "-NoGui", "1" - ], - UPLOADCMD='$UPLOADER $UPLOADERFLAGS -CommanderScript "${__jlink_cmd_script(__env__, SOURCE)}"' - ) - upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")] - -elif upload_protocol in debug_tools: - openocd_args = [ - "-d%d" % (2 if int(ARGUMENTS.get("PIOVERBOSE", 0)) else 1) - ] - openocd_args.extend( - debug_tools.get(upload_protocol).get("server").get("arguments", [])) - if env.GetProjectOption("debug_speed"): - openocd_args.extend( - ["-c", "adapter speed %s" % env.GetProjectOption("debug_speed")] - ) - openocd_args.extend([ - "-c", "program {$SOURCE} %s verify reset; shutdown;" % - board.get("upload.offset_address", "") - ]) - openocd_args = [ - f.replace("$PACKAGE_DIR", - platform.get_package_dir("tool-openocd") or "") - for f in openocd_args - ] - env.Replace( - UPLOADER="openocd", - UPLOADERFLAGS=openocd_args, - UPLOADCMD="$UPLOADER $UPLOADERFLAGS") - upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")] - -# custom upload tool -elif upload_protocol == "custom": - upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")] - -else: - sys.stderr.write("Warning! Unknown upload protocol %s\n" % upload_protocol) - -env.AddPlatformTarget("upload", target_firm, upload_actions, "Upload") - - -# -# Target: Erase Flash -# - -env.AddPlatformTarget( - "erase", None, env.VerboseAction("$ERASECMD", "Erasing..."), "Erase Flash") - -# -# Information about obsolete method of specifying linker scripts -# - -if any("-Wl,-T" in f for f in env.get("LINKFLAGS", [])): - print("Warning! '-Wl,-T' option for specifying linker scripts is deprecated. " - "Please use 'board_build.ldscript' option in your 'platformio.ini' file.") - -# -# Default targets -# - -Default([target_buildprog, target_size]) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/.gitignore deleted file mode 100644 index 03f4a3c1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/README.md deleted file mode 100644 index a6f265cf..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/README.md +++ /dev/null @@ -1,21 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/arduino-ble-led - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/platformio.ini deleted file mode 100644 index fb361461..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/platformio.ini +++ /dev/null @@ -1,28 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env] -lib_deps = sandeepmistry/BLEPeripheral @ ^0.4.0 -lib_compat_mode = soft -build_flags = -DNRF52_S132 - -[env:nrf52_dk] -platform = nordicnrf52 -framework = arduino -board = nrf52_dk - -[env:redbear_blenano2] -platform = nordicnrf52 -framework = arduino -board = redbear_blenano2 - -[env:stct_nrf52_minidev] -platform = nordicnrf52 -framework = arduino -board = stct_nrf52_minidev diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/src/led.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/src/led.cpp deleted file mode 100644 index e75fff40..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/src/led.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (c) Sandeep Mistry. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -#include -// Import libraries (BLEPeripheral depends on SPI) -#include -#include - -// LED pin -#define LED_PIN LED_BUILTIN - -//custom boards may override default pin definitions with BLEPeripheral(PIN_REQ, PIN_RDY, PIN_RST) -BLEPeripheral blePeripheral = BLEPeripheral(); - -// create service -BLEService ledService = BLEService("19b10000e8f2537e4f6cd104768a1214"); - -// create switch characteristic -BLECharCharacteristic switchCharacteristic = BLECharCharacteristic("19b10001e8f2537e4f6cd104768a1214", BLERead | BLEWrite); - -void setup() { - Serial.begin(9600); -#if defined (__AVR_ATmega32U4__) - delay(5000); //5 seconds delay for enabling to see the start up comments on the serial board -#endif - - // set LED pin to output mode - pinMode(LED_PIN, OUTPUT); - - // set advertised local name and service UUID - blePeripheral.setLocalName("LED"); - blePeripheral.setAdvertisedServiceUuid(ledService.uuid()); - - // add service and characteristic - blePeripheral.addAttribute(ledService); - blePeripheral.addAttribute(switchCharacteristic); - - // begin initialization - blePeripheral.begin(); - - Serial.println(F("BLE LED Peripheral")); -} - -void loop() { - BLECentral central = blePeripheral.central(); - - if (central) { - // central connected to peripheral - Serial.print(F("Connected to central: ")); - Serial.println(central.address()); - - while (central.connected()) { - // central still connected to peripheral - if (switchCharacteristic.written()) { - // central wrote new value to characteristic, update LED - if (switchCharacteristic.value()) { - Serial.println(F("LED on")); - digitalWrite(LED_PIN, HIGH); - } else { - Serial.println(F("LED off")); - digitalWrite(LED_PIN, LOW); - } - } - } - - // central disconnected - Serial.print(F("Disconnected from central: ")); - Serial.println(central.address()); - } -} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-ble-led/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/.gitignore deleted file mode 100644 index 03f4a3c1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/README.md deleted file mode 100644 index f633f878..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/README.md +++ /dev/null @@ -1,21 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/arduino-blink - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/platformio.ini deleted file mode 100644 index 3f017552..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/platformio.ini +++ /dev/null @@ -1,45 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:bbcmicrobit_v2] -platform = nordicnrf52 -framework = arduino -board = bbcmicrobit_v2 - -[env:dwm1001_dev] -platform = nordicnrf52 -framework = arduino -board = dwm1001_dev - -[env:nrf52_dk] -platform = nordicnrf52 -framework = arduino -board = nrf52_dk - -[env:delta_dfbm_nq620] -platform = nordicnrf52 -framework = arduino -board = delta_dfbm_nq620 - -[env:redbear_blenano2] -platform = nordicnrf52 -framework = arduino -board = redbear_blenano2 - -[env:redbear_blend2] -platform = nordicnrf52 -framework = arduino -board = redbear_blend2 -build_flags = -DNRF52_S132 - -[env:stct_nrf52_minidev] -platform = nordicnrf52 -framework = arduino -board = stct_nrf52_minidev -build_flags = -DNRF52_S132 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/src/Blink.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/src/Blink.cpp deleted file mode 100644 index d2c77fe8..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/src/Blink.cpp +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Blink - * Turns on an LED on for one second, - * then off for one second, repeatedly. - */ - -#include - -void setup() -{ - // initialize LED digital pin as an output. - pinMode(LED_BUILTIN, OUTPUT); -} - -void loop() -{ - // turn the LED on (HIGH is the voltage level) - digitalWrite(LED_BUILTIN, HIGH); - // wait for a second - delay(100); - // turn the LED off by making the voltage LOW - digitalWrite(LED_BUILTIN, LOW); - // wait for a second - delay(100); -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-blink/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/.gitignore deleted file mode 100644 index 54201bf5..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.pio -.pio -.vscode \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/.skiptest b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/.skiptest deleted file mode 100644 index e69de29b..00000000 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/platformio.ini deleted file mode 100644 index 955918b7..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/platformio.ini +++ /dev/null @@ -1,50 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter -; Upload options: custom upload port, speed and extra flags -; Library options: dependencies, extra library storages -; Advanced options: extra scripting -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:adafruit_feather_nrf52832] -platform = nordicnrf52 -framework = arduino -board = adafruit_feather_nrf52832 -monitor_speed = 115200 - -[env:adafruit_feather_nrf52840] -platform = nordicnrf52 -framework = arduino -board = adafruit_feather_nrf52840 -monitor_speed = 115200 - -[env:nrf52840_dk_adafruit] -platform = nordicnrf52 -framework = arduino -board = nrf52840_dk_adafruit -monitor_speed = 115200 -[env:adafruit_metro_nrf52840] -platform = nordicnrf52 -framework = arduino -board = adafruit_metro_nrf52840 -monitor_speed = 115200 - -[env:adafruit_cplaynrf52840] -platform = nordicnrf52 -framework = arduino -board = adafruit_cplaynrf52840 -monitor_speed = 115200 - -[env:particle_xenon] -platform = nordicnrf52 -framework = arduino -board = particle_xenon -monitor_speed = 115200 - -[env:adafruit_ledglasses_nrf52840] -platform = nordicnrf52 -framework = arduino -board = adafruit_ledglasses_nrf52840 -monitor_speed = 115200 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/src/main.cpp deleted file mode 100644 index d1f9f810..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/src/main.cpp +++ /dev/null @@ -1,148 +0,0 @@ -/********************************************************************* - This is an example for our nRF52 based Bluefruit LE modules - - Pick one up today in the adafruit shop! - - Adafruit invests time and resources providing this open source code, - please support Adafruit and open-source hardware by purchasing - products from Adafruit! - - MIT license, check LICENSE for more information - All text above, and the splash screen below must be included in - any redistribution -*********************************************************************/ -#include - -// BLE Service -BLEDfu bledfu; // OTA DFU service -BLEDis bledis; // device information -BLEUart bleuart; // uart over ble -BLEBas blebas; // battery - -static void startAdv(void); -static void connect_callback(uint16_t conn_handle); -static void disconnect_callback(uint16_t conn_handle, uint8_t reason); - -void setup() -{ - Serial.begin(115200); - while ( !Serial ) delay(10); // for nrf52840 with native usb - - Serial.println("Bluefruit52 BLEUART Example"); - Serial.println("---------------------------\n"); - - // Setup the BLE LED to be enabled on CONNECT - // Note: This is actually the default behaviour, but provided - // here in case you want to control this LED manually via PIN 19 - Bluefruit.autoConnLed(true); - - // Config the peripheral connection with maximum bandwidth - // more SRAM required by SoftDevice - // Note: All config***() function must be called before begin() - Bluefruit.configPrphBandwidth(BANDWIDTH_MAX); - - Bluefruit.begin(); - Bluefruit.setTxPower(4); // Check bluefruit.h for supported values - Bluefruit.setName("Bluefruit52"); - //Bluefruit.setName(getMcuUniqueID()); // useful testing with multiple central connections - Bluefruit.Periph.setConnectCallback(connect_callback); - Bluefruit.Periph.setDisconnectCallback(disconnect_callback); - - // To be consistent OTA DFU should be added first if it exists - bledfu.begin(); - - // Configure and Start Device Information Service - bledis.setManufacturer("Adafruit Industries"); - bledis.setModel("Bluefruit Feather52"); - bledis.begin(); - - // Configure and Start BLE Uart Service - bleuart.begin(); - - // Start BLE Battery Service - blebas.begin(); - blebas.write(100); - - // Set up and start advertising - startAdv(); - - Serial.println("Please use Adafruit's Bluefruit LE app to connect in UART mode"); - Serial.println("Once connected, enter character(s) that you wish to send"); -} - -void startAdv(void) -{ - // Advertising packet - Bluefruit.Advertising.addFlags(BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE); - Bluefruit.Advertising.addTxPower(); - - // Include bleuart 128-bit uuid - Bluefruit.Advertising.addService(bleuart); - - // Secondary Scan Response packet (optional) - // Since there is no room for 'Name' in Advertising packet - Bluefruit.ScanResponse.addName(); - - /* Start Advertising - * - Enable auto advertising if disconnected - * - Interval: fast mode = 20 ms, slow mode = 152.5 ms - * - Timeout for fast mode is 30 seconds - * - Start(timeout) with timeout = 0 will advertise forever (until connected) - * - * For recommended advertising interval - * https://developer.apple.com/library/content/qa/qa1931/_index.html - */ - Bluefruit.Advertising.restartOnDisconnect(true); - Bluefruit.Advertising.setInterval(32, 244); // in unit of 0.625 ms - Bluefruit.Advertising.setFastTimeout(30); // number of seconds in fast mode - Bluefruit.Advertising.start(0); // 0 = Don't stop advertising after n seconds -} - -void loop() -{ - // Forward data from HW Serial to BLEUART - while (Serial.available()) - { - // Delay to wait for enough input, since we have a limited transmission buffer - delay(2); - - uint8_t buf[64]; - int count = Serial.readBytes(buf, sizeof(buf)); - bleuart.write( buf, count ); - } - - // Forward from BLEUART to HW Serial - while ( bleuart.available() ) - { - uint8_t ch; - ch = (uint8_t) bleuart.read(); - Serial.write(ch); - } -} - -// callback invoked when central connects -void connect_callback(uint16_t conn_handle) -{ - // Get the reference to current connection - BLEConnection* connection = Bluefruit.Connection(conn_handle); - - char central_name[32] = { 0 }; - connection->getPeerName(central_name, sizeof(central_name)); - - Serial.print("Connected to "); - Serial.println(central_name); -} - -/** - * Callback invoked when a connection is dropped - * @param conn_handle connection where this event happens - * @param reason is a BLE_HCI_STATUS_CODE which can be found in ble_hci.h - */ -void disconnect_callback(uint16_t conn_handle, uint8_t reason) -{ - (void) conn_handle; - (void) reason; - - Serial.println(); - Serial.println("Disconnected"); -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-bluefruit-bleuart/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/LICENSE b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/LICENSE deleted file mode 100644 index 8b23445f..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/README.md deleted file mode 100644 index 2c38fb8a..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/README.md +++ /dev/null @@ -1,72 +0,0 @@ -# Arduino-u-blox-NINA-B1 - -u-blox NINA-B1 Arduino example + SHT31 temperature and humidity + Bluetooth BLE - -[![GitHub version](https://img.shields.io/github/release/ldab/Arduino-u-blox-NINA-B1.svg)](https://github.com/ldab/Arduino-u-blox-NINA-B1/releases/latest) -[![Build Status](https://travis-ci.org/ldab/Arduino-u-blox-NINA-B1.svg?branch=master)](https://travis-ci.org/ldab/Arduino-u-blox-NINA-B1) -[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/ldab/Arduino-u-blox-NINA-B1/blob/master/LICENSE) - -[![GitHub last commit](https://img.shields.io/github/last-commit/ldab/Arduino-u-blox-NINA-B1.svg?style=social)](https://github.com/ldab/Arduino-u-blox-NINA-B1) - -[![EVK-NINA-B1](https://www.u-blox.com/sites/default/files/styles/product_full/public/products/EVK-NINA-B1_2D-medium_RGB-CI.png)](https://www.u-blox.com/en/product/nina-b1-series) - -## How to build PlatformIO based project - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -``` -# Change directory to example -> cd platform-nordicnrf52/examples/Arduino-u-blox-NINA-B1 - -# Build project -> platformio run - -# Upload firmware -> platformio run --target upload - -# Build specific environment -> platformio run -e nina_b1 - -# Upload firmware for the specific environment -> platformio run -e nina_b1 --target upload - -# Clean build files -> platformio run --target clean -``` - -## Why? - -This example tries to implement some key functions and key PIN atributes in order to get you started with using Arduino and the NRF52832 BLE board u-blox NINA-B1. - -Timer functionas are implemented intead of `delay()` and the PINs have been re-mapped on the `#define` section - -## Bluetooth iOS and Android app - -You can download the sample Bluetooth low energy app - BLE App straight from u-blox wesite: [https://www.u-blox.com/en/product/bluetooth-ios-and-android-app](https://www.u-blox.com/en/product/bluetooth-ios-and-android-app) - -![App example](https://raw.githubusercontent.com/ldab/Arduino-u-blox-NINA-B1/master/extras/Screenshot_20190328-130832_u-blox%20BLE.jpg) - -## fatal error: ble_gatts.h: No such file or directory - -The arduino-nRF5x core **REQUIRES** a SoftDevice in order to successfully use this library. Please see [Flashing a SoftDevice](https://github.com/sandeepmistry/arduino-nRF5#selecting-a-softdevice). - -On PlatformIO and when using this example you don't need to do anything special as the `build_flags = -DNRF52_S132` has already been included on `platform.ini` file. - -SoftDevices contain the BLE stack and housekeeping, and must be downloaded once before a sketch using BLE can be loaded. The SD consumes ~5k of Ram + some extra based on actual BLE configuration. - -* SoftDevice S132 v2.0.1 supports nRF52 in peripheral and central role. It is 112k in size. - -## Credits - -Github Shields and Badges created with [Shields.io](https://github.com/badges/shields/) - -Sandeep Mistry's [Arduino BLE library](https://github.com/sandeepmistry/arduino-BLEPeripheral) - -Adafruit [SHT31 Library](https://www.adafruit.com/product/2857) - -u-blox NINA-B1 blueprint example [GitHub](https://github.com/u-blox/blueprint-B200-NINA-B1) - -u-blox official mBed [library](https://os.mbed.com/platforms/u-blox-EVK-NINA-B1/) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/platformio.ini deleted file mode 100644 index 13d9698f..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/platformio.ini +++ /dev/null @@ -1,27 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter -; Upload options: custom upload port, speed and extra flags -; Library options: dependencies, extra library storages -; Advanced options: extra scripting -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nina_b1] -platform = nordicnrf52 -board = ublox_evk_nina_b1 -framework = arduino - -build_flags = -DNRF52_S132 - -lib_compat_mode = soft -lib_deps = - SPI - adafruit/Adafruit SHT31 Library @ ^2.0.0 - sstaub/Ticker @ ^3.2.0 - sandeepmistry/BLEPeripheral @ ^0.4.0 - -monitor_speed = 115200 - -# upload_protocol = blackmagic diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/src/main.cpp deleted file mode 100644 index 28bcebf4..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-nina-b1-generic-example/src/main.cpp +++ /dev/null @@ -1,243 +0,0 @@ -/****************************************************************************** - -u-blox NINA-B1 Arduino example -Leonardo Bispo -March - 2019 -https://github.com/ldab/Arduino-u-blox-NINA-B1 - -Distributed as-is; no warranty is given. - -This example tries to implement some key functions and key PIN atributes in order -to get you started with using Arduino and the NRF52832 board u-blox NINA-B1 - -Timer functionas are implemented intead of delay() and the PINs have been re-mapped -on the #define section - -******************************************************************************/ - -#include -#include "BLEPeripheral.h" -#include "Ticker.h" -#include "Adafruit_SHT31.h" - -// Since the u-blox NINA-B1 board uses the generic Arduino variant, we need to reassing the pins; -// pins below are accordingly to the EVK-NINA-B1 board https://www.u-blox.com/en/product/evk-nina-b1 - -#define NINA_RX 5 // P0.05 - GPIO23 -#define NINA_TX 6 // P0.06 - GPIO22 -#define NINA_SDA 2 // P0.02 - GPIO24 -#define NINA_SCL 3 // P0.03 - GPIO25 -#define LED_DS1 7 // P0.07 - GPIO21 -#define LED_DS2 31 // P0.31 - GPIO31 -#define RGB_R 8 // P0.08 - GPIO1 SPI_CS1 -#define RGB_G 16 // P0.16 - GPIO7 BOOT_I - *THIS PIN IS SHARED WITH SWITCH 1* -#define RGB_B 18 // P0.18 - GPIO8 SWO_I -#define B_SW1 16 // P.016 - GPIO7 - SWITCH 1 - *THIS PIN IS SHARED WITH RGB GREEN* -#define B_SW2 30 // P.030 - GPIO18 - SWITCH 2 - -// ********************************** BLE Stuff ****************************************************** - -const char * localName = "NINA-B1"; -BLEPeripheral blePeriph = BLEPeripheral(); - -BLEService tempSer = BLEService("FFE0"); -BLEIntCharacteristic tempCharac = BLEIntCharacteristic("FFE1", BLERead | BLENotify); -BLEDescriptor tempDesc = BLEDescriptor("2901", "Temperature"); - -BLEService humSer = BLEService("DDD0"); -BLEFloatCharacteristic humCharac = BLEFloatCharacteristic("DDD1", BLERead | BLENotify); -BLEDescriptor humDes = BLEDescriptor("2901", "Humidity Percent"); - -BLEService RGBSer = BLEService("FFD0"); -BLECharCharacteristic redCharac = BLECharCharacteristic("FFD1", BLERead | BLEWrite ); -BLECharCharacteristic greenCharac = BLECharCharacteristic("FFD2", BLERead | BLEWrite ); - -//**************************************************************************************************** - -// Initialize the Temperature and Humidity Sensor SHT31 -Adafruit_SHT31 sht31 = Adafruit_SHT31(); - -// Create functions prior to calling them as .cpp files are differnt from Arduino .ino -void setupBLE ( void ); -void blinky ( void ); -void colorLED ( void ); -void readSensor ( void ); -void GreenCharacWritten(BLECentral& central, BLECharacteristic& characteristic); -void RedCharacWritten(BLECentral& central, BLECharacteristic& characteristic); - -// Create timers using Ticker library in oder to avoid delay() -Ticker blinkLED ( blinky, 600 ); -Ticker readIT ( readSensor, 5000 ); - -// Declare Global variables -float t = NAN; -float h = NAN; -bool LED = false; -bool LED_ACTIVE = false; - -// Double clich switch 2 to turn RGB off variables -uint32_t turnRGBoff = 1000; -uint32_t startLED = 0; - -// Put your code here to run once -void setup() -{ - // initialize LEDs pin as Outputs, Active LOW - pinMode(LED_DS1, OUTPUT); - pinMode(LED_DS2, OUTPUT); - pinMode(RGB_R, OUTPUT); - pinMode(RGB_G, OUTPUT); - pinMode(RGB_B, OUTPUT); - - digitalWrite(RGB_B, HIGH); - digitalWrite(RGB_G, HIGH); - digitalWrite(RGB_R, HIGH); - - // initialize Switch 2 as input, double click to turn RGB off - pinMode(B_SW2, INPUT_PULLUP); - //attachInterrupt(B_SW2, colorLED, CHANGE); // this conflicts with BLE lib https://github.com/sandeepmistry/arduino-BLEPeripheral/issues/205 - - // Assign UART TX and RX pins accordingly - Serial.setPins(NINA_RX, NINA_TX); - Serial.begin(115200); - - // Assign I2C pins accordingly and start sensor - Wire.setPins(NINA_SDA, NINA_SCL); - if (! sht31.begin(0x44) ) // Set to 0x45 for alternate i2c addr - { - Serial.println("Couldn't find SHT31"); - } - - // Set-up BLE Service - setupBLE(); - - // Start the Timer function to avoid using delay() - blinkLED.start(); - readIT.start(); - -} - -void loop() -{ - // Keep feeding timers - blinkLED.update(); - readIT.update(); - - // Constantly polls BLE - blePeriph.poll(); - -} - -void setupBLE() -{ - // Advertise name - blePeriph.setDeviceName(localName); - blePeriph.setLocalName(localName); - - // Service for Temperature - blePeriph.setAdvertisedServiceUuid(tempSer.uuid()); - - blePeriph.addAttribute(tempSer); - blePeriph.addAttribute(tempCharac); - blePeriph.addAttribute(tempDesc); - - // Service for Humidity - blePeriph.setAdvertisedServiceUuid(humSer.uuid()); - - blePeriph.addAttribute(humSer); - blePeriph.addAttribute(humCharac); - blePeriph.addAttribute(humDes); - - // Service for RGB LED - blePeriph.setAdvertisedServiceUuid(RGBSer.uuid()); - - blePeriph.addAttribute(RGBSer); - blePeriph.addAttribute(greenCharac); - blePeriph.addAttribute(redCharac); - - // Assign event handlers for characteristic - greenCharac.setEventHandler(BLEWritten, GreenCharacWritten); - redCharac.setEventHandler(BLEWritten, RedCharacWritten); - - // One can also assign events for connection, etc... - //blePeriph.setEventHandler(BLEConnected, blePeripheralConnectHandler); - //blePeriph.setEventHandler(BLEDisconnected, blePeripheralDisconnectHandler); - - blePeriph.begin(); - - Serial.println(F("BLE Temperature Sensor Peripheral")); -} - -void colorLED( void ) -{ - // Check Switch 2 state and light randonly; - bool button2 = digitalRead(B_SW2); - if( !button2 ) - { - analogWrite( RGB_R, random(255) ); - analogWrite( RGB_G, random(255) ); - analogWrite( RGB_B, random(255) ); - - if( millis() - startLED < turnRGBoff ) - startLED = 0; - else - startLED = millis(); - } - else if( startLED == 0 ) - { - analogWrite( RGB_R, 255 ); - analogWrite( RGB_G, 255 ); - analogWrite( RGB_B, 255 ); - } - -} - -void readSensor( void ) -{ - t = sht31.readTemperature(); - h = sht31.readHumidity(); - - if (! isnan(t)) { // check if 'is not a number' - Serial.print("Temp ºC = "); Serial.println(t); - } else { - Serial.println("Failed to read temperature"); - } - - if (! isnan(h)) { // check if 'is not a number' - Serial.print("Hum. % = "); Serial.println(h); - } else { - Serial.println("Failed to read humidity"); - } - Serial.println(); - - tempCharac.setValue(t); - humCharac.setValue(h); - -} - -void blinky( void ) -{ - // Toggle LED_DS1 - digitalWrite(LED_DS1, LED); - - // Toggle LED_DS2 - digitalWrite(LED_DS2, !LED); - - LED = !LED; -} - -void GreenCharacWritten(BLECentral& central, BLECharacteristic& characteristic) -{ - if ( greenCharac.value() ) - analogWrite( RGB_G, 000 ); - else - analogWrite( RGB_G, 255 ); -} - -void RedCharacWritten(BLECentral& central, BLECharacteristic& characteristic) -{ - if ( redCharac.value() ) - analogWrite( RGB_R, 000 ); - else - analogWrite( RGB_R, 255 ); -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/.gitignore deleted file mode 100644 index aeaebb2b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/README.md deleted file mode 100644 index dcbd98ca..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/README.md +++ /dev/null @@ -1,21 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/arduino-serial-plotter - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/platformio.ini deleted file mode 100644 index 7c5537b9..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/platformio.ini +++ /dev/null @@ -1,13 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nano33ble] -platform = nordicnrf52 -framework = arduino -board = nano33ble diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/src/main.cpp deleted file mode 100644 index d52bf473..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/src/main.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/* - This example reads audio data from the on-board PDM microphones, and prints - out the samples to the Serial console. The Serial Plotter built into the - Arduino IDE can be used to plot the audio data (Tools -> Serial Plotter) - - Circuit: - - Arduino Nano 33 BLE board - - This example code is in the public domain. -*/ - -#include -#include - -// buffer to read samples into, each sample is 16-bits -short sampleBuffer[256]; - -void onPDMdata(); - -// number of samples read -volatile int samplesRead; - -void setup() { - Serial.begin(9600); - while (!Serial); - - // configure the data receive callback - PDM.onReceive(onPDMdata); - - // optionally set the gain, defaults to 20 - // PDM.setGain(30); - - // initialize PDM with: - // - one channel (mono mode) - // - a 16 kHz sample rate - if (!PDM.begin(1, 16000)) { - Serial.println("Failed to start PDM!"); - while (1); - } -} - -void loop() { - // wait for samples to be read - if (samplesRead) { - - // print samples to the serial monitor or plotter - for (int i = 0; i < samplesRead; i++) { - Serial.println(sampleBuffer[i]); - } - - // clear the read count - samplesRead = 0; - } -} - -void onPDMdata() { - // query the number of bytes available - int bytesAvailable = PDM.available(); - - // read into the sample buffer - PDM.read(sampleBuffer, bytesAvailable); - - // 16-bit, 2 bytes per sample - samplesRead = bytesAvailable / 2; -} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/arduino-serial-plotter/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/.gitignore deleted file mode 100644 index 03f4a3c1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/README.md deleted file mode 100644 index 587ef83f..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/README.md +++ /dev/null @@ -1,27 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Build specific environment -$ pio run -e nrf52_dk - -# Upload firmware for the specific environment -$ pio run -e nrf52_dk --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/platformio.ini deleted file mode 100644 index cb6a474f..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/platformio.ini +++ /dev/null @@ -1,22 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nrf52_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52_dk -build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -platform_packages = - framework-mbed @ ~6.51506.0 - -[env:delta_dfbm_nq620] -platform = nordicnrf52 -framework = mbed -board = delta_dfbm_nq620 -build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/src/main.cpp deleted file mode 100644 index 48c3b760..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/src/main.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2006-2013 ARM Limited - * - * 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 -#include -#include "mbed.h" -#include "ble/BLE.h" -#include "ble/services/HealthThermometerService.h" - -DigitalOut led1(LED1, 1); - -const static char DEVICE_NAME[] = "PIOTherm"; -static const uint16_t uuid16_list[] = {GattService::UUID_HEALTH_THERMOMETER_SERVICE}; - -static float currentTemperature = 39.6; -static HealthThermometerService *thermometerServicePtr; - -static EventQueue eventQueue(/* event count */ 16 * EVENTS_EVENT_SIZE); - -/* Restart Advertising on disconnection*/ -void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *) -{ - BLE::Instance().gap().startAdvertising(); -} - -void updateSensorValue(void) { - /* Do blocking calls or whatever is necessary for sensor polling. - In our case, we simply update the Temperature measurement. */ - currentTemperature = (currentTemperature + 0.1 > 43.0) ? 39.6 : currentTemperature + 0.1; - thermometerServicePtr->updateTemperature(currentTemperature); -} - -void periodicCallback(void) -{ - led1 = !led1; /* Do blinky on LED1 while we're waiting for BLE events */ - - if (BLE::Instance().gap().getState().connected) { - eventQueue.call(updateSensorValue); - } -} - -void onBleInitError(BLE &ble, ble_error_t error) -{ - /* Initialization error handling should go here */ -} - -void bleInitComplete(BLE::InitializationCompleteCallbackContext *params) -{ - BLE& ble = params->ble; - ble_error_t error = params->error; - - if (error != BLE_ERROR_NONE) { - onBleInitError(ble, error); - return; - } - - if (ble.getInstanceID() != BLE::DEFAULT_INSTANCE) { - return; - } - - ble.gap().onDisconnection(disconnectionCallback); - - /* Setup primary service. */ - thermometerServicePtr = new HealthThermometerService(ble, currentTemperature, HealthThermometerService::LOCATION_EAR); - - /* setup advertising */ - ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE); - ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LIST_16BIT_SERVICE_IDS, (uint8_t *)uuid16_list, sizeof(uuid16_list)); - ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::THERMOMETER_EAR); - ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LOCAL_NAME, (uint8_t *)DEVICE_NAME, sizeof(DEVICE_NAME)); - ble.gap().setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED); - ble.gap().setAdvertisingInterval(1000); /* 1000ms */ - ble.gap().startAdvertising(); -} - -void scheduleBleEventsProcessing(BLE::OnEventsToProcessCallbackContext* context) { - BLE &ble = BLE::Instance(); - eventQueue.call(Callback(&ble, &BLE::processEvents)); -} - -int main() -{ - eventQueue.call_every(500, periodicCallback); - - BLE &ble = BLE::Instance(); - ble.onEventsToProcess(scheduleBleEventsProcessing); - ble.init(bleInitComplete); - - eventQueue.dispatch_forever(); - - return 0; -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-ble-thermometer/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/.gitignore deleted file mode 100644 index 03f4a3c1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/README.md deleted file mode 100644 index 7b60cd39..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/README.md +++ /dev/null @@ -1,21 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/mbed-legacy-examples/mbed-nfc - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/platformio.ini deleted file mode 100644 index 5acd8eee..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/platformio.ini +++ /dev/null @@ -1,16 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nrf52_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52_dk -build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -platform_packages = - framework-mbed @ ~6.51506.0 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/SmartPoster.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/SmartPoster.cpp deleted file mode 100644 index 5aaa8351..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/SmartPoster.cpp +++ /dev/null @@ -1,281 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2018-2018 ARM Limited - * - * 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 "SmartPoster.h" - -#include "nfc/ndef/common/Text.h" -#include "nfc/ndef/common/URI.h" -#include "nfc/ndef/common/Mime.h" -#include "nfc/ndef/MessageBuilder.h" -#include "nfc/ndef/common/util.h" - -using mbed::Span; - -using mbed::nfc::ndef::MessageBuilder; -using mbed::nfc::ndef::RecordType; -using mbed::nfc::ndef::Record; -using mbed::nfc::ndef::RecordID; -using mbed::nfc::ndef::RecordPayload; -using mbed::nfc::ndef::common::span_from_cstr; -using mbed::nfc::ndef::common::Mime; -using mbed::nfc::ndef::common::Text; -using mbed::nfc::ndef::common::URI; - -namespace { -static RecordType smart_poster_record_type() -{ - return RecordType( - RecordType::well_known_type, - span_from_cstr("Sp") - ); -} - -static RecordType action_record_type() { - return RecordType( - RecordType::well_known_type, - span_from_cstr("act") - ); -} - -static RecordType size_record_type() { - return RecordType( - RecordType::well_known_type, - span_from_cstr("s") - ); -} - -static RecordType type_record_type() { - return RecordType( - RecordType::well_known_type, - span_from_cstr("T") - ); -} - -static size_t compute_record_size(const RecordType& type, const RecordPayload& payload) -{ - return MessageBuilder::compute_record_size( - Record( - type, - payload, - RecordID(), - false, - false - ) - ); -} - -} // end of anonymous namespace - - -SmartPoster::SmartPoster(const URI &uri) : - _uri(uri), - _action(), - _resource_size(0), - _action_set(false), - _resource_size_set(false) -{ } - -void SmartPoster::set_title(const Text &text) -{ - _title = text; -} - -void SmartPoster::set_icon(const Mime &icon) -{ - _icon = icon; -} - -void SmartPoster::set_action(action_t action) -{ - _action = action; - _action_set = true; -} - -void SmartPoster::set_resource_size(uint32_t size) -{ - _resource_size = size; - _resource_size_set = true; -} - -void SmartPoster::set_resource_type(Span &type) -{ - _type.set_text(Text::UTF8, Span(), type); -} - -bool SmartPoster::append_record(MessageBuilder &ndef_builder, bool is_last_record) const -{ - if (_uri.get_uri_field().empty()) { - return false; - } - - struct PayloadBuilder : MessageBuilder::PayloadBuilder { - PayloadBuilder(const SmartPoster &sp) : sp(sp) { } - - virtual size_t size() const - { - return sp.get_uri_record_size() + - sp.get_title_record_size() + - sp.get_icon_record_size() + - sp.get_action_record_size() + - sp.get_resource_size_record_size() + - sp.get_type_record_size(); - } - - virtual void build(const Span &buffer) const - { - MessageBuilder smart_poster_builder(buffer); - sp.append_title(smart_poster_builder); - sp.append_icon(smart_poster_builder); - sp.append_resource_size(smart_poster_builder); - sp.append_type(smart_poster_builder); - sp.append_action(smart_poster_builder); - sp.append_uri(smart_poster_builder); - } - - const SmartPoster &sp; - }; - - bool result = ndef_builder.append_record( - smart_poster_record_type(), - PayloadBuilder(*this), - is_last_record - ); - return result; -} - -void SmartPoster::append_uri(MessageBuilder& builder) const -{ - _uri.append_as_record(builder, true); -} - -size_t SmartPoster::get_uri_record_size() const -{ - return _uri.get_record_size(); -} - -void SmartPoster::append_title(MessageBuilder& builder) const -{ - if (_title.get_text().empty()) { - return; - } - _title.append_as_record(builder); -} - -size_t SmartPoster::get_title_record_size() const -{ - if (_title.get_text().empty()) { - return 0; - } - - return _title.get_record_size(); -} - -void SmartPoster::append_icon(MessageBuilder& builder) const -{ - if (_icon.get_mime_content().empty()) { - return; - } - _icon.append_as_record(builder); -} - -size_t SmartPoster::get_icon_record_size() const -{ - if (_icon.get_mime_content().empty()) { - return 0; - } - - return _icon.get_record_size(); -} - -void SmartPoster::append_action(MessageBuilder& builder) const -{ - if (!_action_set) { - return; - } - - const uint8_t action_value[1] = { _action }; - builder.append_record( - action_record_type(), - action_value - ); -} - -size_t SmartPoster::get_action_record_size() const -{ - if (!_action_set) { - return 0; - } - - const uint8_t action_value[1] = { _action }; - - return compute_record_size( - action_record_type(), - action_value - ); -} - -void SmartPoster::append_resource_size(MessageBuilder& builder) const -{ - if (!_resource_size_set) { - return; - } - - uint8_t value[4]; - std::reverse_copy(&_resource_size, &_resource_size + 4, value); - - builder.append_record( - size_record_type(), - value - ); -} - -size_t SmartPoster::get_resource_size_record_size() const -{ - if (!_resource_size_set) { - return 0; - } - - uint8_t value[4]; - - return compute_record_size( - size_record_type(), - value - ); -} - -void SmartPoster::append_type(MessageBuilder& builder) const -{ - if (_type.get_text().empty()) { - return; - } - - builder.append_record( - type_record_type(), - _type.get_text() - ); -} - -size_t SmartPoster::get_type_record_size() const -{ - if (_type.get_text().empty()) { - return 0; - } - - return compute_record_size( - type_record_type(), - _type.get_text() - ); -} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/SmartPoster.h b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/SmartPoster.h deleted file mode 100644 index ae5b1759..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/SmartPoster.h +++ /dev/null @@ -1,141 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2018-2018 ARM Limited - * - * 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. - */ - -#ifndef SMARTPOSTER_H_ -#define SMARTPOSTER_H_ - -#include "nfc/ndef/common/Text.h" -#include "nfc/ndef/common/URI.h" -#include "nfc/ndef/common/Mime.h" -#include "nfc/ndef/MessageBuilder.h" - -/** - * Smart poster object. - * - * A smart poster is one of the basic use case of NFC. It encapsulates a URI to - * a resource and meta-data of the resource. - * - * Meta-data are optional, they can be: - * - title: name of the resource - * - icon: image/media associated to the resource - * - action: Action the peer should execute upon reception of the smart poster - * - size: The size of the resource. - * - type: Mime type of the resource. - * - * @note It obeys to value semantic and can be copied around. - */ -class SmartPoster { -public: - typedef mbed::nfc::ndef::common::Mime Mime; - typedef mbed::nfc::ndef::common::Text Text; - typedef mbed::nfc::ndef::common::URI URI; - typedef mbed::nfc::ndef::MessageBuilder MessageBuilder; - - /** - * Type of actions that should be executed upon smart poster reception. - */ - enum action_t { - EXECUTE,//!< EXECUTE - SAVE, //!< SAVE - EDIT //!< EDIT - }; - - /** - * Construct a smart poster. - * - * @param uri The URI to the resource. - */ - SmartPoster(const URI &uri); - - /** - * Set the title of the resource. - * - * @param text The title of the resource to set. - */ - void set_title(const Text &text); - - /** - * Set the icon of the resource. - * - * @param icon The icon to set. - */ - void set_icon(const Mime &icon); - - /** - * Set the action to trigger upon smart poster reception. - * - * @param action The action to do upon reception. - */ - void set_action(action_t action); - - /** - * Set the size of the resource. - * - * @param size The size of the resource. - */ - void set_resource_size(uint32_t size); - - /** - * Set the type of the resource. - * - * @param resource_type The type of the resource pointed by the URI. - */ - void set_resource_type(mbed::Span &resource_type); - - /** - * Append the smart poster as a ndef record. - * - * @param ndef_builder The message builder where the record is appended. - * @param is_last_record Indicates if this message is the last one. - * - * @return true if the message has been appended to the builder or false - * otherwise. - */ - bool append_record(MessageBuilder &ndef_builder, bool is_last_record) const; - -private: - void append_uri(MessageBuilder &builder) const; - size_t get_uri_record_size() const; - - void append_title(MessageBuilder &builder) const; - size_t get_title_record_size() const; - - void append_icon(MessageBuilder &builder) const; - size_t get_icon_record_size() const; - - void append_action(MessageBuilder &builder) const; - size_t get_action_record_size() const; - - void append_resource_size(MessageBuilder &builder) const; - size_t get_resource_size_record_size() const; - - void append_type(MessageBuilder &builder) const; - size_t get_type_record_size() const; - - URI _uri; - Text _title; - Mime _icon; - action_t _action; - uint32_t _resource_size; - Text _type; - - bool _action_set:1; - bool _resource_size_set:1; -}; - - -#endif /* SMARTPOSTER_H_ */ - \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/main.cpp deleted file mode 100644 index c12df907..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/src/main.cpp +++ /dev/null @@ -1,179 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2018-2018 ARM Limited - * - * 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 - -#include "events/EventQueue.h" - -#include "nfc/controllers/PN512Driver.h" -#include "nfc/controllers/PN512SPITransportDriver.h" -#include "nfc/NFCRemoteInitiator.h" -#include "nfc/NFCController.h" - -#include "nfc/ndef/MessageBuilder.h" -#include "nfc/ndef/common/util.h" - -#include "SmartPoster.h" - -using events::EventQueue; - -using mbed::Span; -using mbed::nfc::NFCRemoteInitiator; -using mbed::nfc::NFCController; -using mbed::nfc::nfc_rf_protocols_bitmask_t; -using mbed::nfc::ndef::MessageBuilder; -using mbed::nfc::ndef::common::Text; -using mbed::nfc::ndef::common::URI; -using mbed::nfc::ndef::common::span_from_cstr; - -/** - * Manage the NFC discovery process and the local device operating in target mode. - * - * When a remote initiator has been discovered, it connects to it then reply - * to its ndef message request with a smart poster message that contains: - * - A URI: https://www.mbed.com - * - A title: mbed website - * - An action: EXECUTE which opens the browser of the peer with the URI - * transmitted. - */ -class NFCProcess : NFCRemoteInitiator::Delegate, NFCController::Delegate { -public: - /** - * Construct a new NFCProcess objects. - * - * This function construct the NFC controller and wires it with the PN512 - * driver. - * - * @param queue The event queue that will be used by the NFCController. - */ - NFCProcess(events::EventQueue &queue) : - _pn512_transport(D11, D12, D13, D10, A1, A0), - _pn512_driver(&_pn512_transport), - _queue(queue), - _ndef_buffer(), - _nfc_controller(&_pn512_driver, &queue, _ndef_buffer) - { } - - /** - * Initialise and configure the NFC controller. - * - * @return NFC_OK in case of success or a meaningful error code in case of - * failure. - */ - nfc_err_t init() - { - nfc_err_t err = _nfc_controller.initialize(); - if (err) { - return err; - } - - // register callbacks - _nfc_controller.set_delegate(this); - - nfc_rf_protocols_bitmask_t protocols = { 0 }; - protocols.target_iso_dep = 1; - return _nfc_controller.configure_rf_protocols(protocols); - } - - /** - * Start the discovery of peers. - * - * @return NFC_OK in case of success or a meaningful error code in case of - * failure. - */ - nfc_err_t start_discovery() - { - return _nfc_controller.start_discovery(); - } - -private: - /* ------------------------------------------------------------------------ - * Implementation of NFCRemoteInitiator::Delegate - */ - virtual void on_connected() { } - - virtual void on_disconnected() - { - // reset the state of the remote initiator - _nfc_remote_initiator->set_delegate(NULL); - _nfc_remote_initiator.reset(); - - // restart peer discovery - _nfc_controller.start_discovery(); - } - - virtual void parse_ndef_message(const Span &buffer) { } - - virtual size_t build_ndef_message(const Span &buffer) - { - // build the smart poster object we want to send - SmartPoster smart_poster( - URI(URI::HTTPS_WWW, span_from_cstr("mbed.com")) - ); - smart_poster.set_title( - Text(Text::UTF8, span_from_cstr("en-US"), span_from_cstr("mbed website")) - ); - smart_poster.set_action(SmartPoster::EXECUTE); - - // serialize the smart poster into an ndef message operating on the - // buffer in input. - MessageBuilder builder(buffer); - smart_poster.append_record(builder, /* last ? */ true); - - return builder.get_message().size(); - } - - /* ------------------------------------------------------------------------ - * Implementation of NFCController::Delegate - */ - virtual void on_discovery_terminated(nfc_discovery_terminated_reason_t reason) - { - if(reason != nfc_discovery_terminated_completed) { - _nfc_controller.start_discovery(); - } - } - - virtual void on_nfc_initiator_discovered(const SharedPtr &nfc_initiator) - { - // setup the local remote initiator - _nfc_remote_initiator = nfc_initiator; - _nfc_remote_initiator->set_delegate(this); - _nfc_remote_initiator->connect(); - } - - mbed::nfc::PN512SPITransportDriver _pn512_transport; - mbed::nfc::PN512Driver _pn512_driver; - EventQueue& _queue; - uint8_t _ndef_buffer[1024]; - NFCController _nfc_controller; - SharedPtr _nfc_remote_initiator; -}; - -int main() -{ - events::EventQueue queue; - NFCProcess nfc_process(queue); - - nfc_err_t ret = nfc_process.init(); - printf("Initialize: ret = %u\r\n", ret); - - ret = nfc_process.start_discovery(); - printf("Start Discovery: ret = %u\r\n", ret); - - queue.dispatch_forever(); - - return 0; -} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-nfc/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/.gitignore deleted file mode 100644 index 03f4a3c1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/README.md deleted file mode 100644 index 2db75741..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/README.md +++ /dev/null @@ -1,27 +0,0 @@ -How to build PlatformIO based project -==================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/mbed-legacy-examples/mbed-rtos - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Build specific environment -$ pio run -e nrf52_dk - -# Upload firmware for the specific environment -$ pio run -e nrf52_dk --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/platformio.ini deleted file mode 100644 index d39d8eb4..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/platformio.ini +++ /dev/null @@ -1,22 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nrf52840_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52840_dk -build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -platform_packages = - framework-mbed @ ~6.51506.0 - -[env:delta_dfbm_nq620] -platform = nordicnrf52 -framework = mbed -board = delta_dfbm_nq620 -build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/src/main.cpp deleted file mode 100644 index 7b19f21b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/src/main.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include "mbed.h" -#include "rtos.h" - -Thread thread; -DigitalOut led1(LED1); -volatile bool running = true; - -void blink(DigitalOut *led) { - while (running) { - *led = !*led; - wait(1); - } -} - -int main() { - thread.start(callback(blink, &led1)); - wait(5); - running = false; - thread.join(); -} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-legacy-examples/mbed-rtos/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/.gitignore deleted file mode 100644 index 03f4a3c1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/README.md deleted file mode 100644 index bcdd2719..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/README.md +++ /dev/null @@ -1,27 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/mbed-legacy-examples/mbed-rtos-ble-thermometer - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Build specific environment -$ pio run -e nrf52_dk - -# Upload firmware for the specific environment -$ pio run -e nrf52_dk --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/mbed_app.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/mbed_app.json deleted file mode 100644 index 205b8cd4..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/mbed_app.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "target_overrides": { - "K64F": { - "target.components_add": ["BlueNRG_MS"], - "target.features_add": ["BLE"], - "target.extra_labels_add": ["CORDIO"] - }, - "NUCLEO_F401RE": { - "target.components_add": ["BlueNRG_MS"], - "target.features_add": ["BLE"], - "target.extra_labels_add": ["CORDIO"] - }, - "NRF52840_DK": { - "target.features_add": ["BLE"] - }, - "NRF52_DK": { - "target.features_add": ["BLE"] - } - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/platformio.ini deleted file mode 100644 index 0cd5901d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/platformio.ini +++ /dev/null @@ -1,18 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nrf52_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52_dk - -[env:nrf52840_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52840_dk diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/src/main.cpp deleted file mode 100644 index cecaafb5..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/src/main.cpp +++ /dev/null @@ -1,163 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2006-2013 ARM Limited - * - * 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 -#include "mbed.h" -#include "ble/BLE.h" -#include "ble/services/HealthThermometerService.h" -#include "pretty_printer.h" - -DigitalOut led1(LED1, 1); - -const static char DEVICE_NAME[] = "Therm"; - -static events::EventQueue event_queue(/* event count */ 16 * EVENTS_EVENT_SIZE); - -class ThermometerDemo : ble::Gap::EventHandler { -public: - ThermometerDemo(BLE &ble, events::EventQueue &event_queue) : - _ble(ble), - _event_queue(event_queue), - _sensor_event_id(0), - _thermometer_uuid(GattService::UUID_HEALTH_THERMOMETER_SERVICE), - _current_temperature(39.6f), - _thermometer_service(NULL), - _adv_data_builder(_adv_buffer) { } - - void start() { - _ble.gap().setEventHandler(this); - - _ble.init(this, &ThermometerDemo::on_init_complete); - - _event_queue.call_every(500, this, &ThermometerDemo::blink); - - _event_queue.dispatch_forever(); - } - -private: - /** Callback triggered when the ble initialization process has finished */ - void on_init_complete(BLE::InitializationCompleteCallbackContext *params) { - if (params->error != BLE_ERROR_NONE) { - print_error(params->error, "Ble initialization failed."); - return; - } - - print_mac_address(); - - /* Setup primary service. */ - _thermometer_service = new HealthThermometerService(_ble, _current_temperature, HealthThermometerService::LOCATION_EAR); - - start_advertising(); - } - - void start_advertising() { - /* Create advertising parameters and payload */ - - ble::AdvertisingParameters adv_parameters( - ble::advertising_type_t::CONNECTABLE_UNDIRECTED, - ble::adv_interval_t(ble::millisecond_t(1000)) - ); - - _adv_data_builder.setFlags(); - _adv_data_builder.setLocalServiceList(mbed::make_Span(&_thermometer_uuid, 1)); - _adv_data_builder.setAppearance(ble::adv_data_appearance_t::THERMOMETER_EAR); - _adv_data_builder.setName(DEVICE_NAME); - - /* Setup advertising */ - - ble_error_t error = _ble.gap().setAdvertisingParameters( - ble::LEGACY_ADVERTISING_HANDLE, - adv_parameters - ); - - if (error) { - print_error(error, "_ble.gap().setAdvertisingParameters() failed"); - return; - } - - error = _ble.gap().setAdvertisingPayload( - ble::LEGACY_ADVERTISING_HANDLE, - _adv_data_builder.getAdvertisingData() - ); - - if (error) { - print_error(error, "_ble.gap().setAdvertisingPayload() failed"); - return; - } - - /* Start advertising */ - - error = _ble.gap().startAdvertising(ble::LEGACY_ADVERTISING_HANDLE); - - if (error) { - print_error(error, "_ble.gap().startAdvertising() failed"); - return; - } - } - - void update_sensor_value() { - _current_temperature = (_current_temperature + 0.1f > 43.0f) ? 39.6f : _current_temperature + 0.1f; - _thermometer_service->updateTemperature(_current_temperature); - } - - void blink(void) { - led1 = !led1; - } - -private: - /* Event handler */ - - virtual void onDisconnectionComplete(const ble::DisconnectionCompleteEvent&) { - _event_queue.cancel(_sensor_event_id); - _ble.gap().startAdvertising(ble::LEGACY_ADVERTISING_HANDLE); - } - - virtual void onConnectionComplete(const ble::ConnectionCompleteEvent &event) { - if (event.getStatus() == BLE_ERROR_NONE) { - _sensor_event_id = _event_queue.call_every(1000, this, &ThermometerDemo::update_sensor_value); - } - } - -private: - BLE &_ble; - events::EventQueue &_event_queue; - - int _sensor_event_id; - - UUID _thermometer_uuid; - - float _current_temperature; - HealthThermometerService *_thermometer_service; - - uint8_t _adv_buffer[ble::LEGACY_ADVERTISING_MAX_SIZE]; - ble::AdvertisingDataBuilder _adv_data_builder; -}; - -/** Schedule processing of events from the BLE middleware in the event queue. */ -void schedule_ble_events(BLE::OnEventsToProcessCallbackContext *context) { - event_queue.call(Callback(&context->ble, &BLE::processEvents)); -} - -int main() -{ - BLE &ble = BLE::Instance(); - ble.onEventsToProcess(schedule_ble_events); - - ThermometerDemo demo(ble, event_queue); - demo.start(); - - return 0; -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/src/pretty_printer.h b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/src/pretty_printer.h deleted file mode 100644 index 92dd8e26..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/src/pretty_printer.h +++ /dev/null @@ -1,100 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2018 ARM Limited - * - * 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 -#include "ble/BLE.h" - -inline void print_error(ble_error_t error, const char* msg) -{ - printf("%s: ", msg); - switch(error) { - case BLE_ERROR_NONE: - printf("BLE_ERROR_NONE: No error"); - break; - case BLE_ERROR_BUFFER_OVERFLOW: - printf("BLE_ERROR_BUFFER_OVERFLOW: The requested action would cause a buffer overflow and has been aborted"); - break; - case BLE_ERROR_NOT_IMPLEMENTED: - printf("BLE_ERROR_NOT_IMPLEMENTED: Requested a feature that isn't yet implement or isn't supported by the target HW"); - break; - case BLE_ERROR_PARAM_OUT_OF_RANGE: - printf("BLE_ERROR_PARAM_OUT_OF_RANGE: One of the supplied parameters is outside the valid range"); - break; - case BLE_ERROR_INVALID_PARAM: - printf("BLE_ERROR_INVALID_PARAM: One of the supplied parameters is invalid"); - break; - case BLE_STACK_BUSY: - printf("BLE_STACK_BUSY: The stack is busy"); - break; - case BLE_ERROR_INVALID_STATE: - printf("BLE_ERROR_INVALID_STATE: Invalid state"); - break; - case BLE_ERROR_NO_MEM: - printf("BLE_ERROR_NO_MEM: Out of Memory"); - break; - case BLE_ERROR_OPERATION_NOT_PERMITTED: - printf("BLE_ERROR_OPERATION_NOT_PERMITTED"); - break; - case BLE_ERROR_INITIALIZATION_INCOMPLETE: - printf("BLE_ERROR_INITIALIZATION_INCOMPLETE"); - break; - case BLE_ERROR_ALREADY_INITIALIZED: - printf("BLE_ERROR_ALREADY_INITIALIZED"); - break; - case BLE_ERROR_UNSPECIFIED: - printf("BLE_ERROR_UNSPECIFIED: Unknown error"); - break; - case BLE_ERROR_INTERNAL_STACK_FAILURE: - printf("BLE_ERROR_INTERNAL_STACK_FAILURE: internal stack failure"); - break; - case BLE_ERROR_NOT_FOUND: - printf("BLE_ERROR_NOT_FOUND"); - break; - default: - printf("Unknown error"); - } - printf("\r\n"); -} - -/** print device address to the terminal */ -inline void print_address(const ble::address_t &addr) -{ - printf("%02x:%02x:%02x:%02x:%02x:%02x\r\n", - addr[5], addr[4], addr[3], addr[2], addr[1], addr[0]); -} - -inline void print_mac_address() -{ - /* Print out device MAC address to the console*/ - ble::own_address_type_t addr_type; - ble::address_t address; - BLE::Instance().gap().getAddress(addr_type, address); - printf("DEVICE MAC ADDRESS: "); - print_address(address); -} - -inline const char* phy_to_string(ble::phy_t phy) { - switch(phy.value()) { - case ble::phy_t::LE_1M: - return "LE 1M"; - case ble::phy_t::LE_2M: - return "LE 2M"; - case ble::phy_t::LE_CODED: - return "LE coded"; - default: - return "invalid PHY"; - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-ble-thermometer/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/.gitignore deleted file mode 100644 index 03f4a3c1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/README.md deleted file mode 100644 index f0bfb63d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/README.md +++ /dev/null @@ -1,27 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/mbed-rtos-blink-baremetal - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Build specific environment -$ pio run -e nrf52_dk - -# Upload firmware for the specific environment -$ pio run -e nrf52_dk --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/mbed_app.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/mbed_app.json deleted file mode 100644 index d04688f4..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/mbed_app.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "requires": ["bare-metal"], - "target_overrides": { - "*": { - "target.c_lib": "small", - "target.printf_lib": "minimal-printf", - "platform.minimal-printf-enable-floating-point": false, - "platform.stdio-minimal-console-only": true - } - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/platformio.ini deleted file mode 100644 index 0cd5901d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/platformio.ini +++ /dev/null @@ -1,18 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nrf52_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52_dk - -[env:nrf52840_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52840_dk diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/src/main.cpp deleted file mode 100644 index b02f14a1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/src/main.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2019 ARM Limited - * SPDX-License-Identifier: Apache-2.0 - */ - -#include "mbed.h" - -#define WAIT_TIME_MS 500 -DigitalOut led1(LED1); - -int main() -{ - printf("This is the bare metal blinky example running on Mbed OS %d.%d.%d.\n", MBED_MAJOR_VERSION, MBED_MINOR_VERSION, MBED_PATCH_VERSION); - - while (true) - { - led1 = !led1; - thread_sleep_for(WAIT_TIME_MS); - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-blink-baremetal/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/.gitignore deleted file mode 100644 index 03f4a3c1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/README.md deleted file mode 100644 index 60b6445d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/README.md +++ /dev/null @@ -1,27 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/mbed-rtos-nfc - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Build specific environment -$ pio run -e nrf52_dk - -# Upload firmware for the specific environment -$ pio run -e nrf52_dk --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/platformio.ini deleted file mode 100644 index 0cd5901d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/platformio.ini +++ /dev/null @@ -1,18 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nrf52_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52_dk - -[env:nrf52840_dk] -platform = nordicnrf52 -framework = mbed -board = nrf52840_dk diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/SmartPoster.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/SmartPoster.cpp deleted file mode 100644 index a4c5db89..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/SmartPoster.cpp +++ /dev/null @@ -1,282 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2018-2018 ARM Limited - * - * 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 "SmartPoster.h" - -#include "nfc/ndef/common/Text.h" -#include "nfc/ndef/common/URI.h" -#include "nfc/ndef/common/Mime.h" -#include "nfc/ndef/MessageBuilder.h" -#include "nfc/ndef/common/util.h" - -using mbed::Span; - -using mbed::nfc::ndef::MessageBuilder; -using mbed::nfc::ndef::RecordType; -using mbed::nfc::ndef::Record; -using mbed::nfc::ndef::RecordID; -using mbed::nfc::ndef::RecordPayload; -using mbed::nfc::ndef::common::span_from_cstr; -using mbed::nfc::ndef::common::Mime; -using mbed::nfc::ndef::common::Text; -using mbed::nfc::ndef::common::URI; - -namespace { -static RecordType smart_poster_record_type() -{ - return RecordType( - RecordType::well_known_type, - span_from_cstr("Sp") - ); -} - -static RecordType action_record_type() { - return RecordType( - RecordType::well_known_type, - span_from_cstr("act") - ); -} - -static RecordType size_record_type() { - return RecordType( - RecordType::well_known_type, - span_from_cstr("s") - ); -} - -static RecordType type_record_type() { - return RecordType( - RecordType::well_known_type, - span_from_cstr("T") - ); -} - -static size_t compute_record_size(const RecordType& type, const RecordPayload& payload) -{ - return MessageBuilder::compute_record_size( - Record( - type, - payload, - RecordID(), - false, - false - ) - ); -} - -} // end of anonymous namespace - - -SmartPoster::SmartPoster(const URI &uri) : - _uri(uri), - _action(), - _resource_size(0), - _action_set(false), - _resource_size_set(false) -{ } - -void SmartPoster::set_title(const Text &text) -{ - _title = text; -} - -void SmartPoster::set_icon(const Mime &icon) -{ - _icon = icon; -} - -void SmartPoster::set_action(action_t action) -{ - _action = action; - _action_set = true; -} - -void SmartPoster::set_resource_size(uint32_t size) -{ - _resource_size = size; - _resource_size_set = true; -} - -void SmartPoster::set_resource_type(Span &type) -{ - _type.set_text(Text::UTF8, Span(), type); -} - -bool SmartPoster::append_record(MessageBuilder &ndef_builder, bool is_last_record) const -{ - if (_uri.get_uri_field().empty()) { - return false; - } - - struct PayloadBuilder : MessageBuilder::PayloadBuilder { - PayloadBuilder(const SmartPoster &sp) : sp(sp) { } - - virtual size_t size() const - { - return sp.get_uri_record_size() + - sp.get_title_record_size() + - sp.get_icon_record_size() + - sp.get_action_record_size() + - sp.get_resource_size_record_size() + - sp.get_type_record_size(); - } - - virtual void build(const Span &buffer) const - { - MessageBuilder smart_poster_builder(buffer); - sp.append_title(smart_poster_builder); - sp.append_icon(smart_poster_builder); - sp.append_resource_size(smart_poster_builder); - sp.append_type(smart_poster_builder); - sp.append_action(smart_poster_builder); - sp.append_uri(smart_poster_builder); - } - - const SmartPoster &sp; - }; - - bool result = ndef_builder.append_record( - smart_poster_record_type(), - PayloadBuilder(*this), - is_last_record - ); - return result; -} - -void SmartPoster::append_uri(MessageBuilder& builder) const -{ - _uri.append_as_record(builder, true); -} - -size_t SmartPoster::get_uri_record_size() const -{ - return _uri.get_record_size(); -} - -void SmartPoster::append_title(MessageBuilder& builder) const -{ - if (_title.get_text().empty()) { - return; - } - _title.append_as_record(builder); -} - -size_t SmartPoster::get_title_record_size() const -{ - if (_title.get_text().empty()) { - return 0; - } - - return _title.get_record_size(); -} - -void SmartPoster::append_icon(MessageBuilder& builder) const -{ - if (_icon.get_mime_content().empty()) { - return; - } - _icon.append_as_record(builder); -} - -size_t SmartPoster::get_icon_record_size() const -{ - if (_icon.get_mime_content().empty()) { - return 0; - } - - return _icon.get_record_size(); -} - -void SmartPoster::append_action(MessageBuilder& builder) const -{ - if (!_action_set) { - return; - } - - const uint8_t action_value[1] = { _action }; - builder.append_record( - action_record_type(), - action_value - ); -} - -size_t SmartPoster::get_action_record_size() const -{ - if (!_action_set) { - return 0; - } - - const uint8_t action_value[1] = { _action }; - - return compute_record_size( - action_record_type(), - action_value - ); -} - -void SmartPoster::append_resource_size(MessageBuilder& builder) const -{ - if (!_resource_size_set) { - return; - } - - uint8_t value[4]; - std::reverse_copy(&_resource_size, &_resource_size + 4, value); - - builder.append_record( - size_record_type(), - value - ); -} - -size_t SmartPoster::get_resource_size_record_size() const -{ - if (!_resource_size_set) { - return 0; - } - - uint8_t value[4]; - - return compute_record_size( - size_record_type(), - value - ); -} - -void SmartPoster::append_type(MessageBuilder& builder) const -{ - if (_type.get_text().empty()) { - return; - } - - builder.append_record( - type_record_type(), - _type.get_text() - ); -} - -size_t SmartPoster::get_type_record_size() const -{ - if (_type.get_text().empty()) { - return 0; - } - - return compute_record_size( - type_record_type(), - _type.get_text() - ); -} - diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/SmartPoster.h b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/SmartPoster.h deleted file mode 100644 index 447a91e3..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/SmartPoster.h +++ /dev/null @@ -1,140 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2018-2018 ARM Limited - * - * 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. - */ - -#ifndef SMARTPOSTER_H_ -#define SMARTPOSTER_H_ - -#include "nfc/ndef/common/Text.h" -#include "nfc/ndef/common/URI.h" -#include "nfc/ndef/common/Mime.h" -#include "nfc/ndef/MessageBuilder.h" - -/** - * Smart poster object. - * - * A smart poster is one of the basic use case of NFC. It encapsulates a URI to - * a resource and meta-data of the resource. - * - * Meta-data are optional, they can be: - * - title: name of the resource - * - icon: image/media associated to the resource - * - action: Action the peer should execute upon reception of the smart poster - * - size: The size of the resource. - * - type: Mime type of the resource. - * - * @note It obeys to value semantic and can be copied around. - */ -class SmartPoster { -public: - typedef mbed::nfc::ndef::common::Mime Mime; - typedef mbed::nfc::ndef::common::Text Text; - typedef mbed::nfc::ndef::common::URI URI; - typedef mbed::nfc::ndef::MessageBuilder MessageBuilder; - - /** - * Type of actions that should be executed upon smart poster reception. - */ - enum action_t { - EXECUTE,//!< EXECUTE - SAVE, //!< SAVE - EDIT //!< EDIT - }; - - /** - * Construct a smart poster. - * - * @param uri The URI to the resource. - */ - SmartPoster(const URI &uri); - - /** - * Set the title of the resource. - * - * @param text The title of the resource to set. - */ - void set_title(const Text &text); - - /** - * Set the icon of the resource. - * - * @param icon The icon to set. - */ - void set_icon(const Mime &icon); - - /** - * Set the action to trigger upon smart poster reception. - * - * @param action The action to do upon reception. - */ - void set_action(action_t action); - - /** - * Set the size of the resource. - * - * @param size The size of the resource. - */ - void set_resource_size(uint32_t size); - - /** - * Set the type of the resource. - * - * @param resource_type The type of the resource pointed by the URI. - */ - void set_resource_type(mbed::Span &resource_type); - - /** - * Append the smart poster as a ndef record. - * - * @param ndef_builder The message builder where the record is appended. - * @param is_last_record Indicates if this message is the last one. - * - * @return true if the message has been appended to the builder or false - * otherwise. - */ - bool append_record(MessageBuilder &ndef_builder, bool is_last_record) const; - -private: - void append_uri(MessageBuilder &builder) const; - size_t get_uri_record_size() const; - - void append_title(MessageBuilder &builder) const; - size_t get_title_record_size() const; - - void append_icon(MessageBuilder &builder) const; - size_t get_icon_record_size() const; - - void append_action(MessageBuilder &builder) const; - size_t get_action_record_size() const; - - void append_resource_size(MessageBuilder &builder) const; - size_t get_resource_size_record_size() const; - - void append_type(MessageBuilder &builder) const; - size_t get_type_record_size() const; - - URI _uri; - Text _title; - Mime _icon; - action_t _action; - uint32_t _resource_size; - Text _type; - - bool _action_set:1; - bool _resource_size_set:1; -}; - - -#endif /* SMARTPOSTER_H_ */ diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/main.cpp b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/main.cpp deleted file mode 100644 index c12df907..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/src/main.cpp +++ /dev/null @@ -1,179 +0,0 @@ -/* mbed Microcontroller Library - * Copyright (c) 2018-2018 ARM Limited - * - * 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 - -#include "events/EventQueue.h" - -#include "nfc/controllers/PN512Driver.h" -#include "nfc/controllers/PN512SPITransportDriver.h" -#include "nfc/NFCRemoteInitiator.h" -#include "nfc/NFCController.h" - -#include "nfc/ndef/MessageBuilder.h" -#include "nfc/ndef/common/util.h" - -#include "SmartPoster.h" - -using events::EventQueue; - -using mbed::Span; -using mbed::nfc::NFCRemoteInitiator; -using mbed::nfc::NFCController; -using mbed::nfc::nfc_rf_protocols_bitmask_t; -using mbed::nfc::ndef::MessageBuilder; -using mbed::nfc::ndef::common::Text; -using mbed::nfc::ndef::common::URI; -using mbed::nfc::ndef::common::span_from_cstr; - -/** - * Manage the NFC discovery process and the local device operating in target mode. - * - * When a remote initiator has been discovered, it connects to it then reply - * to its ndef message request with a smart poster message that contains: - * - A URI: https://www.mbed.com - * - A title: mbed website - * - An action: EXECUTE which opens the browser of the peer with the URI - * transmitted. - */ -class NFCProcess : NFCRemoteInitiator::Delegate, NFCController::Delegate { -public: - /** - * Construct a new NFCProcess objects. - * - * This function construct the NFC controller and wires it with the PN512 - * driver. - * - * @param queue The event queue that will be used by the NFCController. - */ - NFCProcess(events::EventQueue &queue) : - _pn512_transport(D11, D12, D13, D10, A1, A0), - _pn512_driver(&_pn512_transport), - _queue(queue), - _ndef_buffer(), - _nfc_controller(&_pn512_driver, &queue, _ndef_buffer) - { } - - /** - * Initialise and configure the NFC controller. - * - * @return NFC_OK in case of success or a meaningful error code in case of - * failure. - */ - nfc_err_t init() - { - nfc_err_t err = _nfc_controller.initialize(); - if (err) { - return err; - } - - // register callbacks - _nfc_controller.set_delegate(this); - - nfc_rf_protocols_bitmask_t protocols = { 0 }; - protocols.target_iso_dep = 1; - return _nfc_controller.configure_rf_protocols(protocols); - } - - /** - * Start the discovery of peers. - * - * @return NFC_OK in case of success or a meaningful error code in case of - * failure. - */ - nfc_err_t start_discovery() - { - return _nfc_controller.start_discovery(); - } - -private: - /* ------------------------------------------------------------------------ - * Implementation of NFCRemoteInitiator::Delegate - */ - virtual void on_connected() { } - - virtual void on_disconnected() - { - // reset the state of the remote initiator - _nfc_remote_initiator->set_delegate(NULL); - _nfc_remote_initiator.reset(); - - // restart peer discovery - _nfc_controller.start_discovery(); - } - - virtual void parse_ndef_message(const Span &buffer) { } - - virtual size_t build_ndef_message(const Span &buffer) - { - // build the smart poster object we want to send - SmartPoster smart_poster( - URI(URI::HTTPS_WWW, span_from_cstr("mbed.com")) - ); - smart_poster.set_title( - Text(Text::UTF8, span_from_cstr("en-US"), span_from_cstr("mbed website")) - ); - smart_poster.set_action(SmartPoster::EXECUTE); - - // serialize the smart poster into an ndef message operating on the - // buffer in input. - MessageBuilder builder(buffer); - smart_poster.append_record(builder, /* last ? */ true); - - return builder.get_message().size(); - } - - /* ------------------------------------------------------------------------ - * Implementation of NFCController::Delegate - */ - virtual void on_discovery_terminated(nfc_discovery_terminated_reason_t reason) - { - if(reason != nfc_discovery_terminated_completed) { - _nfc_controller.start_discovery(); - } - } - - virtual void on_nfc_initiator_discovered(const SharedPtr &nfc_initiator) - { - // setup the local remote initiator - _nfc_remote_initiator = nfc_initiator; - _nfc_remote_initiator->set_delegate(this); - _nfc_remote_initiator->connect(); - } - - mbed::nfc::PN512SPITransportDriver _pn512_transport; - mbed::nfc::PN512Driver _pn512_driver; - EventQueue& _queue; - uint8_t _ndef_buffer[1024]; - NFCController _nfc_controller; - SharedPtr _nfc_remote_initiator; -}; - -int main() -{ - events::EventQueue queue; - NFCProcess nfc_process(queue); - - nfc_err_t ret = nfc_process.init(); - printf("Initialize: ret = %u\r\n", ret); - - ret = nfc_process.start_discovery(); - printf("Start Discovery: ret = %u\r\n", ret); - - queue.dispatch_forever(); - - return 0; -} \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/mbed-rtos-nfc/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/.gitignore deleted file mode 100644 index aeaebb2b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/README.md deleted file mode 100644 index 70bd66f5..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/README.md +++ /dev/null @@ -1,27 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/zephyr-ble-beacon - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Build specific environment -$ pio run -e nrf52_dk - -# Upload firmware for the specific environment -$ pio run -e nrf52_dk --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/platformio.ini deleted file mode 100644 index 7bbc7a62..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/platformio.ini +++ /dev/null @@ -1,20 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nrf52840_dk] -platform = nordicnrf52 -framework = zephyr -board = nrf52840_dk -monitor_speed = 115200 - -[env:particle_xenon] -platform = nordicnrf52 -framework = zephyr -board = particle_xenon -monitor_speed = 115200 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/src/main.c b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/src/main.c deleted file mode 100644 index 83440cc9..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/src/main.c +++ /dev/null @@ -1,88 +0,0 @@ -/* main.c - Application main entry point */ - -/* - * Copyright (c) 2015-2016 Intel Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include - -#include -#include - -#define DEVICE_NAME CONFIG_BT_DEVICE_NAME -#define DEVICE_NAME_LEN (sizeof(DEVICE_NAME) - 1) - -/* - * Set Advertisement data. Based on the Eddystone specification: - * https://github.com/google/eddystone/blob/master/protocol-specification.md - * https://github.com/google/eddystone/tree/master/eddystone-url - */ -static const struct bt_data ad[] = { - BT_DATA_BYTES(BT_DATA_FLAGS, BT_LE_AD_NO_BREDR), - BT_DATA_BYTES(BT_DATA_UUID16_ALL, 0xaa, 0xfe), - BT_DATA_BYTES(BT_DATA_SVC_DATA16, - 0xaa, 0xfe, /* Eddystone UUID */ - 0x10, /* Eddystone-URL frame type */ - 0x00, /* Calibrated Tx power at 0m */ - 0x00, /* URL Scheme Prefix http://www. */ - 'z', 'e', 'p', 'h', 'y', 'r', - 'p', 'r', 'o', 'j', 'e', 'c', 't', - 0x08) /* .org */ -}; - -/* Set Scan Response data */ -static const struct bt_data sd[] = { - BT_DATA(BT_DATA_NAME_COMPLETE, DEVICE_NAME, DEVICE_NAME_LEN), -}; - -static void bt_ready(int err) -{ - char addr_s[BT_ADDR_LE_STR_LEN]; - bt_addr_le_t addr = {0}; - size_t count = 1; - - if (err) { - printk("Bluetooth init failed (err %d)\n", err); - return; - } - - printk("Bluetooth initialized\n"); - - /* Start advertising */ - err = bt_le_adv_start(BT_LE_ADV_NCONN_IDENTITY, ad, ARRAY_SIZE(ad), - sd, ARRAY_SIZE(sd)); - if (err) { - printk("Advertising failed to start (err %d)\n", err); - return; - } - - - /* For connectable advertising you would use - * bt_le_oob_get_local(). For non-connectable non-identity - * advertising an non-resolvable private address is used; - * there is no API to retrieve that. - */ - - bt_id_get(&addr, &count); - bt_addr_le_to_str(&addr, addr_s, sizeof(addr_s)); - - printk("Beacon started, advertising as %s\n", addr_s); -} - -void main(void) -{ - int err; - - printk("Starting Beacon Demo\n"); - - /* Initialize the Bluetooth Subsystem */ - err = bt_enable(bt_ready); - if (err) { - printk("Bluetooth init failed (err %d)\n", err); - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/zephyr/CMakeLists.txt b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/zephyr/CMakeLists.txt deleted file mode 100644 index 70eb728b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/zephyr/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -cmake_minimum_required(VERSION 3.13.1) -include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) -project(beacon) - -target_sources(app PRIVATE ../src/main.c) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/zephyr/prj.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/zephyr/prj.conf deleted file mode 100644 index 1d6745c7..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-ble-beacon/zephyr/prj.conf +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_BT=y -CONFIG_BT_DEBUG_LOG=y -CONFIG_BT_DEVICE_NAME="Test beacon" diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/.gitignore deleted file mode 100644 index aeaebb2b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/README.md deleted file mode 100644 index 145cba22..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/README.md +++ /dev/null @@ -1,27 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/zephyr-blink - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Build specific environment -$ pio run -e nrf52_dk - -# Upload firmware for the specific environment -$ pio run -e nrf52_dk --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/platformio.ini deleted file mode 100644 index 55dd323f..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/platformio.ini +++ /dev/null @@ -1,28 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:adafruit_feather_nrf52832] -platform = nordicnrf52 -framework = zephyr -board = adafruit_feather_nrf52832 - -[env:nrf52_dk] -platform = nordicnrf52 -framework = zephyr -board = nrf52_dk - -[env:nrf52840_dk] -platform = nordicnrf52 -framework = zephyr -board = nrf52840_dk - -[env:particle_xenon] -platform = nordicnrf52 -framework = zephyr -board = particle_xenon diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/src/main.c b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/src/main.c deleted file mode 100644 index e2fbfd3d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/src/main.c +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2016 Intel Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include - -/* 1000 msec = 1 sec */ -#define SLEEP_TIME_MS 1000 - -/* The devicetree node identifier for the "led0" alias. */ -#define LED0_NODE DT_ALIAS(led0) - -#if DT_NODE_HAS_STATUS(LED0_NODE, okay) -#define LED0 DT_GPIO_LABEL(LED0_NODE, gpios) -#define PIN DT_GPIO_PIN(LED0_NODE, gpios) -#define FLAGS DT_GPIO_FLAGS(LED0_NODE, gpios) -#else -/* A build error here means your board isn't set up to blink an LED. */ -#error "Unsupported board: led0 devicetree alias is not defined" -#define LED0 "" -#define PIN 0 -#define FLAGS 0 -#endif - -void main(void) -{ - const struct device *dev; - bool led_is_on = true; - int ret; - - dev = device_get_binding(LED0); - if (dev == NULL) { - return; - } - - ret = gpio_pin_configure(dev, PIN, GPIO_OUTPUT_ACTIVE | FLAGS); - if (ret < 0) { - return; - } - - while (1) { - gpio_pin_set(dev, PIN, (int)led_is_on); - led_is_on = !led_is_on; - k_msleep(SLEEP_TIME_MS); - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/zephyr/CMakeLists.txt b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/zephyr/CMakeLists.txt deleted file mode 100644 index dce86233..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/zephyr/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -cmake_minimum_required(VERSION 3.13.1) -include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) -project(blinky) - -target_sources(app PRIVATE ../src/main.c) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/zephyr/prj.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/zephyr/prj.conf deleted file mode 100644 index 7bbd5afc..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-blink/zephyr/prj.conf +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_GPIO=y -CONFIG_SERIAL=n diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/.gitignore deleted file mode 100644 index aeaebb2b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/README.md deleted file mode 100644 index 9b11b530..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/README.md +++ /dev/null @@ -1,21 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/zephyr-net-echo-client - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/platformio.ini deleted file mode 100644 index 9518c2a0..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/platformio.ini +++ /dev/null @@ -1,16 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nrf52840_dk] -platform = nordicnrf52 -framework = zephyr -board = nrf52840_dk -build_type = debug -board_build.embed_files = - src/echo-apps-cert.der \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/ca_certificate.h b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/ca_certificate.h deleted file mode 100644 index c2c5a688..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/ca_certificate.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2018 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifndef __CA_CERTIFICATE_H__ -#define __CA_CERTIFICATE_H__ - -#define CA_CERTIFICATE_TAG 1 -#define PSK_TAG 2 - -#define TLS_PEER_HOSTNAME "localhost" - -/* This is the same cert as what is found in net-tools/echo-apps-cert.pem file - */ -static const unsigned char ca_certificate[] = { -#include "echo-apps-cert.der.inc" -}; - -#if defined(CONFIG_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED) -#include CONFIG_NET_SAMPLE_PSK_HEADER_FILE -#endif - -#endif /* __CA_CERTIFICATE_H__ */ diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/common.h b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/common.h deleted file mode 100644 index 7e2a898d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/common.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (c) 2017 Intel Corporation. - * Copyright (c) 2018 Nordic Semiconductor ASA. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -/* Value of 0 will cause the IP stack to select next free port */ -#define MY_PORT 0 - -#define PEER_PORT 4242 - -#if defined(CONFIG_USERSPACE) -#include -extern struct k_mem_partition app_partition; -extern struct k_mem_domain app_domain; -#define APP_BMEM K_APP_BMEM(app_partition) -#define APP_DMEM K_APP_DMEM(app_partition) -#else -#define APP_BMEM -#define APP_DMEM -#endif - -#if IS_ENABLED(CONFIG_NET_TC_THREAD_PREEMPTIVE) -#define THREAD_PRIORITY K_PRIO_PREEMPT(8) -#else -#define THREAD_PRIORITY K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1) -#endif - -struct data { - const char *proto; - - struct { - int sock; - /* Work controlling udp data sending */ - struct k_work_delayable recv; - struct k_work_delayable transmit; - uint32_t expecting; - uint32_t counter; - uint32_t mtu; - } udp; - - struct { - int sock; - uint32_t expecting; - uint32_t received; - uint32_t counter; - } tcp; -}; - -struct configs { - struct data ipv4; - struct data ipv6; -}; - -#if !defined(CONFIG_NET_CONFIG_PEER_IPV4_ADDR) -#define CONFIG_NET_CONFIG_PEER_IPV4_ADDR "" -#endif - -#if !defined(CONFIG_NET_CONFIG_PEER_IPV6_ADDR) -#define CONFIG_NET_CONFIG_PEER_IPV6_ADDR "" -#endif - -extern const char lorem_ipsum[]; -extern const int ipsum_len; -extern struct configs conf; - -int start_udp(void); -int process_udp(void); -void stop_udp(void); - -int start_tcp(void); -int process_tcp(void); -void stop_tcp(void); - -#if defined(CONFIG_NET_VLAN) -int init_vlan(void); -#else -static inline int init_vlan(void) -{ - return 0; -} -#endif diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/dummy_psk.h b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/dummy_psk.h deleted file mode 100644 index e6710726..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/dummy_psk.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2019 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifndef __DUMMY_PSK_H__ -#define __DUMMY_PSK_H__ - -static const unsigned char psk[] = {0x01, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, -0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f}; -static const char psk_id[] = "PSK_identity"; - -#endif /* __DUMMY_PSK_H__ */ diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/echo-apps-cert.der b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/echo-apps-cert.der deleted file mode 100644 index bfcb335e..00000000 Binary files a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/echo-apps-cert.der and /dev/null differ diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/echo-client.c b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/echo-client.c deleted file mode 100644 index 44b6640d..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/echo-client.c +++ /dev/null @@ -1,330 +0,0 @@ -/* echo-client.c - Networking echo client */ - -/* - * Copyright (c) 2017 Intel Corporation. - * Copyright (c) 2018 Nordic Semiconductor ASA. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -/* - * The echo-client application is acting as a client that is run in Zephyr OS, - * and echo-server is run in the host acting as a server. The client will send - * either unicast or multicast packets to the server which will reply the packet - * back to the originator. - * - * In this sample application we create four threads that start to send data. - * This might not be what you want to do in your app so caveat emptor. - */ - -#include -LOG_MODULE_REGISTER(net_echo_client_sample, LOG_LEVEL_DBG); - -#include -#include -#include - -#include -#include - -#include -#include -#include - -#if defined(CONFIG_USERSPACE) -#include -K_APPMEM_PARTITION_DEFINE(app_partition); -struct k_mem_domain app_domain; -#endif - -#include "common.h" -#include "ca_certificate.h" - -#define APP_BANNER "Run echo client" - -#define INVALID_SOCK (-1) - -#define EVENT_MASK (NET_EVENT_L4_CONNECTED | \ - NET_EVENT_L4_DISCONNECTED) - -/* Generated by http://www.lipsum.com/ - * 2 paragraphs, 179 words, 1160 bytes of Lorem Ipsum - */ -const char lorem_ipsum[] = - "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque " - "sodales lorem lorem, sed congue enim vehicula a. Sed finibus diam sed " - "odio ultrices pharetra. Nullam dictum arcu ultricies turpis congue, " - "vel venenatis turpis venenatis. Nam tempus arcu eros, ac congue libero " - "tristique congue. Proin velit lectus, euismod sit amet quam in, " - "maximus condimentum urna. Cras vel erat luctus, mattis orci ut, varius " - "urna. Nam eu lobortis velit." - "\n" - "Nullam sit amet diam vel odio sodales cursus vehicula eu arcu. Proin " - "fringilla, enim nec consectetur mollis, lorem orci interdum nisi, " - "vitae suscipit nisi mauris eu mi. Proin diam enim, mollis ac rhoncus " - "vitae, placerat et eros. Suspendisse convallis, ipsum nec rhoncus " - "aliquam, ex augue ultrices nisl, id aliquet mi diam quis ante. " - "Pellentesque venenatis ornare ultrices. Quisque et porttitor lectus. " - "Ut venenatis nunc et urna imperdiet porttitor non laoreet massa. Donec " - "eleifend eros in mi sagittis egestas. Sed et mi nunc. Nunc vulputate, " - "mauris non ullamcorper viverra, lorem nulla vulputate diam, et congue " - "dui velit non erat. Duis interdum leo et ipsum tempor consequat. In " - "faucibus enim quis purus vulputate nullam." - "\n"; - -const int ipsum_len = sizeof(lorem_ipsum) - 1; - -APP_DMEM struct configs conf = { - .ipv4 = { - .proto = "IPv4", - .udp.sock = INVALID_SOCK, - .tcp.sock = INVALID_SOCK, - }, - .ipv6 = { - .proto = "IPv6", - .udp.sock = INVALID_SOCK, - .tcp.sock = INVALID_SOCK, - }, -}; - -static APP_BMEM struct pollfd fds[4]; -static APP_BMEM int nfds; - -static APP_BMEM bool connected; -K_SEM_DEFINE(run_app, 0, 1); - -static struct net_mgmt_event_callback mgmt_cb; - -static void prepare_fds(void) -{ - if (conf.ipv4.udp.sock >= 0) { - fds[nfds].fd = conf.ipv4.udp.sock; - fds[nfds].events = POLLIN; - nfds++; - } - - if (conf.ipv4.tcp.sock >= 0) { - fds[nfds].fd = conf.ipv4.tcp.sock; - fds[nfds].events = POLLIN; - nfds++; - } - - if (conf.ipv6.udp.sock >= 0) { - fds[nfds].fd = conf.ipv6.udp.sock; - fds[nfds].events = POLLIN; - nfds++; - } - - if (conf.ipv6.tcp.sock >= 0) { - fds[nfds].fd = conf.ipv6.tcp.sock; - fds[nfds].events = POLLIN; - nfds++; - } -} - -static void wait(void) -{ - /* Wait for event on any socket used. Once event occurs, - * we'll check them all. - */ - if (poll(fds, nfds, -1) < 0) { - LOG_ERR("Error in poll:%d", errno); - } -} - -static int start_udp_and_tcp(void) -{ - int ret; - - LOG_INF("Starting..."); - - if (IS_ENABLED(CONFIG_NET_TCP)) { - ret = start_tcp(); - if (ret < 0) { - return ret; - } - } - - if (IS_ENABLED(CONFIG_NET_UDP)) { - ret = start_udp(); - if (ret < 0) { - return ret; - } - } - - prepare_fds(); - - return 0; -} - -static int run_udp_and_tcp(void) -{ - int ret; - - wait(); - - if (IS_ENABLED(CONFIG_NET_TCP)) { - ret = process_tcp(); - if (ret < 0) { - return ret; - } - } - - if (IS_ENABLED(CONFIG_NET_UDP)) { - ret = process_udp(); - if (ret < 0) { - return ret; - } - } - - return 0; -} - -static void stop_udp_and_tcp(void) -{ - LOG_INF("Stopping..."); - - if (IS_ENABLED(CONFIG_NET_UDP)) { - stop_udp(); - } - - if (IS_ENABLED(CONFIG_NET_TCP)) { - stop_tcp(); - } -} - -static void event_handler(struct net_mgmt_event_callback *cb, - uint32_t mgmt_event, struct net_if *iface) -{ - if ((mgmt_event & EVENT_MASK) != mgmt_event) { - return; - } - - if (mgmt_event == NET_EVENT_L4_CONNECTED) { - LOG_INF("Network connected"); - - connected = true; - conf.ipv4.udp.mtu = net_if_get_mtu(iface); - conf.ipv6.udp.mtu = conf.ipv4.udp.mtu; - k_sem_give(&run_app); - - return; - } - - if (mgmt_event == NET_EVENT_L4_DISCONNECTED) { - LOG_INF("Network disconnected"); - - connected = false; - k_sem_reset(&run_app); - - return; - } -} - -static void init_app(void) -{ - LOG_INF(APP_BANNER); - -#if defined(CONFIG_USERSPACE) - struct k_mem_partition *parts[] = { -#if Z_LIBC_PARTITION_EXISTS - &z_libc_partition, -#endif - &app_partition - }; - - k_mem_domain_init(&app_domain, ARRAY_SIZE(parts), parts); -#endif - -#if defined(CONFIG_NET_SOCKETS_SOCKOPT_TLS) - int err = tls_credential_add(CA_CERTIFICATE_TAG, - TLS_CREDENTIAL_CA_CERTIFICATE, - ca_certificate, - sizeof(ca_certificate)); - if (err < 0) { - LOG_ERR("Failed to register public certificate: %d", err); - } -#endif - -#if defined(CONFIG_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED) - err = tls_credential_add(PSK_TAG, - TLS_CREDENTIAL_PSK, - psk, - sizeof(psk)); - if (err < 0) { - LOG_ERR("Failed to register PSK: %d", err); - } - err = tls_credential_add(PSK_TAG, - TLS_CREDENTIAL_PSK_ID, - psk_id, - sizeof(psk_id) - 1); - if (err < 0) { - LOG_ERR("Failed to register PSK ID: %d", err); - } -#endif - - if (IS_ENABLED(CONFIG_NET_CONNECTION_MANAGER)) { - net_mgmt_init_event_callback(&mgmt_cb, - event_handler, EVENT_MASK); - net_mgmt_add_event_callback(&mgmt_cb); - - net_conn_mgr_resend_status(); - } - - init_vlan(); -} - -static int start_client(void) -{ - int iterations = CONFIG_NET_SAMPLE_SEND_ITERATIONS; - int i = 0; - int ret; - - while (iterations == 0 || i < iterations) { - /* Wait for the connection. */ - k_sem_take(&run_app, K_FOREVER); - - ret = start_udp_and_tcp(); - - while (connected && (ret == 0)) { - ret = run_udp_and_tcp(); - - if (iterations > 0) { - i++; - if (i >= iterations) { - break; - - } - } - } - - stop_udp_and_tcp(); - } - - return ret; -} - -void main(void) -{ - init_app(); - - if (!IS_ENABLED(CONFIG_NET_CONNECTION_MANAGER)) { - /* If the config library has not been configured to start the - * app only after we have a connection, then we can start - * it right away. - */ - k_sem_give(&run_app); - } - - k_thread_priority_set(k_current_get(), THREAD_PRIORITY); - -#if defined(CONFIG_USERSPACE) - k_thread_access_grant(k_current_get(), &run_app); - k_mem_domain_add_thread(&app_domain, k_current_get()); - - k_thread_user_mode_enter((k_thread_entry_t)start_client, NULL, NULL, - NULL); -#else - exit(start_client()); -#endif -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/udp.c b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/udp.c deleted file mode 100644 index e7ad7f3f..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/src/udp.c +++ /dev/null @@ -1,270 +0,0 @@ -/* udp.c - UDP specific code for echo client */ - -/* - * Copyright (c) 2017 Intel Corporation. - * Copyright (c) 2018 Nordic Semiconductor ASA. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -LOG_MODULE_DECLARE(net_echo_client_sample, LOG_LEVEL_DBG); - -#include -#include -#include - -#include -#include -#include - -#include "common.h" -#include "ca_certificate.h" - -#define RECV_BUF_SIZE 1280 -#define UDP_SLEEP K_MSEC(150) -#define UDP_WAIT K_SECONDS(10) - -static APP_BMEM char recv_buf[RECV_BUF_SIZE]; - -static int send_udp_data(struct data *data) -{ - int ret; - - do { - data->udp.expecting = sys_rand32_get() % ipsum_len; - } while (data->udp.expecting == 0U || - data->udp.expecting > data->udp.mtu); - - ret = send(data->udp.sock, lorem_ipsum, data->udp.expecting, 0); - - LOG_DBG("%s UDP: Sent %d bytes", data->proto, data->udp.expecting); - - k_work_reschedule(&data->udp.recv, UDP_WAIT); - - return ret < 0 ? -EIO : 0; -} - -static int compare_udp_data(struct data *data, const char *buf, uint32_t received) -{ - if (received != data->udp.expecting) { - LOG_ERR("Invalid amount of data received: UDP %s", data->proto); - return -EIO; - } - - if (memcmp(buf, lorem_ipsum, received) != 0) { - LOG_ERR("Invalid data received: UDP %s", data->proto); - return -EIO; - } - - return 0; -} - -static void wait_reply(struct k_work *work) -{ - /* This means that we did not receive response in time. */ - struct data *data = CONTAINER_OF(work, struct data, udp.recv); - - LOG_ERR("UDP %s: Data packet not received", data->proto); - - /* Send a new packet at this point */ - send_udp_data(data); -} - -static void wait_transmit(struct k_work *work) -{ - struct data *data = CONTAINER_OF(work, struct data, udp.transmit); - - send_udp_data(data); -} - -static int start_udp_proto(struct data *data, struct sockaddr *addr, - socklen_t addrlen) -{ - int ret; - - k_work_init_delayable(&data->udp.recv, wait_reply); - k_work_init_delayable(&data->udp.transmit, wait_transmit); - -#if defined(CONFIG_NET_SOCKETS_SOCKOPT_TLS) - data->udp.sock = socket(addr->sa_family, SOCK_DGRAM, IPPROTO_DTLS_1_2); -#else - data->udp.sock = socket(addr->sa_family, SOCK_DGRAM, IPPROTO_UDP); -#endif - if (data->udp.sock < 0) { - LOG_ERR("Failed to create UDP socket (%s): %d", data->proto, - errno); - return -errno; - } - -#if defined(CONFIG_NET_SOCKETS_SOCKOPT_TLS) - sec_tag_t sec_tag_list[] = { - CA_CERTIFICATE_TAG, -#if defined(CONFIG_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED) - PSK_TAG, -#endif - }; - - ret = setsockopt(data->udp.sock, SOL_TLS, TLS_SEC_TAG_LIST, - sec_tag_list, sizeof(sec_tag_list)); - if (ret < 0) { - LOG_ERR("Failed to set TLS_SEC_TAG_LIST option (%s): %d", - data->proto, errno); - ret = -errno; - } - - ret = setsockopt(data->udp.sock, SOL_TLS, TLS_HOSTNAME, - TLS_PEER_HOSTNAME, sizeof(TLS_PEER_HOSTNAME)); - if (ret < 0) { - LOG_ERR("Failed to set TLS_HOSTNAME option (%s): %d", - data->proto, errno); - ret = -errno; - } -#endif - - /* Call connect so we can use send and recv. */ - ret = connect(data->udp.sock, addr, addrlen); - if (ret < 0) { - LOG_ERR("Cannot connect to UDP remote (%s): %d", data->proto, - errno); - ret = -errno; - } - - return ret; -} - -static int process_udp_proto(struct data *data) -{ - int ret, received; - - received = recv(data->udp.sock, recv_buf, sizeof(recv_buf), - MSG_DONTWAIT); - - if (received == 0) { - return -EIO; - } - if (received < 0) { - if (errno == EAGAIN || errno == EWOULDBLOCK) { - ret = 0; - } else { - ret = -errno; - } - return ret; - } - - ret = compare_udp_data(data, recv_buf, received); - if (ret != 0) { - LOG_WRN("%s UDP: Received and compared %d bytes, data " - "mismatch", data->proto, received); - return 0; - } - - /* Correct response received */ - LOG_DBG("%s UDP: Received and compared %d bytes, all ok", - data->proto, received); - - if (++data->udp.counter % 1000 == 0U) { - LOG_INF("%s UDP: Exchanged %u packets", data->proto, - data->udp.counter); - } - - k_work_cancel_delayable(&data->udp.recv); - - /* Do not flood the link if we have also TCP configured */ - if (IS_ENABLED(CONFIG_NET_TCP)) { - k_work_reschedule(&data->udp.transmit, UDP_SLEEP); - ret = 0; - } else { - ret = send_udp_data(data); - } - - return ret; -} - -int start_udp(void) -{ - int ret = 0; - struct sockaddr_in addr4; - struct sockaddr_in6 addr6; - - if (IS_ENABLED(CONFIG_NET_IPV6)) { - addr6.sin6_family = AF_INET6; - addr6.sin6_port = htons(PEER_PORT); - inet_pton(AF_INET6, CONFIG_NET_CONFIG_PEER_IPV6_ADDR, - &addr6.sin6_addr); - - ret = start_udp_proto(&conf.ipv6, (struct sockaddr *)&addr6, - sizeof(addr6)); - if (ret < 0) { - return ret; - } - } - - if (IS_ENABLED(CONFIG_NET_IPV4)) { - addr4.sin_family = AF_INET; - addr4.sin_port = htons(PEER_PORT); - inet_pton(AF_INET, CONFIG_NET_CONFIG_PEER_IPV4_ADDR, - &addr4.sin_addr); - - ret = start_udp_proto(&conf.ipv4, (struct sockaddr *)&addr4, - sizeof(addr4)); - if (ret < 0) { - return ret; - } - } - - if (IS_ENABLED(CONFIG_NET_IPV6)) { - ret = send_udp_data(&conf.ipv6); - if (ret < 0) { - return ret; - } - } - - if (IS_ENABLED(CONFIG_NET_IPV4)) { - ret = send_udp_data(&conf.ipv4); - } - - return ret; -} - -int process_udp(void) -{ - int ret = 0; - - if (IS_ENABLED(CONFIG_NET_IPV6)) { - ret = process_udp_proto(&conf.ipv6); - if (ret < 0) { - return ret; - } - } - - if (IS_ENABLED(CONFIG_NET_IPV4)) { - ret = process_udp_proto(&conf.ipv4); - if (ret < 0) { - return ret; - } - } - - return ret; -} - -void stop_udp(void) -{ - if (IS_ENABLED(CONFIG_NET_IPV6)) { - k_work_cancel_delayable(&conf.ipv6.udp.recv); - k_work_cancel_delayable(&conf.ipv6.udp.transmit); - - if (conf.ipv6.udp.sock >= 0) { - (void)close(conf.ipv6.udp.sock); - } - } - - if (IS_ENABLED(CONFIG_NET_IPV4)) { - k_work_cancel_delayable(&conf.ipv4.udp.recv); - k_work_cancel_delayable(&conf.ipv4.udp.transmit); - - if (conf.ipv4.udp.sock >= 0) { - (void)close(conf.ipv4.udp.sock); - } - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/CMakeLists.txt b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/CMakeLists.txt deleted file mode 100644 index 5fbc6c35..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/CMakeLists.txt +++ /dev/null @@ -1,35 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -cmake_minimum_required(VERSION 3.13.1) - -set (CONF_FILE "prj.conf overlay-ot.conf") - -include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) -project(sockets_echo_client) - -if(CONFIG_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED AND - (CONFIG_NET_SAMPLE_PSK_HEADER_FILE STREQUAL "dummy_psk.h")) - add_custom_target(development_psk - COMMAND ${CMAKE_COMMAND} -E echo "----------------------------------------------------------" - COMMAND ${CMAKE_COMMAND} -E echo "--- WARNING: Using dummy PSK! Only suitable for ---" - COMMAND ${CMAKE_COMMAND} -E echo "--- development. Set NET_SAMPLE_PSK_HEADER_FILE to use ---" - COMMAND ${CMAKE_COMMAND} -E echo "--- own pre-shared key. ---" - COMMAND ${CMAKE_COMMAND} -E echo "----------------------------------------------------------" - ) - add_dependencies(app development_psk) -endif() - -target_sources( app PRIVATE ../src/echo-client.c) -target_sources_ifdef(CONFIG_NET_UDP app PRIVATE ../src/udp.c) -target_sources_ifdef(CONFIG_NET_TCP app PRIVATE ../src/tcp.c) -target_sources_ifdef(CONFIG_NET_VLAN app PRIVATE ../src/vlan.c) - -include($ENV{ZEPHYR_BASE}/samples/net/common/common.cmake) - -set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/) - -generate_inc_file_for_target( - app - ../src/echo-apps-cert.der - ${gen_dir}/echo-apps-cert.der.inc - ) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/Kconfig b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/Kconfig deleted file mode 100644 index 851189b1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/Kconfig +++ /dev/null @@ -1,61 +0,0 @@ -# Private config options for echo-client sample app - -# Copyright (c) 2018 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -mainmenu "Networking echo-client sample application" - -config NET_SAMPLE_IFACE2_MY_IPV6_ADDR - string "My IPv6 address for second interface" - help - The value depends on your network setup. - -config NET_SAMPLE_IFACE2_MY_IPV4_ADDR - string "My IPv4 address for second interface" - help - The value depends on your network setup. - -config NET_SAMPLE_IFACE2_VLAN_TAG - int "VLAN tag for second interface" - default 100 - range 0 4094 - depends on NET_VLAN - help - Set VLAN (virtual LAN) tag (id) that is used in the sample - application. - -config NET_SAMPLE_IFACE3_MY_IPV6_ADDR - string "My IPv6 address for third interface" - help - The value depends on your network setup. - -config NET_SAMPLE_IFACE3_MY_IPV4_ADDR - string "My IPv4 address for third interface" - help - The value depends on your network setup. - -config NET_SAMPLE_IFACE3_VLAN_TAG - int "VLAN tag for third interface" - default 200 - range 0 4094 - depends on NET_VLAN - help - Set VLAN (virtual LAN) tag (id) that is used in the sample - application. - -config NET_SAMPLE_PSK_HEADER_FILE - string "Header file containing PSK" - default "dummy_psk.h" - depends on MBEDTLS_KEY_EXCHANGE_PSK_ENABLED - help - Name of a header file containing a - pre-shared key. - -config NET_SAMPLE_SEND_ITERATIONS - int "Send sample data this many times" - default 0 - help - Send sample data this many times before exiting. A value of - zero means that the sample application is run forever. - -source "Kconfig.zephyr" diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/README.md deleted file mode 100644 index 014c75be..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/README.md +++ /dev/null @@ -1,184 +0,0 @@ -.. _sockets-echo-client-sample: - -Socket Echo Client -################## - -Overview -******** - -The echo-client sample application for Zephyr implements a UDP/TCP client -that will send IPv4 or IPv6 packets, wait for the data to be sent back, -and then verify it matches the data that was sent. - -The source code for this sample application can be found at: -:zephyr_file:`samples/net/sockets/echo_client`. - -Requirements -************ - -- :ref:`networking_with_host` - -Building and Running -******************** - -There are multiple ways to use this application. One of the most common -usage scenario is to run echo-client application inside QEMU. This is -described in :ref:`networking_with_qemu`. - -There are configuration files for different boards and setups in the -echo-client directory: - -- :file:`prj.conf` - Generic config file, normally you should use this. - -- :file:`overlay-ot.conf` - This overlay config enables support for OpenThread. - -- :file:`overlay-802154.conf` - This overlay config enables support for native IEEE 802.15.4 connectivity. - Note, that by default IEEE 802.15.4 L2 uses unacknowledged communication. To - improve connection reliability, acknowledgments can be enabled with shell - command: ``ieee802154 ack set``. - -- :file:`overlay-bt.conf` - This overlay config enables support for Bluetooth IPSP connectivity. - -- :file:`overlay-qemu_802154.conf` - This overlay config enables support for two QEMU's when simulating - IEEE 802.15.4 network that are connected together. - -- :file:`overlay-tls.conf` - This overlay config enables support for TLS. - -Build echo-client sample application like this: - -.. zephyr-app-commands:: - :zephyr-app: samples/net/sockets/echo_client - :board: - :conf: - :goals: build - :compact: - -Example building for the nrf52840dk_nrf52840 with OpenThread support: - -.. zephyr-app-commands:: - :zephyr-app: samples/net/sockets/echo_client - :host-os: unix - :board: nrf52840dk_nrf52840 - :conf: "prj.conf overlay-ot.conf" - :goals: run - :compact: - -Example building for the IEEE 802.15.4 RF2XX transceiver: - -.. zephyr-app-commands:: - :zephyr-app: samples/net/sockets/echo_client - :host-os: unix - :board: [atsamr21_xpro | sam4s_xplained | sam_v71_xult] - :gen-args: -DOVERLAY_CONFIG=overlay-802154.conf - :goals: build flash - :compact: - -In a terminal window you can check if communication is happen: - -.. code-block:: console - - $ minicom -D /dev/ttyACM1 - - - -Enabling TLS support -==================== - -Enable TLS support in the sample by building the project with the -``overlay-tls.conf`` overlay file enabled, for example, using these commands: - -.. zephyr-app-commands:: - :zephyr-app: samples/net/sockets/echo_client - :board: qemu_x86 - :conf: "prj.conf overlay-tls.conf" - :goals: build - :compact: - -An alternative way is to specify ``-DOVERLAY_CONFIG=overlay-tls.conf`` when -running ``west build`` or ``cmake``. - -The certificate and private key used by the sample can be found in the sample's -``src`` directory. The default certificates used by Socket Echo Client and -:ref:`sockets-echo-server-sample` enable establishing a secure connection -between the samples. - -SOCKS5 proxy support -==================== - -It is also possible to connect to the echo-server through a SOCKS5 proxy. -To enable it, use ``-DOVERLAY_CONFIG=overlay-socks5.conf`` when running ``west -build`` or ``cmake``. - -By default, to make the testing easier, the proxy is expected to run on the -same host as the echo-server in Linux host. - -To start a proxy server, for example a builtin SOCKS server support in ssh -can be used (-D option). Use the following command to run it on your host -with the default port: - -For IPv4 proxy server: - -.. code-block: console - - $ ssh -N -D 0.0.0.0:1080 localhost - -For IPv6 proxy server: - -.. code-block: console - - $ ssh -N -D [::]:1080 localhost - -Run both commands if you are testing IPv4 and IPv6. - -To connect to a proxy server that is not running under the same IP as the -echo-server or uses a different port number, modify the following values -in echo_client/src/tcp.c. - -.. code-block:: c - - #define SOCKS5_PROXY_V4_ADDR IPV4_ADDR - #define SOCKS5_PROXY_V6_ADDR IPV6_ADDR - #define SOCKS5_PROXY_PORT 1080 - -Running echo-server in Linux Host -================================= - -There is one useful testing scenario that can be used with Linux host. -Here echo-client is run in QEMU and echo-server is run in Linux host. - -To use QEMU for testing, follow the :ref:`networking_with_qemu` guide. - -In a terminal window: - -.. code-block:: console - - $ sudo ./echo-server -i tap0 - -Run echo-client application in QEMU: - -.. zephyr-app-commands:: - :zephyr-app: samples/net/sockets/echo_client - :host-os: unix - :board: qemu_x86 - :conf: "prj.conf overlay-linux.conf" - :goals: run - :compact: - -Note that echo-server must be running in the Linux host terminal window -before you start the echo-client application in QEMU. -Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`. - -You can verify TLS communication with a Linux host as well. See -https://github.com/zephyrproject-rtos/net-tools documentation for information -on how to test TLS with Linux host samples. - -See the :ref:`sockets-echo-server-sample` documentation for an alternate -way of running, with the echo-client on the Linux host and the echo-server -in QEMU. -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/atsamr21_xpro.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/atsamr21_xpro.conf deleted file mode 100644 index 35d0f891..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/atsamr21_xpro.conf +++ /dev/null @@ -1,25 +0,0 @@ -# -# Copyright (c) 2020-2021, Gerson Fernando Budke -# Copyright (c) 2019, Benjamin Valentin -# -# SPDX-License-Identifier: Apache-2.0 -# - -CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="RF2XX_0" - -# Reduced buffers to fit into SAMR21 SoC -CONFIG_CPLUSPLUS=n - -CONFIG_NET_PKT_RX_COUNT=6 -CONFIG_NET_PKT_TX_COUNT=6 -CONFIG_NET_BUF_RX_COUNT=6 -CONFIG_NET_BUF_TX_COUNT=6 -CONFIG_NET_MAX_CONTEXTS=4 -CONFIG_NET_MAX_CONN=1 -CONFIG_NET_MAX_ROUTES=1 -CONFIG_NET_MAX_NEXTHOPS=1 - -CONFIG_SHELL_STACK_SIZE=768 -CONFIG_SHELL_CMD_BUFF_SIZE=64 -CONFIG_SHELL_ARGC_MAX=6 -CONFIG_SHELL_HISTORY_BUFFER=64 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/qemu_cortext_m3.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/qemu_cortext_m3.conf deleted file mode 100644 index d6a12c5e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/qemu_cortext_m3.conf +++ /dev/null @@ -1,7 +0,0 @@ -# The addresses are selected so that qemu<->qemu connectivity works ok. -# For linux<->qemu connectivity, create a new conf file and swap the -# addresses (so that peer address is ending to 2). -CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::2" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::1" -CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.2" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.1" diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/qemu_x86.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/qemu_x86.conf deleted file mode 100644 index d6a12c5e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/boards/qemu_x86.conf +++ /dev/null @@ -1,7 +0,0 @@ -# The addresses are selected so that qemu<->qemu connectivity works ok. -# For linux<->qemu connectivity, create a new conf file and swap the -# addresses (so that peer address is ending to 2). -CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::2" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::1" -CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.2" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.1" diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/docker-test.sh b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/docker-test.sh deleted file mode 100644 index a26deeba..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/docker-test.sh +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2020 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -if [ -z "$RUNNING_FROM_MAIN_SCRIPT" ]; then - echo "Do not run this script directly!" - echo "Run $ZEPHYR_BASE/scripts/net/run-sample-tests.sh instead." - exit 1 -fi - -start_configuration "--ip=192.0.2.1 --ip6=2001:db8::1" || return $? -start_docker "/net-tools/echo-server -i eth0" || return $? - -start_zephyr "$overlay" "-DCONFIG_NET_SAMPLE_SEND_ITERATIONS=10" - -wait_zephyr -result=$? - -stop_docker diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-6locan.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-6locan.conf deleted file mode 100644 index f8ecbab4..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-6locan.conf +++ /dev/null @@ -1,12 +0,0 @@ -CONFIG_CAN=y -CONFIG_CAN_NET=y -CONFIG_CAN_MAX_FILTER=8 -CONFIG_NET_L2_CANBUS=y -CONFIG_NET_L2_CANBUS_BS=8 -CONFIG_NET_L2_CANBUS_STMIN=0 -CONFIG_NET_IPV4=n -CONFIG_NET_IPV6=y -CONFIG_NET_CONFIG_NEED_IPV6=y -CONFIG_NET_CONFIG_NEED_IPV4=n -CONFIG_NET_CONFIG_MY_IPV4_ADDR="" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="" diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-802154-subg.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-802154-subg.conf deleted file mode 100644 index e529a4c8..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-802154-subg.conf +++ /dev/null @@ -1,18 +0,0 @@ -CONFIG_BT=n - -# Disable TCP and IPv4 (TCP disabled to avoid heavy traffic) -CONFIG_NET_TCP=n -CONFIG_NET_IPV4=n - -CONFIG_NET_CONFIG_NEED_IPV6=y -CONFIG_NET_CONFIG_NEED_IPV4=n -CONFIG_NET_CONFIG_MY_IPV4_ADDR="" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="" -CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::2" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::1" - -CONFIG_NET_L2_IEEE802154=y -CONFIG_NET_L2_IEEE802154_SHELL=y -CONFIG_NET_L2_IEEE802154_LOG_LEVEL_INF=y - -CONFIG_NET_CONFIG_IEEE802154_CHANNEL=1 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-802154.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-802154.conf deleted file mode 100644 index 2fc07cf6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-802154.conf +++ /dev/null @@ -1,18 +0,0 @@ -CONFIG_BT=n - -# Disable TCP and IPv4 (TCP disabled to avoid heavy traffic) -CONFIG_NET_TCP=n -CONFIG_NET_IPV4=n - -CONFIG_NET_CONFIG_NEED_IPV6=y -CONFIG_NET_CONFIG_NEED_IPV4=n -CONFIG_NET_CONFIG_MY_IPV4_ADDR="" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="" -CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::2" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::1" - -CONFIG_NET_L2_IEEE802154=y -CONFIG_NET_L2_IEEE802154_SHELL=y -CONFIG_NET_L2_IEEE802154_LOG_LEVEL_INF=y - -CONFIG_NET_CONFIG_IEEE802154_CHANNEL=26 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-bt.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-bt.conf deleted file mode 100644 index c7fb54cc..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-bt.conf +++ /dev/null @@ -1,16 +0,0 @@ -CONFIG_BT=y -CONFIG_BT_DEBUG_LOG=y -CONFIG_BT_SMP=y -CONFIG_BT_PERIPHERAL=y -CONFIG_BT_CENTRAL=y -CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y -CONFIG_BT_DEVICE_NAME="Zephyr Echo Client" -CONFIG_NET_L2_BT=y -CONFIG_NET_IPV4=n -CONFIG_NET_IPV6=y -CONFIG_NET_CONFIG_BT_NODE=y -CONFIG_NET_CONFIG_NEED_IPV6=y -CONFIG_NET_CONFIG_NEED_IPV4=n -CONFIG_NET_CONFIG_MY_IPV4_ADDR="" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="" -CONFIG_NET_BUF_RX_COUNT=64 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-cc2520.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-cc2520.conf deleted file mode 100644 index 647341b0..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-cc2520.conf +++ /dev/null @@ -1,10 +0,0 @@ -CONFIG_NET_L2_IEEE802154=y - -CONFIG_IEEE802154_CC2520=y - -CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="cc2520" - -CONFIG_NET_IPV4=n -CONFIG_NET_CONFIG_NEED_IPV4=n -CONFIG_NET_CONFIG_MY_IPV4_ADDR="" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="" diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-debug.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-debug.conf deleted file mode 100644 index 40934ab4..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-debug.conf +++ /dev/null @@ -1,7 +0,0 @@ -CONFIG_NO_OPTIMIZATIONS=y -CONFIG_DEBUG=y - -CONFIG_ASSERT=y - -CONFIG_STACK_SENTINEL=y -CONFIG_STACK_CANARIES=y diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-e1000.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-e1000.conf deleted file mode 100644 index 7a477963..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-e1000.conf +++ /dev/null @@ -1,5 +0,0 @@ -CONFIG_PCIE=y -CONFIG_ETH_E1000=y - -CONFIG_NET_L2_ETHERNET=y -CONFIG_NET_QEMU_ETHERNET=y diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-linux.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-linux.conf deleted file mode 100644 index 4d7f613c..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-linux.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Include this overlay when the echo-server is running on Linux and -# echo-client is running on Qemu. -CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2" -CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2" diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-log.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-log.conf deleted file mode 100644 index 1f70b79a..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-log.conf +++ /dev/null @@ -1,27 +0,0 @@ -CONFIG_LOG=y -CONFIG_LOG_MODE_IMMEDIATE=y -CONFIG_LOG_BACKEND_SHOW_COLOR=n - -CONFIG_LOG_BUFFER_SIZE=1024 -CONFIG_LOG_STRDUP_BUF_COUNT=2048 - -CONFIG_NET_LOG=y - -CONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y -CONFIG_NET_CONN_LOG_LEVEL_DBG=y -CONFIG_NET_CONTEXT_LOG_LEVEL_DBG=y - -CONFIG_NET_TCP_LOG_LEVEL_DBG=y - -#CONFIG_NET_IF_LOG_LEVEL_DBG=y -#CONFIG_NET_L2_ETHERNET_LOG_LEVEL_DBG=y - -#CONFIG_SLIP_LOG_LEVEL_DBG=y - -#CONFIG_ETHERNET_LOG_LEVEL_DBG=y -#CONFIG_ETH_E1000_VERBOSE_DEBUG=y - -#CONFIG_NET_PKT_LOG_LEVEL_DBG=y - -#CONFIG_NET_BUF_LOG=y -#CONFIG_NET_BUF_LOG_LEVEL_DBG=y diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-max-stacks.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-max-stacks.conf deleted file mode 100644 index 89386a16..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-max-stacks.conf +++ /dev/null @@ -1,11 +0,0 @@ -CONFIG_NET_MGMT_EVENT_STACK_SIZE=65535 -CONFIG_PRIVILEGED_STACK_SIZE=65535 -CONFIG_NET_TX_STACK_SIZE=65535 -CONFIG_NET_RX_STACK_SIZE=65535 -CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=65535 -CONFIG_MAIN_STACK_SIZE=65535 -CONFIG_IDLE_STACK_SIZE=65535 -CONFIG_ISR_STACK_SIZE=65535 -CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=65535 -CONFIG_NET_CONNECTION_MANAGER_STACK_SIZE=65535 -CONFIG_SHELL_STACK_SIZE=65535 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-ot.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-ot.conf deleted file mode 100644 index 6138ff09..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-ot.conf +++ /dev/null @@ -1,40 +0,0 @@ -CONFIG_NEWLIB_LIBC=y - -# Disable TCP and IPv4 (TCP disabled to avoid heavy traffic) -CONFIG_NET_TCP=n -CONFIG_NET_IPV4=n - -CONFIG_NET_IPV6_NBR_CACHE=n -CONFIG_NET_IPV6_MLD=n -CONFIG_NET_CONFIG_NEED_IPV4=n -CONFIG_NET_CONFIG_MY_IPV4_ADDR="" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="" - -CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 - -# Enable OpenThread shell -CONFIG_SHELL=y -CONFIG_OPENTHREAD_SHELL=y -CONFIG_SHELL_STACK_SIZE=3072 - -CONFIG_NET_L2_OPENTHREAD=y - -CONFIG_OPENTHREAD_DEBUG=y -CONFIG_OPENTHREAD_L2_DEBUG=y -CONFIG_OPENTHREAD_L2_LOG_LEVEL_INF=y - -CONFIG_OPENTHREAD_CHANNEL=26 -CONFIG_OPENTHREAD_NETWORKKEY="00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff" - -CONFIG_NET_CONFIG_MY_IPV6_ADDR="fdde:ad00:beef::1" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="fdde:ad00:beef::2" - -# mbedTLS tweaks -CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=768 - -# A sample configuration to enable Thread Joiner, uncomment if needed -#CONFIG_OPENTHREAD_JOINER=y -#CONFIG_OPENTHREAD_JOINER_AUTOSTART=y - -# Enable diagnostic module, uncomment if needed -#CONFIG_OPENTHREAD_DIAG=y diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-qemu_802154.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-qemu_802154.conf deleted file mode 100644 index 2d336394..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-qemu_802154.conf +++ /dev/null @@ -1,22 +0,0 @@ -CONFIG_BT=n - -# Disable TCP and IPv4 (TCP disabled to avoid heavy traffic) -CONFIG_NET_TCP=n -CONFIG_NET_IPV4=n - -# Disabling Ethernet -CONFIG_NET_SLIP_TAP=n -# Enable UART PIPE 802.15.4 driver -CONFIG_IEEE802154_UPIPE=y -CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="IEEE802154_UPIPE" - -CONFIG_NET_CONFIG_NEED_IPV6=y -CONFIG_NET_CONFIG_NEED_IPV4=n -CONFIG_NET_CONFIG_MY_IPV4_ADDR="" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="" - -CONFIG_NET_L2_IEEE802154=y -CONFIG_NET_L2_IEEE802154_SHELL=y -CONFIG_NET_L2_IEEE802154_LOG_LEVEL_INF=y - -CONFIG_NET_CONFIG_IEEE802154_CHANNEL=26 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-qemu_cortex_m3_eth.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-qemu_cortex_m3_eth.conf deleted file mode 100644 index cd86bb2c..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-qemu_cortex_m3_eth.conf +++ /dev/null @@ -1,11 +0,0 @@ -# Select Stellaris Ethernet -CONFIG_NET_SLIP_TAP=n -CONFIG_SLIP=n -CONFIG_NET_L2_ETHERNET=y -CONFIG_ETH_STELLARIS=y - -# Network Application Options -CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::2" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::1" -CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.2" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.1" diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-socks5.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-socks5.conf deleted file mode 100644 index 807940e9..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-socks5.conf +++ /dev/null @@ -1 +0,0 @@ -CONFIG_SOCKS=y diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-tls.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-tls.conf deleted file mode 100644 index 8235291c..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-tls.conf +++ /dev/null @@ -1,15 +0,0 @@ -CONFIG_MAIN_STACK_SIZE=4096 -CONFIG_NET_BUF_RX_COUNT=100 -CONFIG_NET_BUF_TX_COUNT=100 - -# TLS configuration -CONFIG_MBEDTLS=y -CONFIG_MBEDTLS_BUILTIN=y -CONFIG_MBEDTLS_ENABLE_HEAP=y -CONFIG_MBEDTLS_HEAP_SIZE=60000 -CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048 - -CONFIG_NET_SOCKETS_SOCKOPT_TLS=y -CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=4 -CONFIG_NET_SOCKETS_ENABLE_DTLS=y -CONFIG_POSIX_MAX_FDS=8 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-vlan.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-vlan.conf deleted file mode 100644 index 40304ff0..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/overlay-vlan.conf +++ /dev/null @@ -1,27 +0,0 @@ -CONFIG_NET_VLAN=y - -# We have one non-vlan interface and two VLAN interfaces -CONFIG_NET_VLAN_COUNT=3 - -# There will be three network interfaces. Note that the addresses are -# selected so that our address ends to .1 and the peer one to .2 - -# First ethernet interface will use these settings -CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2" -CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2" - -# Second ethernet interface will have these settings -CONFIG_NET_SAMPLE_IFACE2_MY_IPV6_ADDR="2001:db8:100::1" -# TEST-NET-2 from RFC 5737 -CONFIG_NET_SAMPLE_IFACE2_MY_IPV4_ADDR="198.51.100.1" -# VLAN tag for the second interface -CONFIG_NET_SAMPLE_IFACE2_VLAN_TAG=100 - -# Settings for the third network interface -CONFIG_NET_SAMPLE_IFACE3_MY_IPV6_ADDR="2001:db8:200::1" -# TEST-NET-3 from RFC 5737 -CONFIG_NET_SAMPLE_IFACE3_MY_IPV4_ADDR="203.0.113.1" -# VLAN tag for the second interface -CONFIG_NET_SAMPLE_IFACE3_VLAN_TAG=200 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/prj.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/prj.conf deleted file mode 100644 index a6cace9c..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/prj.conf +++ /dev/null @@ -1,49 +0,0 @@ -# Generic networking options -CONFIG_NETWORKING=y -CONFIG_NET_UDP=y -CONFIG_NET_TCP=y -CONFIG_NET_IPV6=y -CONFIG_NET_IPV4=y -CONFIG_NET_SOCKETS=y -CONFIG_NET_SOCKETS_POSIX_NAMES=y -CONFIG_NET_SOCKETS_POLL_MAX=4 -CONFIG_NET_CONNECTION_MANAGER=y - -# Kernel options -CONFIG_MAIN_STACK_SIZE=2048 -CONFIG_ENTROPY_GENERATOR=y -CONFIG_TEST_RANDOM_GENERATOR=y -CONFIG_INIT_STACKS=y - -# Logging -CONFIG_NET_LOG=y -CONFIG_LOG=y -CONFIG_NET_STATISTICS=y -CONFIG_PRINTK=y - -# Network buffers -CONFIG_NET_PKT_RX_COUNT=16 -CONFIG_NET_PKT_TX_COUNT=16 -CONFIG_NET_BUF_RX_COUNT=80 -CONFIG_NET_BUF_TX_COUNT=80 -CONFIG_NET_CONTEXT_NET_PKT_POOL=y - -# IP address options -CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3 -CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4 -CONFIG_NET_MAX_CONTEXTS=10 - -# Network shell -CONFIG_NET_SHELL=y - -# The addresses are selected so that qemu<->qemu connectivity works ok. -# For linux<->qemu connectivity, create a new conf file and swap the -# addresses (so that peer address is ending to 2). -CONFIG_NET_CONFIG_SETTINGS=y -CONFIG_NET_CONFIG_NEED_IPV6=y -CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::2" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::1" -CONFIG_NET_CONFIG_NEED_IPV4=y -CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.2" -CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.1" -CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/sample.yaml b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/sample.yaml deleted file mode 100644 index dbe392b8..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-net-echo-client/zephyr/sample.yaml +++ /dev/null @@ -1,59 +0,0 @@ -common: - harness: net - tags: net socket - depends_on: netif - min_flash: 140 -sample: - description: Test network sockets using a client/server - sample - name: Socket Echo Client -tests: - sample.net.sockets.echo_client: - platform_allow: qemu_x86 frdm_k64f sam_e70_xplained - qemu_cortex_m3 frdm_kw41z - sample.net.sockets.echo_client.802154: - extra_args: OVERLAY_CONFIG="overlay-qemu_802154.conf" - platform_allow: qemu_x86 - sample.net.sockets.echo_server.802154.rf2xx: - extra_args: OVERLAY_CONFIG="overlay-802154.conf" - platform_allow: atsamr21_xpro - sample.net.sockets.echo_server.802154.rf2xx.xplained: - extra_args: SHIELD=atmel_rf2xx_xplained OVERLAY_CONFIG="overlay-802154.conf" - platform_allow: sam4s_xplained - sample.net.sockets.echo_server.802154.rf2xx.xpro: - extra_args: SHIELD=atmel_rf2xx_xpro OVERLAY_CONFIG="overlay-802154.conf" - platform_allow: sam4e_xpro sam_v71_xult - sample.net.sockets.echo_server.802154.rf2xx.legacy: - extra_args: SHIELD=atmel_rf2xx_legacy OVERLAY_CONFIG="overlay-802154.conf" - platform_allow: sam4e_xpro sam_v71_xult - sample.net.sockets.echo_server.802154.rf2xx.arduino: - extra_args: SHIELD=atmel_rf2xx_arduino OVERLAY_CONFIG="overlay-802154.conf" - platform_allow: sam_v71_xult frdm_k64f nucleo_f767zi - sample.net.sockets.echo_server.802154.rf2xx.mikrobus: - extra_args: SHIELD=atmel_rf2xx_mikrobus OVERLAY_CONFIG="overlay-802154.conf" - platform_allow: lpcxpresso55s69_ns - sample.net.sockets.echo_client.bt: - extra_args: OVERLAY_CONFIG="overlay-bt.conf" - platform_allow: qemu_x86 - tags: bluetooth - sample.net.sockets.echo_client.mcr20a: - extra_args: SHIELD=frdm_cr20a OVERLAY_CONFIG=overlay-802154.conf - platform_allow: frdm_k64f - sample.net.sockets.echo_client.nrf_802154: - extra_args: OVERLAY_CONFIG="overlay-802154.conf" - platform_allow: nrf52840dk_nrf52840 - sample.net.sockets.echo_client.nrf_openthread: - extra_args: OVERLAY_CONFIG="overlay-ot.conf" - slow: true - tags: net openthread - platform_allow: nrf52840dk_nrf52840 - filter: TOOLCHAIN_HAS_NEWLIB == 1 - sample.net.sockets.echo_client.kw41z_openthread: - extra_args: OVERLAY_CONFIG="overlay-ot.conf" - slow: true - tags: net openthread - platform_allow: frdm_kw41z - filter: TOOLCHAIN_HAS_NEWLIB == 1 - sample.net.sockets.echo_client.userspace: - extra_args: CONFIG_USERSPACE=y OVERLAY_CONFIG="overlay-e1000.conf" - platform_allow: qemu_x86 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/.gitignore b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/.gitignore deleted file mode 100644 index aeaebb2b..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/README.md b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/README.md deleted file mode 100644 index 5da4cf61..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/README.md +++ /dev/null @@ -1,27 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) -2. Download [development platform with examples](https://github.com/platformio/platform-nordicnrf52/archive/develop.zip) -3. Extract ZIP archive -4. Run these commands: - -```shell -# Change directory to example -$ cd platform-nordicnrf52/examples/zephyr-subsys-nvs - -# Build project -$ pio run - -# Upload firmware -$ pio run --target upload - -# Build specific environment -$ pio run -e nrf52_dk - -# Upload firmware for the specific environment -$ pio run -e nrf52_dk --target upload - -# Clean build files -$ pio run --target clean -``` diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/include/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/include/README deleted file mode 100644 index 194dcd43..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/lib/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/lib/README deleted file mode 100644 index 6debab1e..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/platformio.ini b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/platformio.ini deleted file mode 100644 index 7dbf7085..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/platformio.ini +++ /dev/null @@ -1,20 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:adafruit_feather_nrf52832] -platform = nordicnrf52 -framework = zephyr -board = adafruit_feather_nrf52832 -monitor_speed = 115200 - -[env:nrf52_dk] -platform = nordicnrf52 -framework = zephyr -board = nrf52_dk -monitor_speed = 115200 diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/src/main.c b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/src/main.c deleted file mode 100644 index 2b098e41..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/src/main.c +++ /dev/null @@ -1,238 +0,0 @@ -/* - * NVS Sample for Zephyr using high level API, the sample illustrates the usage - * of NVS for storing data of different kind (strings, binary blobs, unsigned - * 32 bit integer) and also how to read them back from flash. The reading of - * data is illustrated for both a basic read (latest added value) as well as - * reading back the history of data (previously added values). Next to reading - * and writing data it also shows how data can be deleted from flash. - * - * The sample stores the following items: - * 1. A string representing an IP-address: stored at id=1, data="192.168.1.1" - * 2. A binary blob representing a key: stored at id=2, data=FF FE FD FC FB FA - * F9 F8 - * 3. A reboot counter (32bit): stored at id=3, data=reboot_counter - * 4. A string: stored at id=4, data="DATA" (used to illustrate deletion of - * items) - * - * At first boot the sample checks if the data is available in flash and adds - * the items if they are not in flash. - * - * Every reboot increases the values of the reboot_counter and updates it in - * flash. - * - * At the 10th reboot the string item with id=4 is deleted (or marked for - * deletion). - * - * At the 11th reboot the string item with id=4 can no longer be read with the - * basic nvs_read() function as it has been deleted. It is possible to read the - * value with nvs_read_hist() - * - * At the 78th reboot the first sector is full and a new sector is taken into - * use. The data with id=1, id=2 and id=3 is copied to the new sector. As a - * result of this the history of the reboot_counter will be removed but the - * latest values of address, key and reboot_counter is kept. - * - * Copyright (c) 2018 Laczen - * - * SPDX-License-Identifier: Apache-2.0 - */ - - -#include -#include -#include -#include -#include -#include -#include - -static struct nvs_fs fs; - -/* 1000 msec = 1 sec */ -#define SLEEP_TIME 100 -/* maximum reboot counts, make high enough to trigger sector change (buffer */ -/* rotation). */ -#define MAX_REBOOT 400 - -#define ADDRESS_ID 1 -#define KEY_ID 2 -#define RBT_CNT_ID 3 -#define STRING_ID 4 -#define LONG_ID 5 - - -void main(void) -{ - int rc = 0, cnt = 0, cnt_his = 0; - char buf[16]; - uint8_t key[8], longarray[128]; - uint32_t reboot_counter = 0U, reboot_counter_his; - struct flash_pages_info info; - - /* define the nvs file system by settings with: - * sector_size equal to the pagesize, - * 3 sectors - * starting at FLASH_AREA_OFFSET(storage) - */ - fs.offset = FLASH_AREA_OFFSET(storage); - rc = flash_get_page_info_by_offs( - device_get_binding(DT_CHOSEN_ZEPHYR_FLASH_CONTROLLER_LABEL), - fs.offset, &info); - if (rc) { - printk("Unable to get page info"); - } - fs.sector_size = info.size; - fs.sector_count = 3U; - - rc = nvs_init(&fs, DT_CHOSEN_ZEPHYR_FLASH_CONTROLLER_LABEL); - if (rc) { - printk("Flash Init failed\n"); - } - - /* ADDRESS_ID is used to store an address, lets see if we can - * read it from flash, since we don't know the size read the - * maximum possible - */ - rc = nvs_read(&fs, ADDRESS_ID, &buf, sizeof(buf)); - if (rc > 0) { /* item was found, show it */ - printk("Id: %d, Address: %s\n", ADDRESS_ID, buf); - } else {/* item was not found, add it */ - strcpy(buf, "192.168.1.1"); - printk("No address found, adding %s at id %d\n", buf, - ADDRESS_ID); - (void)nvs_write(&fs, ADDRESS_ID, &buf, strlen(buf)+1); - } - /* KEY_ID is used to store a key, lets see if we can read it from flash - */ - rc = nvs_read(&fs, KEY_ID, &key, sizeof(key)); - if (rc > 0) { /* item was found, show it */ - printk("Id: %d, Key: ", KEY_ID); - for (int n = 0; n < 8; n++) { - printk("%x ", key[n]); - } - printk("\n"); - } else {/* item was not found, add it */ - printk("No key found, adding it at id %d\n", KEY_ID); - key[0] = 0xFF; - key[1] = 0xFE; - key[2] = 0xFD; - key[3] = 0xFC; - key[4] = 0xFB; - key[5] = 0xFA; - key[6] = 0xF9; - key[7] = 0xF8; - (void)nvs_write(&fs, KEY_ID, &key, sizeof(key)); - } - /* RBT_CNT_ID is used to store the reboot counter, lets see - * if we can read it from flash - */ - rc = nvs_read(&fs, RBT_CNT_ID, &reboot_counter, sizeof(reboot_counter)); - if (rc > 0) { /* item was found, show it */ - printk("Id: %d, Reboot_counter: %d\n", - RBT_CNT_ID, reboot_counter); - } else {/* item was not found, add it */ - printk("No Reboot counter found, adding it at id %d\n", - RBT_CNT_ID); - (void)nvs_write(&fs, RBT_CNT_ID, &reboot_counter, - sizeof(reboot_counter)); - } - /* STRING_ID is used to store data that will be deleted,lets see - * if we can read it from flash, since we don't know the size read the - * maximum possible - */ - rc = nvs_read(&fs, STRING_ID, &buf, sizeof(buf)); - if (rc > 0) { - /* item was found, show it */ - printk("Id: %d, Data: %s\n", - STRING_ID, buf); - /* remove the item if reboot_counter = 10 */ - if (reboot_counter == 10U) { - (void)nvs_delete(&fs, STRING_ID); - } - } else { - /* entry was not found, add it if reboot_counter = 0*/ - if (reboot_counter == 0U) { - printk("Id: %d not found, adding it\n", - STRING_ID); - strcpy(buf, "DATA"); - (void)nvs_write(&fs, STRING_ID, &buf, strlen(buf) + 1); - } - } - - /* LONG_ID is used to store a larger dataset ,lets see if we can read - * it from flash - */ - rc = nvs_read(&fs, LONG_ID, &longarray, sizeof(longarray)); - if (rc > 0) { - /* item was found, show it */ - printk("Id: %d, Longarray: ", LONG_ID); - for (int n = 0; n < sizeof(longarray); n++) { - printk("%x ", longarray[n]); - } - printk("\n"); - } else { - /* entry was not found, add it if reboot_counter = 0*/ - if (reboot_counter == 0U) { - printk("Longarray not found, adding it as id %d\n", - LONG_ID); - for (int n = 0; n < sizeof(longarray); n++) { - longarray[n] = n; - } - (void)nvs_write( - &fs, LONG_ID, &longarray, sizeof(longarray)); - } - } - - cnt = 5; - while (1) { - k_msleep(SLEEP_TIME); - if (reboot_counter < MAX_REBOOT) { - if (cnt == 5) { - /* print some history information about - * the reboot counter - * Check the counter history in flash - */ - printk("Reboot counter history: "); - while (1) { - rc = nvs_read_hist( - &fs, RBT_CNT_ID, - &reboot_counter_his, - sizeof(reboot_counter_his), - cnt_his); - if (rc < 0) { - break; - } - printk("...%d", reboot_counter_his); - cnt_his++; - } - if (cnt_his == 0) { - printk("\n Error, no Reboot counter"); - } else { - printk("\nOldest reboot counter: %d", - reboot_counter_his); - } - printk("\nRebooting in "); - } - printk("...%d", cnt); - cnt--; - if (cnt == 0) { - printk("\n"); - reboot_counter++; - (void)nvs_write( - &fs, RBT_CNT_ID, &reboot_counter, - sizeof(reboot_counter)); - if (reboot_counter == MAX_REBOOT) { - printk("Doing last reboot...\n"); - } - sys_reboot(0); - } - } else { - printk("Reboot counter reached max value.\n"); - printk("Reset to 0 and exit test.\n"); - reboot_counter = 0U; - (void)nvs_write(&fs, RBT_CNT_ID, &reboot_counter, - sizeof(reboot_counter)); - break; - } - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/test/README b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/test/README deleted file mode 100644 index df5066e6..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/zephyr/CMakeLists.txt b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/zephyr/CMakeLists.txt deleted file mode 100644 index d28ca137..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/zephyr/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -cmake_minimum_required(VERSION 3.13.1) -include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) -project(nvs) - - -target_sources(app PRIVATE ../src/main.c) -target_include_directories(app PRIVATE $ENV{ZEPHYR_BASE}/subsys/fs/nvs) diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/zephyr/prj.conf b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/zephyr/prj.conf deleted file mode 100644 index 2cf7ed95..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/examples/zephyr-subsys-nvs/zephyr/prj.conf +++ /dev/null @@ -1,8 +0,0 @@ -CONFIG_FLASH=y -CONFIG_FLASH_PAGE_LAYOUT=y - -CONFIG_NVS=y -CONFIG_LOG=y -CONFIG_NVS_LOG_LEVEL_DBG=y -CONFIG_REBOOT=y -CONFIG_MPU_ALLOW_FLASH_WRITE=y diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/mbed_deprecated_boards.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/mbed_deprecated_boards.json deleted file mode 100644 index 724b6ef1..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/mbed_deprecated_boards.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - "delta_dfbm_nq620", - "redbear_blenano2", - "ublox_evk_nina_b1" -] diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/svd/nrf52.svd b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/svd/nrf52.svd deleted file mode 100644 index 8d858974..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/svd/nrf52.svd +++ /dev/null @@ -1,41258 +0,0 @@ - - - - Nordic Semiconductor - Nordic - nrf52 - nrf52 - 1 - nRF52 reference description for radio MCU with ARM 32-bit Cortex-M4 Microcontroller - - Copyright (c) 2015, Nordic Semiconductor ASA\n - All rights reserved.\n - \n - Redistribution and use in source and binary forms, with or without\n - modification, are permitted provided that the following conditions are met:\n - \n - * Redistributions of source code must retain the above copyright notice, this\n - list of conditions and the following disclaimer.\n - \n - * Redistributions in binary form must reproduce the above copyright notice,\n - this list of conditions and the following disclaimer in the documentation\n - and/or other materials provided with the distribution.\n - \n - * Neither the name of Nordic Semiconductor ASA nor the names of its\n - contributors may be used to endorse or promote products derived from\n - this software without specific prior written permission.\n - \n - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\n - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n - - 8 - 32 - 32 - 0x00000000 - 0xFFFFFFFF - - CM4 - r0p1 - little - 1 - 1 - 3 - 0 - - system_nrf52 - NRF_ - - 2048 - 2048 - 240 - - - - FICR - Factory Information Configuration Registers - FICR - 0x10000000 - 32 - - 0 - 0x1000 - registers - - - - CODEPAGESIZE - Code memory page size - 0x010 - read-only - 0xFFFFFFFF - - - CODEPAGESIZE - Code memory page size - 0 - 31 - - - - - CODESIZE - Code memory size - 0x014 - read-only - 0xFFFFFFFF - - - CODESIZE - Code memory size in number of pages - 0 - 31 - - - - - CONFIGID - Configuration identifier - 0x05C - read-only - 0xFFFFFFFF - - - HWID - Identification number for the HW - 0 - 15 - - - FWID - Deprecated field - Identification number for the FW that is pre-loaded into the chip - 16 - 31 - - - - - 2 - 4 - 0-1 - DEVICEID[%s] - Description collection[0]: Device identifier - 0x060 - read-only - 0xFFFFFFFF - - - DEVICEID - 64 bit unique device identifier - 0 - 31 - - - - - 4 - 4 - 0-3 - ER[%s] - Description collection[0]: Encryption Root, word 0 - 0x080 - read-only - 0xFFFFFFFF - - - ER - Encryption Root, word n - 0 - 31 - - - - - 4 - 4 - 0-3 - IR[%s] - Description collection[0]: Identity Root, word 0 - 0x090 - read-only - 0xFFFFFFFF - - - IR - Identity Root, word n - 0 - 31 - - - - - DEVICEADDRTYPE - Device address type - 0x0A0 - read-only - 0xFFFFFFFF - - - DEVICEADDRTYPE - Device address type - 0 - 0 - - - Public - Public address - 0 - - - Random - Random address - 1 - - - - - - - 2 - 4 - 0-1 - DEVICEADDR[%s] - Description collection[0]: Device address 0 - 0x0A4 - read-only - 0xFFFFFFFF - - - DEVICEADDR - 48 bit device address - 0 - 31 - - - - - INFO - Device info - FICR_INFO - 0x100 - - PART - Part code - 0x000 - read-only - 0x00052000 - - - PART - Part code - 0 - 31 - - - N51822 - nRF51822 - 0x51822 - - - N51422 - nRF51422 - 0x51422 - - - N52000 - nRF52000 - 0x52000 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - VARIANT - Part variant - 0x004 - read-only - 0xFFFFFFFF - - - VARIANT - Part variant - 0 - 31 - - - nRF51C - nRF51-C - 0x1002 - - - nRF51D - nRF51-D - 0x1003 - - - nRF51E - nRF51-E - 0x1004 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - PACKAGE - Package option - 0x008 - read-only - 0x00000000 - - - PACKAGE - Package option - 0 - 31 - - - QFN48 - 48-pin QFN with 31 GPIO - 0x0000 - - - nRF51CSP56A - nRF51x22 CDxx - WLCSP 56 balls - 0x1000 - - - nRF51CSP62A - nRF51x22 CExx - WLCSP 62 balls - 0x1001 - - - nRF51CSP62B - nRF51x22 CFxx - WLCSP 62 balls - 0x1002 - - - nRF51CSP62C - nRF51x22 CTxx - WLCSP 62 balls - 0x1003 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - RAM - RAM variant - 0x00C - read-only - 0x00000040 - - - RAM - RAM variant - 0 - 31 - - - K16 - 16 kByte RAM - 16 - - - K32 - 32 kByte RAM - 32 - - - K64 - 64 kByte RAM - 64 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - FLASH - Flash variant - 0x010 - read-only - 0x00000200 - - - FLASH - Flash variant - 0 - 31 - - - K128 - 128 kByte FLASH - 128 - - - K256 - 256 kByte FLASH - 256 - - - K512 - 512 kByte FLASH - 512 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - 3 - 4 - 0-2 - UNUSED0[%s] - Description collection[0]: Unspecified - 0x014 - read-write - - - - NFC - Unspecified - FICR_NFC - 0x450 - - TAGHEADER0 - Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. - 0x000 - read-only - 0xFFFFFF5F - - - MFGID - Default Manufacturer ID: Nordic Semiconductor ASA has ICM 0x5F - 0 - 7 - - - UD1 - Unique identifier byte 1 - 8 - 15 - - - UD2 - Unique identifier byte 2 - 16 - 23 - - - UD3 - Unique identifier byte 3 - 24 - 31 - - - - - TAGHEADER1 - Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. - 0x004 - read-only - 0xFFFFFFFF - - - UD4 - Unique identifier byte 4 - 0 - 7 - - - UD5 - Unique identifier byte 5 - 8 - 15 - - - UD6 - Unique identifier byte 6 - 16 - 23 - - - UD7 - Unique identifier byte 7 - 24 - 31 - - - - - TAGHEADER2 - Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. - 0x008 - read-only - 0xFFFFFFFF - - - UD8 - Unique identifier byte 8 - 0 - 7 - - - UD9 - Unique identifier byte 9 - 8 - 15 - - - UD10 - Unique identifier byte 10 - 16 - 23 - - - UD11 - Unique identifier byte 11 - 24 - 31 - - - - - TAGHEADER3 - Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. - 0x00C - read-only - 0xFFFFFFFF - - - UD12 - Unique identifier byte 12 - 0 - 7 - - - UD13 - Unique identifier byte 13 - 8 - 15 - - - UD14 - Unique identifier byte 14 - 16 - 23 - - - UD15 - Unique identifier byte 15 - 24 - 31 - - - - - - - - UICR - User Information Configuration Registers - UICR - 0x10001000 - 32 - - 0 - 0x1000 - registers - - - - UNUSED0 - Unspecified - 0x000 - read-write - - - UNUSED1 - Unspecified - 0x004 - read-write - - - UNUSED2 - Unspecified - 0x008 - read-write - - - UNUSED3 - Unspecified - 0x010 - read-write - - - 15 - 4 - 0-14 - NRFFW[%s] - Description collection[0]: Reserved for Nordic firmware design - 0x014 - read-write - 0xFFFFFFFF - - - NRFFW - Reserved for Nordic firmware design - 0 - 31 - - - - - 12 - 4 - 0-11 - NRFHW[%s] - Description collection[0]: Reserved for Nordic hardware design - 0x050 - read-write - 0xFFFFFFFF - - - NRFHW - Reserved for Nordic hardware design - 0 - 31 - - - - - 32 - 4 - 0-31 - CUSTOMER[%s] - Description collection[0]: Reserved for customer - 0x080 - read-write - 0xFFFFFFFF - - - CUSTOMER - Reserved for customer - 0 - 31 - - - - - 2 - 4 - 0-1 - PSELRESET[%s] - Description collection[0]: Mapping of the nRESET function (see POWER chapter for details) - 0x200 - read-write - 0xFFFFFFFF - - - PIN - GPIO number P0.n onto which Reset is exposed - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - APPROTECT - Access port protection - 0x208 - read-write - 0xFFFFFFFF - - - PALL - Blocks debugger read/write access to all CPU registers and memory mapped addresses except for the Control Access Port registers. - 0 - 7 - - - Disabled - Disable - 0xFF - - - Enabled - Enable - 0x00 - - - - - - - NFCPINS - Setting of pins dedicated to NFC functionality: NFC antenna or GPIO - 0x20C - read-write - 0xFFFFFFFF - - - PROTECT - Setting of pins dedicated to NFC functionality - 0 - 0 - - - Disabled - Operation as GPIO pins. Same protection as normal GPIO pins - 0 - - - NFC - Operation as NFC antenna pins. Configures the protection for NFC operation - 1 - - - - - - - - - BPROT - Block Protect - BPROT - 0x40000000 - 32 - - 0 - 0x1000 - registers - - - - CONFIG0 - Block protect configuration register 0 - 0x600 - read-write - - - REGION0 - Enable protection for region 0. Write '0' has no effect. - 0 - 0 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION1 - Enable protection for region 1. Write '0' has no effect. - 1 - 1 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION2 - Enable protection for region 2. Write '0' has no effect. - 2 - 2 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION3 - Enable protection for region 3. Write '0' has no effect. - 3 - 3 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION4 - Enable protection for region 4. Write '0' has no effect. - 4 - 4 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION5 - Enable protection for region 5. Write '0' has no effect. - 5 - 5 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION6 - Enable protection for region 6. Write '0' has no effect. - 6 - 6 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION7 - Enable protection for region 7. Write '0' has no effect. - 7 - 7 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION8 - Enable protection for region 8. Write '0' has no effect. - 8 - 8 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION9 - Enable protection for region 9. Write '0' has no effect. - 9 - 9 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION10 - Enable protection for region 10. Write '0' has no effect. - 10 - 10 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION11 - Enable protection for region 11. Write '0' has no effect. - 11 - 11 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION12 - Enable protection for region 12. Write '0' has no effect. - 12 - 12 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION13 - Enable protection for region 13. Write '0' has no effect. - 13 - 13 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION14 - Enable protection for region 14. Write '0' has no effect. - 14 - 14 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION15 - Enable protection for region 15. Write '0' has no effect. - 15 - 15 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION16 - Enable protection for region 16. Write '0' has no effect. - 16 - 16 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION17 - Enable protection for region 17. Write '0' has no effect. - 17 - 17 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION18 - Enable protection for region 18. Write '0' has no effect. - 18 - 18 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION19 - Enable protection for region 19. Write '0' has no effect. - 19 - 19 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION20 - Enable protection for region 20. Write '0' has no effect. - 20 - 20 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION21 - Enable protection for region 21. Write '0' has no effect. - 21 - 21 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION22 - Enable protection for region 22. Write '0' has no effect. - 22 - 22 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION23 - Enable protection for region 23. Write '0' has no effect. - 23 - 23 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION24 - Enable protection for region 24. Write '0' has no effect. - 24 - 24 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION25 - Enable protection for region 25. Write '0' has no effect. - 25 - 25 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION26 - Enable protection for region 26. Write '0' has no effect. - 26 - 26 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION27 - Enable protection for region 27. Write '0' has no effect. - 27 - 27 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION28 - Enable protection for region 28. Write '0' has no effect. - 28 - 28 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION29 - Enable protection for region 29. Write '0' has no effect. - 29 - 29 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION30 - Enable protection for region 30. Write '0' has no effect. - 30 - 30 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - REGION31 - Enable protection for region 31. Write '0' has no effect. - 31 - 31 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enable - 1 - - - - - - - CONFIG1 - Block protect configuration register 1 - 0x604 - read-write - - - REGION32 - Enable protection for region 32. Write '0' has no effect. - 0 - 0 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION33 - Enable protection for region 33. Write '0' has no effect. - 1 - 1 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION34 - Enable protection for region 34. Write '0' has no effect. - 2 - 2 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION35 - Enable protection for region 35. Write '0' has no effect. - 3 - 3 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION36 - Enable protection for region 36. Write '0' has no effect. - 4 - 4 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION37 - Enable protection for region 37. Write '0' has no effect. - 5 - 5 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION38 - Enable protection for region 38. Write '0' has no effect. - 6 - 6 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION39 - Enable protection for region 39. Write '0' has no effect. - 7 - 7 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION40 - Enable protection for region 40. Write '0' has no effect. - 8 - 8 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION41 - Enable protection for region 41. Write '0' has no effect. - 9 - 9 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION42 - Enable protection for region 42. Write '0' has no effect. - 10 - 10 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION43 - Enable protection for region 43. Write '0' has no effect. - 11 - 11 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION44 - Enable protection for region 44. Write '0' has no effect. - 12 - 12 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION45 - Enable protection for region 45. Write '0' has no effect. - 13 - 13 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION46 - Enable protection for region 46. Write '0' has no effect. - 14 - 14 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION47 - Enable protection for region 47. Write '0' has no effect. - 15 - 15 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION48 - Enable protection for region 48. Write '0' has no effect. - 16 - 16 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION49 - Enable protection for region 49. Write '0' has no effect. - 17 - 17 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION50 - Enable protection for region 50. Write '0' has no effect. - 18 - 18 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION51 - Enable protection for region 51. Write '0' has no effect. - 19 - 19 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION52 - Enable protection for region 52. Write '0' has no effect. - 20 - 20 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION53 - Enable protection for region 53. Write '0' has no effect. - 21 - 21 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION54 - Enable protection for region 54. Write '0' has no effect. - 22 - 22 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION55 - Enable protection for region 55. Write '0' has no effect. - 23 - 23 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION56 - Enable protection for region 56. Write '0' has no effect. - 24 - 24 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION57 - Enable protection for region 57. Write '0' has no effect. - 25 - 25 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION58 - Enable protection for region 58. Write '0' has no effect. - 26 - 26 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION59 - Enable protection for region 59. Write '0' has no effect. - 27 - 27 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION60 - Enable protection for region 60. Write '0' has no effect. - 28 - 28 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION61 - Enable protection for region 61. Write '0' has no effect. - 29 - 29 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION62 - Enable protection for region 62. Write '0' has no effect. - 30 - 30 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION63 - Enable protection for region 63. Write '0' has no effect. - 31 - 31 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - - - DISABLEINDEBUG - Disable protection mechanism in debug mode - 0x608 - read-write - 0x00000001 - - - DISABLEINDEBUG - Disable the protection mechanism for NVM regions while in debug mode. This register will only disable the protection mechanism if the device is in debug mode. - 0 - 0 - - - Disabled - Disable in debug - 1 - - - Enabled - Enable in debug - 0 - - - - - - - UNUSED0 - Unspecified - 0x60C - read-write - - - CONFIG2 - Block protect configuration register 2 - 0x610 - read-write - - - REGION64 - Enable protection for region 64. Write '0' has no effect. - 0 - 0 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION65 - Enable protection for region 65. Write '0' has no effect. - 1 - 1 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION66 - Enable protection for region 66. Write '0' has no effect. - 2 - 2 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION67 - Enable protection for region 67. Write '0' has no effect. - 3 - 3 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION68 - Enable protection for region 68. Write '0' has no effect. - 4 - 4 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION69 - Enable protection for region 69. Write '0' has no effect. - 5 - 5 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION70 - Enable protection for region 70. Write '0' has no effect. - 6 - 6 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION71 - Enable protection for region 71. Write '0' has no effect. - 7 - 7 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION72 - Enable protection for region 72. Write '0' has no effect. - 8 - 8 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION73 - Enable protection for region 73. Write '0' has no effect. - 9 - 9 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION74 - Enable protection for region 74. Write '0' has no effect. - 10 - 10 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION75 - Enable protection for region 75. Write '0' has no effect. - 11 - 11 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION76 - Enable protection for region 76. Write '0' has no effect. - 12 - 12 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION77 - Enable protection for region 77. Write '0' has no effect. - 13 - 13 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION78 - Enable protection for region 78. Write '0' has no effect. - 14 - 14 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION79 - Enable protection for region 79. Write '0' has no effect. - 15 - 15 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION80 - Enable protection for region 80. Write '0' has no effect. - 16 - 16 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION81 - Enable protection for region 81. Write '0' has no effect. - 17 - 17 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION82 - Enable protection for region 82. Write '0' has no effect. - 18 - 18 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION83 - Enable protection for region 83. Write '0' has no effect. - 19 - 19 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION84 - Enable protection for region 84. Write '0' has no effect. - 20 - 20 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION85 - Enable protection for region 85. Write '0' has no effect. - 21 - 21 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION86 - Enable protection for region 86. Write '0' has no effect. - 22 - 22 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION87 - Enable protection for region 87. Write '0' has no effect. - 23 - 23 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION88 - Enable protection for region 88. Write '0' has no effect. - 24 - 24 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION89 - Enable protection for region 89. Write '0' has no effect. - 25 - 25 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION90 - Enable protection for region 90. Write '0' has no effect. - 26 - 26 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION91 - Enable protection for region 91. Write '0' has no effect. - 27 - 27 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION92 - Enable protection for region 92. Write '0' has no effect. - 28 - 28 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION93 - Enable protection for region 93. Write '0' has no effect. - 29 - 29 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION94 - Enable protection for region 94. Write '0' has no effect. - 30 - 30 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION95 - Enable protection for region 95. Write '0' has no effect. - 31 - 31 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - - - CONFIG3 - Block protect configuration register 3 - 0x614 - read-write - - - REGION96 - Enable protection for region 96. Write '0' has no effect. - 0 - 0 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION97 - Enable protection for region 97. Write '0' has no effect. - 1 - 1 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION98 - Enable protection for region 98. Write '0' has no effect. - 2 - 2 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION99 - Enable protection for region 99. Write '0' has no effect. - 3 - 3 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION100 - Enable protection for region 100. Write '0' has no effect. - 4 - 4 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION101 - Enable protection for region 101. Write '0' has no effect. - 5 - 5 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION102 - Enable protection for region 102. Write '0' has no effect. - 6 - 6 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION103 - Enable protection for region 103. Write '0' has no effect. - 7 - 7 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION104 - Enable protection for region 104. Write '0' has no effect. - 8 - 8 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION105 - Enable protection for region 105. Write '0' has no effect. - 9 - 9 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION106 - Enable protection for region 106. Write '0' has no effect. - 10 - 10 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION107 - Enable protection for region 107. Write '0' has no effect. - 11 - 11 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION108 - Enable protection for region 108. Write '0' has no effect. - 12 - 12 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION109 - Enable protection for region 109. Write '0' has no effect. - 13 - 13 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION110 - Enable protection for region 110. Write '0' has no effect. - 14 - 14 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION111 - Enable protection for region 111. Write '0' has no effect. - 15 - 15 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION112 - Enable protection for region 112. Write '0' has no effect. - 16 - 16 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION113 - Enable protection for region 113. Write '0' has no effect. - 17 - 17 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION114 - Enable protection for region 114. Write '0' has no effect. - 18 - 18 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION115 - Enable protection for region 115. Write '0' has no effect. - 19 - 19 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION116 - Enable protection for region 116. Write '0' has no effect. - 20 - 20 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION117 - Enable protection for region 117. Write '0' has no effect. - 21 - 21 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION118 - Enable protection for region 118. Write '0' has no effect. - 22 - 22 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION119 - Enable protection for region 119. Write '0' has no effect. - 23 - 23 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION120 - Enable protection for region 120. Write '0' has no effect. - 24 - 24 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION121 - Enable protection for region 121. Write '0' has no effect. - 25 - 25 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION122 - Enable protection for region 122. Write '0' has no effect. - 26 - 26 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION123 - Enable protection for region 123. Write '0' has no effect. - 27 - 27 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION124 - Enable protection for region 124. Write '0' has no effect. - 28 - 28 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION125 - Enable protection for region 125. Write '0' has no effect. - 29 - 29 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION126 - Enable protection for region 126. Write '0' has no effect. - 30 - 30 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - REGION127 - Enable protection for region 127. Write '0' has no effect. - 31 - 31 - - - Disabled - Protection disabled - 0 - - - Enabled - Protection enabled - 1 - - - - - - - - - POWER - Power control - POWER - 0x40000000 - 32 - BPROT - - 0 - 0x1000 - registers - - - POWER_CLOCK - 0 - - - - TASKS_CONSTLAT - Enable constant latency mode - 0x078 - write-only - - - TASKS_LOWPWR - Enable low power mode (variable latency) - 0x07C - write-only - - - EVENTS_POFWARN - Power failure warning - 0x108 - read-write - - - EVENTS_SLEEPENTER - CPU entered WFI/WFE sleep - 0x114 - read-write - - - EVENTS_SLEEPEXIT - CPU exited WFI/WFE sleep - 0x118 - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - POFWARN - Write '1' to Enable interrupt on EVENTS_POFWARN event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SLEEPENTER - Write '1' to Enable interrupt on EVENTS_SLEEPENTER event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SLEEPEXIT - Write '1' to Enable interrupt on EVENTS_SLEEPEXIT event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - POFWARN - Write '1' to Clear interrupt on EVENTS_POFWARN event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SLEEPENTER - Write '1' to Clear interrupt on EVENTS_SLEEPENTER event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SLEEPEXIT - Write '1' to Clear interrupt on EVENTS_SLEEPEXIT event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - RESETREAS - Reset reason - 0x400 - read-write - - - RESETPIN - Reset from pin-reset detected - 0 - 0 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - DOG - Reset from watchdog detected - 1 - 1 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - SREQ - Reset from AIRCR.SYSRESETREQ detected - 2 - 2 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - LOCKUP - Reset from CPU lock-up detected - 3 - 3 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - OFF - Reset due to wake up from System OFF mode when wakeup is triggered from DETECT signal from GPIO - 16 - 16 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - LPCOMP - Reset due to wake up from System OFF mode when wakeup is triggered from ANADETECT signal from LPCOMP - 17 - 17 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - DIF - Reset due to wake up from System OFF mode when wakeup is triggered from entering into debug interface mode - 18 - 18 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - NFC - Reset due to wake up from System OFF mode by NFC field detect - 19 - 19 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - - - RAMSTATUS - Deprecated register - RAM status register - 0x428 - read-only - 0x00000000 - - - RAMBLOCK0 - RAM block 0 is on or off/powering up - 0 - 0 - - - Off - Off - 0 - - - On - On - 1 - - - - - RAMBLOCK1 - RAM block 1 is on or off/powering up - 1 - 1 - - - Off - Off - 0 - - - On - On - 1 - - - - - RAMBLOCK2 - RAM block 2 is on or off/powering up - 2 - 2 - - - Off - Off - 0 - - - On - On - 1 - - - - - RAMBLOCK3 - RAM block 3 is on or off/powering up - 3 - 3 - - - Off - Off - 0 - - - On - On - 1 - - - - - - - SYSTEMOFF - System OFF register - 0x500 - write-only - - - SYSTEMOFF - Enable System OFF mode - 0 - 0 - - - Enter - Enable System OFF mode - 1 - - - - - - - POFCON - Power failure comparator configuration - 0x510 - read-write - - - POF - Enable or disable power failure comparator - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - THRESHOLD - Power failure comparator threshold setting - 1 - 4 - - - V19 - Set threshold to 1.9 V - 6 - - - V20 - Set threshold to 2.0 V - 7 - - - V21 - Set threshold to 2.1 V - 8 - - - V22 - Set threshold to 2.2 V - 9 - - - V23 - Set threshold to 2.3 V - 10 - - - V24 - Set threshold to 2.4 V - 11 - - - V27 - Set threshold to 2.7 V - 14 - - - V28 - Set threshold to 2.8 V - 15 - - - - - - - GPREGRET - General purpose retention register - 0x51C - read-write - - - GPREGRET - General purpose retention register - 0 - 7 - - - - - GPREGRET2 - General purpose retention register - 0x520 - read-write - - - GPREGRET - General purpose retention register - 0 - 7 - - - - - RAMON - Deprecated register - RAM on/off register (this register is retained) - 0x524 - read-write - 0x00000003 - - - ONRAM0 - Keep RAM block 0 on or off in system ON Mode - 0 - 0 - - - RAM0Off - Off - 0 - - - RAM0On - On - 1 - - - - - ONRAM1 - Keep RAM block 1 on or off in system ON Mode - 1 - 1 - - - RAM1Off - Off - 0 - - - RAM1On - On - 1 - - - - - OFFRAM0 - Keep retention on RAM block 0 when RAM block is switched off - 16 - 16 - - - RAM0Off - Off - 0 - - - RAM0On - On - 1 - - - - - OFFRAM1 - Keep retention on RAM block 1 when RAM block is switched off - 17 - 17 - - - RAM1Off - Off - 0 - - - RAM1On - On - 1 - - - - - - - RAMONB - Deprecated register - RAM on/off register (this register is retained) - 0x554 - read-write - 0x00000003 - - - ONRAM2 - Keep RAM block 2 on or off in system ON Mode - 0 - 0 - - - RAM2Off - Off - 0 - - - RAM2On - On - 1 - - - - - ONRAM3 - Keep RAM block 3 on or off in system ON Mode - 1 - 1 - - - RAM3Off - Off - 0 - - - RAM3On - On - 1 - - - - - OFFRAM2 - Keep retention on RAM block 2 when RAM block is switched off - 16 - 16 - - - RAM2Off - Off - 0 - - - RAM2On - On - 1 - - - - - OFFRAM3 - Keep retention on RAM block 3 when RAM block is switched off - 17 - 17 - - - RAM3Off - Off - 0 - - - RAM3On - On - 1 - - - - - - - DCDCEN - DC/DC enable register - 0x578 - read-write - - - DCDCEN - Enable or disable DC/DC converter - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - 8 - 16 - 0-7 - RAM[%s] - Unspecified - POWER_RAM - 0x900 - - POWER - Description cluster[0]: RAM0 power control register - 0x000 - read-write - 0x0000FFFF - - - S0POWER - Keep RAM section S0 of RAMm on or off in System ON mode - 0 - 0 - - - Off - Off - 0 - - - On - On - 1 - - - - - S1POWER - Keep RAM section S1 of RAMm on or off in System ON mode - 1 - 1 - - - Off - Off - 0 - - - On - On - 1 - - - - - S0RETENTION - Keep retention on RAM section S0 when RAM section is switched off - 16 - 16 - - - Off - Off - 0 - - - On - On - 1 - - - - - S1RETENTION - Keep retention on RAM section S1 when RAM section is switched off - 17 - 17 - - - Off - Off - 0 - - - On - On - 1 - - - - - - - POWERSET - Description cluster[0]: RAM0 power control set register - 0x004 - write-only - 0x0000FFFF - - - S0POWER - Keep RAM section S0 of RAMm on or off in System ON mode - 0 - 0 - - - On - On - 1 - - - - - S1POWER - Keep RAM section S1 of RAMm on or off in System ON mode - 1 - 1 - - - On - On - 1 - - - - - S0RETENTION - Keep retention on RAM section S0 when RAM section is switched off - 16 - 16 - - - On - On - 1 - - - - - S1RETENTION - Keep retention on RAM section S1 when RAM section is switched off - 17 - 17 - - - On - On - 1 - - - - - - - POWERCLR - Description cluster[0]: RAM0 power control clear register - 0x008 - write-only - 0x0000FFFF - - - S0POWER - Keep RAM section S0 of RAMm on or off in System ON mode - 0 - 0 - - - Off - Off - 1 - - - - - S1POWER - Keep RAM section S1 of RAMm on or off in System ON mode - 1 - 1 - - - Off - Off - 1 - - - - - S0RETENTION - Keep retention on RAM section S0 when RAM section is switched off - 16 - 16 - - - Off - Off - 1 - - - - - S1RETENTION - Keep retention on RAM section S1 when RAM section is switched off - 17 - 17 - - - Off - Off - 1 - - - - - - - - - - CLOCK - Clock control - CLOCK - 0x40000000 - 32 - BPROT - - 0 - 0x1000 - registers - - - POWER_CLOCK - 0 - - - - TASKS_HFCLKSTART - Start HFCLK crystal oscillator - 0x000 - write-only - - - TASKS_HFCLKSTOP - Stop HFCLK crystal oscillator - 0x004 - write-only - - - TASKS_LFCLKSTART - Start LFCLK source - 0x008 - write-only - - - TASKS_LFCLKSTOP - Stop LFCLK source - 0x00C - write-only - - - TASKS_CAL - Start calibration of LFRC or LFULP oscillator - 0x010 - write-only - - - TASKS_CTSTART - Start calibration timer - 0x014 - write-only - - - TASKS_CTSTOP - Stop calibration timer - 0x018 - write-only - - - EVENTS_HFCLKSTARTED - HFCLK oscillator started - 0x100 - read-write - - - EVENTS_LFCLKSTARTED - LFCLK started - 0x104 - read-write - - - EVENTS_DONE - Calibration of LFCLK RC oscillator complete event - 0x10C - read-write - - - EVENTS_CTTO - Calibration timer timeout - 0x110 - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - HFCLKSTARTED - Write '1' to Enable interrupt on EVENTS_HFCLKSTARTED event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - LFCLKSTARTED - Write '1' to Enable interrupt on EVENTS_LFCLKSTARTED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DONE - Write '1' to Enable interrupt on EVENTS_DONE event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CTTO - Write '1' to Enable interrupt on EVENTS_CTTO event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - HFCLKSTARTED - Write '1' to Clear interrupt on EVENTS_HFCLKSTARTED event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - LFCLKSTARTED - Write '1' to Clear interrupt on EVENTS_LFCLKSTARTED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DONE - Write '1' to Clear interrupt on EVENTS_DONE event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CTTO - Write '1' to Clear interrupt on EVENTS_CTTO event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - HFCLKRUN - Status indicating that HFCLKSTART task has been triggered - 0x408 - read-only - - - STATUS - HFCLKSTART task triggered or not - 0 - 0 - - - NotTriggered - Task not triggered - 0 - - - Triggered - Task triggered - 1 - - - - - - - HFCLKSTAT - Which HFCLK source is running - 0x40C - read-only - - - SRC - Active clock source - 0 - 0 - - - RC - Internal oscillator (HFINT) - 0 - - - Xtal - 32 MHz crystal oscillator (HFXO) - 1 - - - - - STATE - HFCLK state - 16 - 16 - - - NotRunning - HFCLK not running - 0 - - - Running - HFCLK running - 1 - - - - - - - LFCLKRUN - Status indicating that LFCLKSTART task has been triggered - 0x414 - read-only - - - STATUS - LFCLKSTART task triggered or not - 0 - 0 - - - NotTriggered - Task not triggered - 0 - - - Triggered - Task triggered - 1 - - - - - - - LFCLKSTAT - Which LFCLK source is running - 0x418 - read-only - - - SRC - Active clock source - 0 - 1 - - - RC - 32.768 kHz RC oscillator - 0 - - - Xtal - 32.768 kHz crystal oscillator - 1 - - - Synth - 32.768 kHz synthesized from HFCLK - 2 - - - - - STATE - LFCLK state - 16 - 16 - - - NotRunning - LFCLK not running - 0 - - - Running - LFCLK running - 1 - - - - - - - LFCLKSRCCOPY - Copy of LFCLKSRC register, set when LFCLKSTART task was triggered - 0x41C - read-only - - - SRC - Clock source - 0 - 1 - - - RC - 32.768 kHz RC oscillator - 0 - - - Xtal - 32.768 kHz crystal oscillator - 1 - - - Synth - 32.768 kHz synthesized from HFCLK - 2 - - - - - - - LFCLKSRC - Clock source for the LFCLK - 0x518 - read-write - - - SRC - Clock source - 0 - 1 - - - RC - 32.768 kHz RC oscillator - 0 - - - Xtal - 32.768 kHz crystal oscillator - 1 - - - Synth - 32.768 kHz synthesized from HFCLK - 2 - - - - - - - CTIV - Calibration timer interval (retained register, same reset behaviour as RESETREAS) - 0x538 - read-write - - - CTIV - Calibration timer interval in multiple of 0.25 seconds. Range: 0.25 seconds to 31.75 seconds. - 0 - 6 - - - - - TRACECONFIG - Clocking options for the Trace Port debug interface - 0x55C - read-write - 0x00000000 - - - TRACEPORTSPEED - Speed of Trace Port clock. Note that the TRACECLK pin will output this clock divided by two. - 0 - 1 - - - 32MHz - 32 MHz Trace Port clock (TRACECLK = 16 MHz) - 0 - - - 16MHz - 16 MHz Trace Port clock (TRACECLK = 8 MHz) - 1 - - - 8MHz - 8 MHz Trace Port clock (TRACECLK = 4 MHz) - 2 - - - 4MHz - 4 MHz Trace Port clock (TRACECLK = 2 MHz) - 3 - - - - - TRACEMUX - Pin multiplexing of trace signals. - 16 - 17 - - - GPIO - GPIOs multiplexed onto all trace-pins - 0 - - - Serial - SWO multiplexed onto P0.18, GPIO multiplexed onto other trace pins - 1 - - - Parallel - TRACECLK and TRACEDATA multiplexed onto P0.20, P0.18, P0.16, P0.15 and P0.14. - 2 - - - - - - - - - RADIO - 2.4 GHz Radio - RADIO - 0x40001000 - 32 - - 0 - 0x1000 - registers - - - RADIO - 1 - - - - TASKS_TXEN - Enable RADIO in TX mode - 0x000 - write-only - - - TASKS_RXEN - Enable RADIO in RX mode - 0x004 - write-only - - - TASKS_START - Start RADIO - 0x008 - write-only - - - TASKS_STOP - Stop RADIO - 0x00C - write-only - - - TASKS_DISABLE - Disable RADIO - 0x010 - write-only - - - TASKS_RSSISTART - Start the RSSI and take one single sample of the receive signal strength. - 0x014 - write-only - - - TASKS_RSSISTOP - Stop the RSSI measurement - 0x018 - write-only - - - TASKS_BCSTART - Start the bit counter - 0x01C - write-only - - - TASKS_BCSTOP - Stop the bit counter - 0x020 - write-only - - - EVENTS_READY - RADIO has ramped up and is ready to be started - 0x100 - read-write - - - EVENTS_ADDRESS - Address sent or received - 0x104 - read-write - - - EVENTS_PAYLOAD - Packet payload sent or received - 0x108 - read-write - - - EVENTS_END - Packet sent or received - 0x10C - read-write - - - EVENTS_DISABLED - RADIO has been disabled - 0x110 - read-write - - - EVENTS_DEVMATCH - A device address match occurred on the last received packet - 0x114 - read-write - - - EVENTS_DEVMISS - No device address match occurred on the last received packet - 0x118 - read-write - - - EVENTS_RSSIEND - Sampling of receive signal strength complete. A new RSSI sample is ready for readout from the "RADIO.RSSISAMPLE" register - 0x11C - read-write - - - EVENTS_BCMATCH - Bit counter reached bit count value specified in the "RADIO.BCC" register - 0x128 - read-write - - - EVENTS_CRCOK - Packet received with CRC ok - 0x130 - read-write - - - EVENTS_CRCERROR - Packet received with CRC error - 0x134 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - READY_START - Shortcut between EVENTS_READY event and TASKS_START task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - END_DISABLE - Shortcut between EVENTS_END event and TASKS_DISABLE task - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DISABLED_TXEN - Shortcut between EVENTS_DISABLED event and TASKS_TXEN task - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DISABLED_RXEN - Shortcut between EVENTS_DISABLED event and TASKS_RXEN task - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - ADDRESS_RSSISTART - Shortcut between EVENTS_ADDRESS event and TASKS_RSSISTART task - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - END_START - Shortcut between EVENTS_END event and TASKS_START task - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - ADDRESS_BCSTART - Shortcut between EVENTS_ADDRESS event and TASKS_BCSTART task - 6 - 6 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DISABLED_RSSISTOP - Shortcut between EVENTS_DISABLED event and TASKS_RSSISTOP task - 8 - 8 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to Enable interrupt on EVENTS_READY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ADDRESS - Write '1' to Enable interrupt on EVENTS_ADDRESS event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PAYLOAD - Write '1' to Enable interrupt on EVENTS_PAYLOAD event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - END - Write '1' to Enable interrupt on EVENTS_END event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DISABLED - Write '1' to Enable interrupt on EVENTS_DISABLED event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DEVMATCH - Write '1' to Enable interrupt on EVENTS_DEVMATCH event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DEVMISS - Write '1' to Enable interrupt on EVENTS_DEVMISS event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RSSIEND - Write '1' to Enable interrupt on EVENTS_RSSIEND event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - BCMATCH - Write '1' to Enable interrupt on EVENTS_BCMATCH event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CRCOK - Write '1' to Enable interrupt on EVENTS_CRCOK event - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CRCERROR - Write '1' to Enable interrupt on EVENTS_CRCERROR event - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to Clear interrupt on EVENTS_READY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ADDRESS - Write '1' to Clear interrupt on EVENTS_ADDRESS event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PAYLOAD - Write '1' to Clear interrupt on EVENTS_PAYLOAD event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - END - Write '1' to Clear interrupt on EVENTS_END event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DISABLED - Write '1' to Clear interrupt on EVENTS_DISABLED event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DEVMATCH - Write '1' to Clear interrupt on EVENTS_DEVMATCH event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DEVMISS - Write '1' to Clear interrupt on EVENTS_DEVMISS event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RSSIEND - Write '1' to Clear interrupt on EVENTS_RSSIEND event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - BCMATCH - Write '1' to Clear interrupt on EVENTS_BCMATCH event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CRCOK - Write '1' to Clear interrupt on EVENTS_CRCOK event - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CRCERROR - Write '1' to Clear interrupt on EVENTS_CRCERROR event - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - CRCSTATUS - CRC status - 0x400 - read-only - - - CRCSTATUS - CRC status of packet received - 0 - 0 - - - CRCError - Packet received with CRC error - 0 - - - CRCOk - Packet received with CRC ok - 1 - - - - - - - RXMATCH - Received address - 0x408 - read-only - - - RXMATCH - Received address - 0 - 2 - - - - - RXCRC - CRC field of previously received packet - 0x40C - read-only - - - RXCRC - CRC field of previously received packet - 0 - 23 - - - - - DAI - Device address match index - 0x410 - read-only - - - DAI - Device address match index - 0 - 2 - - - - - PACKETPTR - Packet pointer - 0x504 - read-write - - - PACKETPTR - Packet pointer - 0 - 31 - - - - - FREQUENCY - Frequency - 0x508 - read-write - 0x00000002 - - - FREQUENCY - Radio channel frequency - 0 - 6 - - - - - TXPOWER - Output power - 0x50C - read-write - - - TXPOWER - RADIO output power. - 0 - 7 - - - Pos4dBm - +4 dBm - 0x04 - - - Pos3dBm - +3 dBm - 0x03 - - - 0dBm - 0 dBm - 0x00 - - - Neg4dBm - -4 dBm - 0xFC - - - Neg8dBm - -8 dBm - 0xF8 - - - Neg12dBm - -12 dBm - 0xF4 - - - Neg16dBm - -16 dBm - 0xF0 - - - Neg20dBm - -20 dBm - 0xEC - - - Neg30dBm - Deprecated enumerator - -40 dBm - 0xD8 - - - Neg40dBm - -40 dBm - 0xD8 - - - - - - - MODE - Data rate and modulation - 0x510 - read-write - - - MODE - Radio data rate and modulation setting. The radio supports Frequency-shift Keying (FSK) modulation. - 0 - 3 - - - Nrf_1Mbit - 1 Mbit/s Nordic proprietary radio mode - 0 - - - Nrf_2Mbit - 2 Mbit/s Nordic proprietary radio mode - 1 - - - Nrf_250Kbit - Deprecated enumerator - 250 kbit/s Nordic proprietary radio mode - 2 - - - Ble_1Mbit - 1 Mbit/s Bluetooth Low Energy - 3 - - - - - - - PCNF0 - Packet configuration register 0 - 0x514 - read-write - - - LFLEN - Length on air of LENGTH field in number of bits. - 0 - 3 - - - S0LEN - Length on air of S0 field in number of bytes. - 8 - 8 - - - S1LEN - Length on air of S1 field in number of bits. - 16 - 19 - - - S1INCL - Include or exclude S1 field in RAM - 20 - 20 - - - Automatic - Include S1 field in RAM only if S1LEN > 0 - 0 - - - Include - Always include S1 field in RAM independent of S1LEN - 1 - - - - - PLEN - Length of preamble on air. Decision point: "RADIO.TASKS_START" task - 24 - 24 - - - 8bit - 8-bit preamble - 0 - - - 16bit - 16-bit preamble - 1 - - - - - - - PCNF1 - Packet configuration register 1 - 0x518 - read-write - - - MAXLEN - Maximum length of packet payload. If the packet payload is larger than MAXLEN, the radio will truncate the payload to MAXLEN. - 0 - 7 - - - STATLEN - Static length in number of bytes - 8 - 15 - - - BALEN - Base address length in number of bytes - 16 - 18 - - - ENDIAN - On air endianness of packet, this applies to the S0, LENGTH, S1 and the PAYLOAD fields. - 24 - 24 - - - Little - Least Significant bit on air first - 0 - - - Big - Most significant bit on air first - 1 - - - - - WHITEEN - Enable or disable packet whitening - 25 - 25 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - BASE0 - Base address 0 - 0x51C - read-write - - - BASE0 - Base address 0 - 0 - 31 - - - - - BASE1 - Base address 1 - 0x520 - read-write - - - BASE1 - Base address 1 - 0 - 31 - - - - - PREFIX0 - Prefixes bytes for logical addresses 0-3 - 0x524 - read-write - - - AP0 - Address prefix 0. - 0 - 7 - - - AP1 - Address prefix 1. - 8 - 15 - - - AP2 - Address prefix 2. - 16 - 23 - - - AP3 - Address prefix 3. - 24 - 31 - - - - - PREFIX1 - Prefixes bytes for logical addresses 4-7 - 0x528 - read-write - - - AP4 - Address prefix 4. - 0 - 7 - - - AP5 - Address prefix 5. - 8 - 15 - - - AP6 - Address prefix 6. - 16 - 23 - - - AP7 - Address prefix 7. - 24 - 31 - - - - - TXADDRESS - Transmit address select - 0x52C - read-write - - - TXADDRESS - Transmit address select - 0 - 2 - - - - - RXADDRESSES - Receive address select - 0x530 - read-write - - - ADDR0 - Enable or disable reception on logical address 0. - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR1 - Enable or disable reception on logical address 1. - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR2 - Enable or disable reception on logical address 2. - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR3 - Enable or disable reception on logical address 3. - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR4 - Enable or disable reception on logical address 4. - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR5 - Enable or disable reception on logical address 5. - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR6 - Enable or disable reception on logical address 6. - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR7 - Enable or disable reception on logical address 7. - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - CRCCNF - CRC configuration - 0x534 - read-write - - - LEN - CRC length in number of bytes. - 0 - 1 - - - Disabled - CRC length is zero and CRC calculation is disabled - 0 - - - One - CRC length is one byte and CRC calculation is enabled - 1 - - - Two - CRC length is two bytes and CRC calculation is enabled - 2 - - - Three - CRC length is three bytes and CRC calculation is enabled - 3 - - - - - SKIPADDR - Include or exclude packet address field out of CRC calculation. - 8 - 8 - - - Include - CRC calculation includes address field - 0 - - - Skip - CRC calculation does not include address field. The CRC calculation will start at the first byte after the address. - 1 - - - - - - - CRCPOLY - CRC polynomial - 0x538 - read-write - 0x00000000 - - - CRCPOLY - CRC polynomial - 0 - 23 - - - - - CRCINIT - CRC initial value - 0x53C - read-write - - - CRCINIT - CRC initial value - 0 - 23 - - - - - UNUSED0 - Unspecified - 0x540 - read-write - - - TIFS - Inter Frame Spacing in us - 0x544 - read-write - - - TIFS - Inter Frame Spacing in us - 0 - 7 - - - - - RSSISAMPLE - RSSI sample - 0x548 - read-only - - - RSSISAMPLE - RSSI sample - 0 - 6 - - - - - STATE - Current radio state - 0x550 - read-only - - - STATE - Current radio state - 0 - 3 - - - Disabled - RADIO is in the Disabled state - 0 - - - RxRu - RADIO is in the RXRU state - 1 - - - RxIdle - RADIO is in the RXIDLE state - 2 - - - Rx - RADIO is in the RX state - 3 - - - RxDisable - RADIO is in the RXDISABLED state - 4 - - - TxRu - RADIO is in the TXRU state - 9 - - - TxIdle - RADIO is in the TXIDLE state - 10 - - - Tx - RADIO is in the TX state - 11 - - - TxDisable - RADIO is in the TXDISABLED state - 12 - - - - - - - DATAWHITEIV - Data whitening initial value - 0x554 - read-write - 0x00000040 - - - DATAWHITEIV - Data whitening initial value. Bit 6 is hard-wired to '1', writing '0' to it has no effect, and it will always be read back and used by the device as '1'. - 0 - 6 - - - - - BCC - Bit counter compare - 0x560 - read-write - - - BCC - Bit counter compare - 0 - 31 - - - - - 8 - 4 - 0-7 - DAB[%s] - Description collection[0]: Device address base segment 0 - 0x600 - read-write - - - DAB - Device address base segment 0 - 0 - 31 - - - - - 8 - 4 - 0-7 - DAP[%s] - Description collection[0]: Device address prefix 0 - 0x620 - read-write - - - DAP - Device address prefix 0 - 0 - 15 - - - - - DACNF - Device address match configuration - 0x640 - read-write - - - ENA0 - Enable or disable device address matching using device address 0 - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA1 - Enable or disable device address matching using device address 1 - 1 - 1 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA2 - Enable or disable device address matching using device address 2 - 2 - 2 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA3 - Enable or disable device address matching using device address 3 - 3 - 3 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA4 - Enable or disable device address matching using device address 4 - 4 - 4 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA5 - Enable or disable device address matching using device address 5 - 5 - 5 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA6 - Enable or disable device address matching using device address 6 - 6 - 6 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA7 - Enable or disable device address matching using device address 7 - 7 - 7 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - TXADD0 - TxAdd for device address 0 - 8 - 8 - - - TXADD1 - TxAdd for device address 1 - 9 - 9 - - - TXADD2 - TxAdd for device address 2 - 10 - 10 - - - TXADD3 - TxAdd for device address 3 - 11 - 11 - - - TXADD4 - TxAdd for device address 4 - 12 - 12 - - - TXADD5 - TxAdd for device address 5 - 13 - 13 - - - TXADD6 - TxAdd for device address 6 - 14 - 14 - - - TXADD7 - TxAdd for device address 7 - 15 - 15 - - - - - MODECNF0 - Radio mode configuration register 0 - 0x650 - read-write - 0x00000200 - - - RU - Radio ramp-up time - 0 - 0 - - - Default - Default ramp-up time, compatible with nRF51 - 0 - - - Fast - Fast ramp-up, see product specification for more information - 1 - - - - - DTX - Default TX value - 8 - 9 - - - B1 - Transmit '1' - 0 - - - B0 - Transmit '0' - 1 - - - Center - Transmit center frequency - 2 - - - - - - - POWER - Peripheral power control - 0xFFC - read-write - 0x00000001 - - - POWER - Peripheral power control. The peripheral and its registers will be reset to its initial state by switching the peripheral off and then back on again. - 0 - 0 - - - Disabled - Peripheral is powered off - 0 - - - Enabled - Peripheral is powered on - 1 - - - - - - - - - UARTE0 - UART with EasyDMA - UARTE - 0x40002000 - 32 - UARTE - - 0 - 0x1000 - registers - - - UARTE0_UART0 - 2 - - - - TASKS_STARTRX - Start UART receiver - 0x000 - write-only - - - TASKS_STOPRX - Stop UART receiver - 0x004 - write-only - - - TASKS_STARTTX - Start UART transmitter - 0x008 - write-only - - - TASKS_STOPTX - Stop UART transmitter - 0x00C - write-only - - - TASKS_FLUSHRX - Flush RX FIFO into RX buffer - 0x02C - write-only - - - EVENTS_CTS - CTS is activated (set low). Clear To Send. - 0x100 - read-write - - - EVENTS_NCTS - CTS is deactivated (set high). Not Clear To Send. - 0x104 - read-write - - - EVENTS_ENDRX - Receive buffer is filled up - 0x110 - read-write - - - EVENTS_ENDTX - Last TX byte transmitted - 0x120 - read-write - - - EVENTS_ERROR - Error detected - 0x124 - read-write - - - EVENTS_RXTO - Receiver timeout - 0x144 - read-write - - - EVENTS_RXSTARTED - UART receiver has started - 0x14C - read-write - - - EVENTS_TXSTARTED - UART transmitter has started - 0x150 - read-write - - - EVENTS_TXSTOPPED - Transmitter stopped - 0x158 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - ENDRX_STARTRX - Shortcut between EVENTS_ENDRX event and TASKS_STARTRX task - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - ENDRX_STOPRX - Shortcut between EVENTS_ENDRX event and TASKS_STOPRX task - 6 - 6 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - CTS - Enable or disable interrupt on EVENTS_CTS event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - NCTS - Enable or disable interrupt on EVENTS_NCTS event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDRX - Enable or disable interrupt on EVENTS_ENDRX event - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDTX - Enable or disable interrupt on EVENTS_ENDTX event - 8 - 8 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ERROR - Enable or disable interrupt on EVENTS_ERROR event - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXTO - Enable or disable interrupt on EVENTS_RXTO event - 17 - 17 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXSTARTED - Enable or disable interrupt on EVENTS_RXSTARTED event - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXSTARTED - Enable or disable interrupt on EVENTS_TXSTARTED event - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXSTOPPED - Enable or disable interrupt on EVENTS_TXSTOPPED event - 22 - 22 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - CTS - Write '1' to Enable interrupt on EVENTS_CTS event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - NCTS - Write '1' to Enable interrupt on EVENTS_NCTS event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDRX - Write '1' to Enable interrupt on EVENTS_ENDRX event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDTX - Write '1' to Enable interrupt on EVENTS_ENDTX event - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to Enable interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXTO - Write '1' to Enable interrupt on EVENTS_RXTO event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXSTARTED - Write '1' to Enable interrupt on EVENTS_RXSTARTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXSTARTED - Write '1' to Enable interrupt on EVENTS_TXSTARTED event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXSTOPPED - Write '1' to Enable interrupt on EVENTS_TXSTOPPED event - 22 - 22 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - CTS - Write '1' to Clear interrupt on EVENTS_CTS event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - NCTS - Write '1' to Clear interrupt on EVENTS_NCTS event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDRX - Write '1' to Clear interrupt on EVENTS_ENDRX event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDTX - Write '1' to Clear interrupt on EVENTS_ENDTX event - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to Clear interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXTO - Write '1' to Clear interrupt on EVENTS_RXTO event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXSTARTED - Write '1' to Clear interrupt on EVENTS_RXSTARTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXSTARTED - Write '1' to Clear interrupt on EVENTS_TXSTARTED event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXSTOPPED - Write '1' to Clear interrupt on EVENTS_TXSTOPPED event - 22 - 22 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x480 - read-write - oneToClear - - - OVERRUN - Overrun error - 0 - 0 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - PARITY - Parity error - 1 - 1 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - FRAMING - Framing error occurred - 2 - 2 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - BREAK - Break condition - 3 - 3 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - - - ENABLE - Enable UART - 0x500 - read-write - - - ENABLE - Enable or disable UARTE - 0 - 3 - - - Disabled - Disable UARTE - 0 - - - Enabled - Enable UARTE - 8 - - - - - - - PSEL - Unspecified - UARTE_PSEL - 0x508 - - RTS - Pin select for RTS signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - TXD - Pin select for TXD signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - CTS - Pin select for CTS signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - RXD - Pin select for RXD signal - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - BAUDRATE - Baud rate - 0x524 - read-write - 0x04000000 - - - BAUDRATE - Baud-rate - 0 - 31 - - - Baud1200 - 1200 baud (actual rate: 1205) - 0x0004F000 - - - Baud2400 - 2400 baud (actual rate: 2396) - 0x0009D000 - - - Baud4800 - 4800 baud (actual rate: 4808) - 0x0013B000 - - - Baud9600 - 9600 baud (actual rate: 9598) - 0x00275000 - - - Baud14400 - 14400 baud (actual rate: 14401) - 0x003AF000 - - - Baud19200 - 19200 baud (actual rate: 19208) - 0x004EA000 - - - Baud28800 - 28800 baud (actual rate: 28777) - 0x0075C000 - - - Baud38400 - 38400 baud (actual rate: 38369) - 0x009D0000 - - - Baud57600 - 57600 baud (actual rate: 57554) - 0x00EB0000 - - - Baud76800 - 76800 baud (actual rate: 76923) - 0x013A9000 - - - Baud115200 - 115200 baud (actual rate: 115108) - 0x01D60000 - - - Baud230400 - 230400 baud (actual rate: 231884) - 0x03B00000 - - - Baud250000 - 250000 baud - 0x04000000 - - - Baud460800 - 460800 baud (actual rate: 457143) - 0x07400000 - - - Baud921600 - 921600 baud (actual rate: 941176) - 0x0F000000 - - - Baud1M - 1Mega baud - 0x10000000 - - - - - - - RXD - RXD EasyDMA channel - UARTE_RXD - 0x534 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in buffer - 0 - 7 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 7 - - - - - - TXD - TXD EasyDMA channel - UARTE_TXD - 0x544 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in buffer - 0 - 7 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 7 - - - - - - CONFIG - Configuration of parity and hardware flow control - 0x56C - read-write - - - HWFC - Hardware flow control - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - PARITY - Parity - 1 - 3 - - - Excluded - Exclude parity bit - 0x0 - - - Included - Include parity bit - 0x7 - - - - - - - - - SPIM0 - Serial Peripheral Interface Master with EasyDMA 0 - SPIM - 0x40003000 - 32 - SPIM - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - - - TASKS_START - Start SPI transaction - 0x010 - write-only - - - TASKS_STOP - Stop SPI transaction - 0x014 - write-only - - - TASKS_SUSPEND - Suspend SPI transaction - 0x01C - write-only - - - TASKS_RESUME - Resume SPI transaction - 0x020 - write-only - - - EVENTS_STOPPED - SPI transaction has stopped - 0x104 - read-write - - - EVENTS_ENDRX - End of RXD buffer reached - 0x110 - read-write - - - EVENTS_END - End of RXD buffer and TXD buffer reached - 0x118 - read-write - - - EVENTS_ENDTX - End of TXD buffer reached - 0x120 - read-write - - - EVENTS_STARTED - Transaction started - 0x14C - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - END_START - Shortcut between EVENTS_END event and TASKS_START task - 17 - 17 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDRX - Write '1' to Enable interrupt on EVENTS_ENDRX event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - END - Write '1' to Enable interrupt on EVENTS_END event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDTX - Write '1' to Enable interrupt on EVENTS_ENDTX event - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STARTED - Write '1' to Enable interrupt on EVENTS_STARTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDRX - Write '1' to Clear interrupt on EVENTS_ENDRX event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - END - Write '1' to Clear interrupt on EVENTS_END event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDTX - Write '1' to Clear interrupt on EVENTS_ENDTX event - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STARTED - Write '1' to Clear interrupt on EVENTS_STARTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - Enable SPIM - 0x500 - read-write - - - ENABLE - Enable or disable SPIM - 0 - 3 - - - Disabled - Disable SPIM - 0 - - - Enabled - Enable SPIM - 7 - - - - - - - PSEL - Unspecified - SPIM_PSEL - 0x508 - - SCK - Pin select for SCK - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MOSI - Pin select for MOSI signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MISO - Pin select for MISO signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - FREQUENCY - SPI frequency - 0x524 - read-write - 0x04000000 - - - FREQUENCY - SPI master data rate - 0 - 31 - - - K125 - 125 kbps - 0x02000000 - - - K250 - 250 kbps - 0x04000000 - - - K500 - 500 kbps - 0x08000000 - - - M1 - 1 Mbps - 0x10000000 - - - M2 - 2 Mbps - 0x20000000 - - - M4 - 4 Mbps - 0x40000000 - - - M8 - 8 Mbps - 0x80000000 - - - - - - - RXD - RXD EasyDMA channel - SPIM_RXD - 0x534 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of buffer words to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of buffer words to transfer - 0 - 7 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 7 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 2 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - TXD - TXD EasyDMA channel - SPIM_TXD - 0x544 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of buffer words to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of buffer words to transfer - 0 - 7 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 7 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 2 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - CONFIG - Configuration register - 0x554 - read-write - - - ORDER - Bit order - 0 - 0 - - - MsbFirst - Most significant bit shifted out first - 0 - - - LsbFirst - Least significant bit shifted out first - 1 - - - - - CPHA - Serial clock (SCK) phase - 1 - 1 - - - Leading - Sample on leading edge of clock, shift serial data on trailing edge - 0 - - - Trailing - Sample on trailing edge of clock, shift serial data on leading edge - 1 - - - - - CPOL - Serial clock (SCK) polarity - 2 - 2 - - - ActiveHigh - Active high - 0 - - - ActiveLow - Active low - 1 - - - - - - - ORC - Over-read character. Character clocked out in case and over-read of the TXD buffer. - 0x5C0 - read-write - - - ORC - Over-read character. Character clocked out in case and over-read of the TXD buffer. - 0 - 7 - - - - - - - SPIS0 - SPI Slave 0 - SPIS - 0x40003000 - 32 - SPIM0 - SPIS - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - - - TASKS_ACQUIRE - Acquire SPI semaphore - 0x024 - write-only - - - TASKS_RELEASE - Release SPI semaphore, enabling the SPI slave to acquire it - 0x028 - write-only - - - EVENTS_END - Granted transaction completed - 0x104 - read-write - - - EVENTS_ACQUIRED - Semaphore acquired - 0x128 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - END_ACQUIRE - Shortcut between EVENTS_END event and TASKS_ACQUIRE task - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - END - Write '1' to Enable interrupt on EVENTS_END event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ACQUIRED - Write '1' to Enable interrupt on EVENTS_ACQUIRED event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - END - Write '1' to Clear interrupt on EVENTS_END event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ACQUIRED - Write '1' to Clear interrupt on EVENTS_ACQUIRED event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - SEMSTAT - Semaphore status register - 0x400 - read-only - 0x00000001 - - - SEMSTAT - Semaphore status - 0 - 1 - - - Free - Semaphore is free - 0 - - - CPU - Semaphore is assigned to CPU - 1 - - - SPIS - Semaphore is assigned to SPI slave - 2 - - - CPUPending - Semaphore is assigned to SPI but a handover to the CPU is pending - 3 - - - - - - - STATUS - Status from last transaction - 0x440 - read-write - - - OVERREAD - TX buffer over-read detected, and prevented - 0 - 0 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - write - - Clear - Write: clear error on writing '1' - 1 - - - - - OVERFLOW - RX buffer overflow detected, and prevented - 1 - 1 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - write - - Clear - Write: clear error on writing '1' - 1 - - - - - - - ENABLE - Enable SPI slave - 0x500 - read-write - - - ENABLE - Enable or disable SPI slave - 0 - 3 - - - Disabled - Disable SPI slave - 0 - - - Enabled - Enable SPI slave - 2 - - - - - - - PSEL - Unspecified - SPIS_PSEL - 0x508 - - SCK - Pin select for SCK - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MISO - Pin select for MISO signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MOSI - Pin select for MOSI signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - CSN - Pin select for CSN signal - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - RXD - Unspecified - SPIS_RXD - 0x534 - - PTR - RXD data pointer - 0x000 - read-write - - - PTR - RXD data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in receive buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in receive buffer - 0 - 7 - - - - - AMOUNT - Number of bytes received in last granted transaction - 0x008 - read-only - - - AMOUNT - Number of bytes received in the last granted transaction - 0 - 7 - - - - - - TXD - Unspecified - SPIS_TXD - 0x544 - - PTR - TXD data pointer - 0x000 - read-write - - - PTR - TXD data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in transmit buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in transmit buffer - 0 - 7 - - - - - AMOUNT - Number of bytes transmitted in last granted transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transmitted in last granted transaction - 0 - 7 - - - - - - CONFIG - Configuration register - 0x554 - read-write - - - ORDER - Bit order - 0 - 0 - - - MsbFirst - Most significant bit shifted out first - 0 - - - LsbFirst - Least significant bit shifted out first - 1 - - - - - CPHA - Serial clock (SCK) phase - 1 - 1 - - - Leading - Sample on leading edge of clock, shift serial data on trailing edge - 0 - - - Trailing - Sample on trailing edge of clock, shift serial data on leading edge - 1 - - - - - CPOL - Serial clock (SCK) polarity - 2 - 2 - - - ActiveHigh - Active high - 0 - - - ActiveLow - Active low - 1 - - - - - - - DEF - Default character. Character clocked out in case of an ignored transaction. - 0x55C - read-write - - - DEF - Default character. Character clocked out in case of an ignored transaction. - 0 - 7 - - - - - ORC - Over-read character - 0x5C0 - read-write - - - ORC - Over-read character. Character clocked out after an over-read of the transmit buffer. - 0 - 7 - - - - - - - TWIM0 - I2C compatible Two-Wire Master Interface with EasyDMA 0 - TWIM - 0x40003000 - 32 - SPIM0 - TWIM - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - - - TASKS_STARTRX - Start TWI receive sequence - 0x000 - write-only - - - TASKS_STARTTX - Start TWI transmit sequence - 0x008 - write-only - - - TASKS_STOP - Stop TWI transaction - 0x014 - write-only - - - TASKS_SUSPEND - Suspend TWI transaction - 0x01C - write-only - - - TASKS_RESUME - Resume TWI transaction - 0x020 - write-only - - - EVENTS_STOPPED - TWI stopped - 0x104 - read-write - - - EVENTS_ERROR - TWI error - 0x124 - read-write - - - EVENTS_RXSTARTED - Receive sequence started - 0x14C - read-write - - - EVENTS_TXSTARTED - Transmit sequence started - 0x150 - read-write - - - EVENTS_LASTRX - Byte boundary, starting to receive the last byte - 0x15C - read-write - - - EVENTS_LASTTX - Byte boundary, starting to transmit the last byte - 0x160 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - LASTTX_STARTRX - Shortcut between EVENTS_LASTTX event and TASKS_STARTRX task - 7 - 7 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTTX_SUSPEND - Shortcut between EVENTS_LASTTX event and TASKS_SUSPEND task - 8 - 8 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTTX_STOP - Shortcut between EVENTS_LASTTX event and TASKS_STOP task - 9 - 9 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTRX_STARTTX - Shortcut between EVENTS_LASTRX event and TASKS_STARTTX task - 10 - 10 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTRX_STOP - Shortcut between EVENTS_LASTRX event and TASKS_STOP task - 12 - 12 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STOPPED - Enable or disable interrupt on EVENTS_STOPPED event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ERROR - Enable or disable interrupt on EVENTS_ERROR event - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXSTARTED - Enable or disable interrupt on EVENTS_RXSTARTED event - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXSTARTED - Enable or disable interrupt on EVENTS_TXSTARTED event - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - LASTRX - Enable or disable interrupt on EVENTS_LASTRX event - 23 - 23 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - LASTTX - Enable or disable interrupt on EVENTS_LASTTX event - 24 - 24 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to Enable interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXSTARTED - Write '1' to Enable interrupt on EVENTS_RXSTARTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXSTARTED - Write '1' to Enable interrupt on EVENTS_TXSTARTED event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - LASTRX - Write '1' to Enable interrupt on EVENTS_LASTRX event - 23 - 23 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - LASTTX - Write '1' to Enable interrupt on EVENTS_LASTTX event - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to Clear interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXSTARTED - Write '1' to Clear interrupt on EVENTS_RXSTARTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXSTARTED - Write '1' to Clear interrupt on EVENTS_TXSTARTED event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - LASTRX - Write '1' to Clear interrupt on EVENTS_LASTRX event - 23 - 23 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - LASTTX - Write '1' to Clear interrupt on EVENTS_LASTTX event - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x4C4 - read-write - - - ANACK - NACK received after sending the address (write '1' to clear) - 1 - 1 - - - NotReceived - Error did not occur - 0 - - - Received - Error occurred - 1 - - - - - DNACK - NACK received after sending a data byte (write '1' to clear) - 2 - 2 - - - NotReceived - Error did not occur - 0 - - - Received - Error occurred - 1 - - - - - - - ENABLE - Enable TWIM - 0x500 - read-write - - - ENABLE - Enable or disable TWIM - 0 - 3 - - - Disabled - Disable TWIM - 0 - - - Enabled - Enable TWIM - 6 - - - - - - - PSEL - Unspecified - TWIM_PSEL - 0x508 - - SCL - Pin select for SCL signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDA - Pin select for SDA signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - FREQUENCY - TWI frequency - 0x524 - read-write - 0x04000000 - - - FREQUENCY - TWI master clock frequency - 0 - 31 - - - K100 - 100 kbps - 0x01980000 - - - K250 - 250 kbps - 0x04000000 - - - K400 - 400 kbps - 0x06400000 - - - - - - - RXD - RXD EasyDMA channel - TWIM_RXD - 0x534 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of buffer words to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of buffer words to transfer - 0 - 7 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte. - 0 - 7 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 2 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - TXD - TXD EasyDMA channel - TWIM_TXD - 0x544 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of buffer words to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of buffer words to transfer - 0 - 7 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte. - 0 - 7 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 2 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - ADDRESS - Address used in the TWI transfer - 0x588 - read-write - - - ADDRESS - Address used in the TWI transfer - 0 - 6 - - - - - - - TWIS0 - I2C compatible Two-Wire Slave Interface with EasyDMA 0 - TWIS - 0x40003000 - 32 - SPIM0 - TWIS - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - - - TASKS_STOP - Stop TWI transaction - 0x014 - write-only - - - TASKS_SUSPEND - Suspend TWI transaction - 0x01C - write-only - - - TASKS_RESUME - Resume TWI transaction - 0x020 - write-only - - - TASKS_PREPARERX - Prepare the TWI slave to respond to a write command - 0x030 - write-only - - - TASKS_PREPARETX - Prepare the TWI slave to respond to a read command - 0x034 - write-only - - - EVENTS_STOPPED - TWI stopped - 0x104 - read-write - - - EVENTS_ERROR - TWI error - 0x124 - read-write - - - EVENTS_RXSTARTED - Receive sequence started - 0x14C - read-write - - - EVENTS_TXSTARTED - Transmit sequence started - 0x150 - read-write - - - EVENTS_WRITE - Write command received - 0x164 - read-write - - - EVENTS_READ - Read command received - 0x168 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - WRITE_SUSPEND - Shortcut between EVENTS_WRITE event and TASKS_SUSPEND task - 13 - 13 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - READ_SUSPEND - Shortcut between EVENTS_READ event and TASKS_SUSPEND task - 14 - 14 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STOPPED - Enable or disable interrupt on EVENTS_STOPPED event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ERROR - Enable or disable interrupt on EVENTS_ERROR event - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXSTARTED - Enable or disable interrupt on EVENTS_RXSTARTED event - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXSTARTED - Enable or disable interrupt on EVENTS_TXSTARTED event - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - WRITE - Enable or disable interrupt on EVENTS_WRITE event - 25 - 25 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - READ - Enable or disable interrupt on EVENTS_READ event - 26 - 26 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to Enable interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXSTARTED - Write '1' to Enable interrupt on EVENTS_RXSTARTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXSTARTED - Write '1' to Enable interrupt on EVENTS_TXSTARTED event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - WRITE - Write '1' to Enable interrupt on EVENTS_WRITE event - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - READ - Write '1' to Enable interrupt on EVENTS_READ event - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to Clear interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXSTARTED - Write '1' to Clear interrupt on EVENTS_RXSTARTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXSTARTED - Write '1' to Clear interrupt on EVENTS_TXSTARTED event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - WRITE - Write '1' to Clear interrupt on EVENTS_WRITE event - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - READ - Write '1' to Clear interrupt on EVENTS_READ event - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x4D0 - read-write - oneToClear - - - OVERFLOW - RX buffer overflow detected, and prevented - 0 - 0 - - - NotDetected - Error did not occur - 0 - - - Detected - Error occurred - 1 - - - - - DNACK - NACK sent after receiving a data byte - 2 - 2 - - - NotReceived - Error did not occur - 0 - - - Received - Error occurred - 1 - - - - - OVERREAD - TX buffer over-read detected, and prevented - 3 - 3 - - - NotDetected - Error did not occur - 0 - - - Detected - Error occurred - 1 - - - - - - - MATCH - Status register indicating which address had a match - 0x4D4 - read-only - - - MATCH - Which of the addresses in {ADDRESS} matched the incoming address - 0 - 0 - - - - - ENABLE - Enable TWIS - 0x500 - read-write - - - ENABLE - Enable or disable TWIS - 0 - 3 - - - Disabled - Disable TWIS - 0 - - - Enabled - Enable TWIS - 9 - - - - - - - PSEL - Unspecified - TWIS_PSEL - 0x508 - - SCL - Pin select for SCL signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDA - Pin select for SDA signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - RXD - RXD EasyDMA channel - TWIS_RXD - 0x534 - - PTR - RXD Data pointer - 0x000 - read-write - - - PTR - RXD Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in RXD buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in RXD buffer - 0 - 7 - - - - - AMOUNT - Number of bytes transferred in the last RXD transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last RXD transaction - 0 - 7 - - - - - - TXD - TXD EasyDMA channel - TWIS_TXD - 0x544 - - PTR - TXD Data pointer - 0x000 - read-write - - - PTR - TXD Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in TXD buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in TXD buffer - 0 - 7 - - - - - AMOUNT - Number of bytes transferred in the last TXD transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last TXD transaction - 0 - 7 - - - - - - 2 - 4 - 0-1 - ADDRESS[%s] - Description collection[0]: TWI slave address 0 - 0x588 - read-write - - - ADDRESS - TWI slave address - 0 - 6 - - - - - CONFIG - Configuration register for the address match mechanism - 0x594 - read-write - 0x00000001 - - - ADDRESS0 - Enable or disable address matching on ADDRESS[0] - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ADDRESS1 - Enable or disable address matching on ADDRESS[1] - 1 - 1 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - - - ORC - Over-read character. Character sent out in case of an over-read of the transmit buffer. - 0x5C0 - read-write - - - ORC - Over-read character. Character sent out in case of an over-read of the transmit buffer. - 0 - 7 - - - - - - - SPI0 - Serial Peripheral Interface 0 - SPI - 0x40003000 - 32 - SPIM0 - SPI - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - - - EVENTS_READY - TXD byte sent and RXD byte received - 0x108 - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to Enable interrupt on EVENTS_READY event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to Clear interrupt on EVENTS_READY event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - Enable SPI - 0x500 - read-write - - - ENABLE - Enable or disable SPI - 0 - 3 - - - Disabled - Disable SPI - 0 - - - Enabled - Enable SPI - 1 - - - - - - - PSEL - Unspecified - SPI_PSEL - 0x508 - - SCK - Pin select for SCK - 0x000 - read-write - 0xFFFFFFFF - - - PSELSCK - Pin number configuration for SPI SCK signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - MOSI - Pin select for MOSI - 0x004 - read-write - 0xFFFFFFFF - - - PSELMOSI - Pin number configuration for SPI MOSI signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - MISO - Pin select for MISO - 0x008 - read-write - 0xFFFFFFFF - - - PSELMISO - Pin number configuration for SPI MISO signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - - RXD - RXD register - 0x518 - read-only - - - RXD - RX data received. Double buffered - 0 - 7 - - - - - TXD - TXD register - 0x51C - read-write - - - TXD - TX data to send. Double buffered - 0 - 7 - - - - - FREQUENCY - SPI frequency - 0x524 - read-write - 0x04000000 - - - FREQUENCY - SPI master data rate - 0 - 31 - - - K125 - 125 kbps - 0x02000000 - - - K250 - 250 kbps - 0x04000000 - - - K500 - 500 kbps - 0x08000000 - - - M1 - 1 Mbps - 0x10000000 - - - M2 - 2 Mbps - 0x20000000 - - - M4 - 4 Mbps - 0x40000000 - - - M8 - 8 Mbps - 0x80000000 - - - - - - - CONFIG - Configuration register - 0x554 - read-write - - - ORDER - Bit order - 0 - 0 - - - MsbFirst - Most significant bit shifted out first - 0 - - - LsbFirst - Least significant bit shifted out first - 1 - - - - - CPHA - Serial clock (SCK) phase - 1 - 1 - - - Leading - Sample on leading edge of clock, shift serial data on trailing edge - 0 - - - Trailing - Sample on trailing edge of clock, shift serial data on leading edge - 1 - - - - - CPOL - Serial clock (SCK) polarity - 2 - 2 - - - ActiveHigh - Active high - 0 - - - ActiveLow - Active low - 1 - - - - - - - - - TWI0 - I2C compatible Two-Wire Interface 0 - TWI - 0x40003000 - 32 - SPIM0 - TWI - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - - - TASKS_STARTRX - Start TWI receive sequence - 0x000 - write-only - - - TASKS_STARTTX - Start TWI transmit sequence - 0x008 - write-only - - - TASKS_STOP - Stop TWI transaction - 0x014 - write-only - - - TASKS_SUSPEND - Suspend TWI transaction - 0x01C - write-only - - - TASKS_RESUME - Resume TWI transaction - 0x020 - write-only - - - EVENTS_STOPPED - TWI stopped - 0x104 - read-write - - - EVENTS_RXDREADY - TWI RXD byte received - 0x108 - read-write - - - EVENTS_TXDSENT - TWI TXD byte sent - 0x11C - read-write - - - EVENTS_ERROR - TWI error - 0x124 - read-write - - - EVENTS_BB - TWI byte boundary, generated before each byte that is sent or received - 0x138 - read-write - - - EVENTS_SUSPENDED - TWI entered the suspended state - 0x148 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - BB_SUSPEND - Shortcut between EVENTS_BB event and TASKS_SUSPEND task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - BB_STOP - Shortcut between EVENTS_BB event and TASKS_STOP task - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXDREADY - Write '1' to Enable interrupt on EVENTS_RXDREADY event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXDSENT - Write '1' to Enable interrupt on EVENTS_TXDSENT event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to Enable interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - BB - Write '1' to Enable interrupt on EVENTS_BB event - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SUSPENDED - Write '1' to Enable interrupt on EVENTS_SUSPENDED event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXDREADY - Write '1' to Clear interrupt on EVENTS_RXDREADY event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXDSENT - Write '1' to Clear interrupt on EVENTS_TXDSENT event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to Clear interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - BB - Write '1' to Clear interrupt on EVENTS_BB event - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SUSPENDED - Write '1' to Clear interrupt on EVENTS_SUSPENDED event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x4C4 - read-write - oneToClear - - - OVERRUN - Overrun error - 0 - 0 - - read - - NotPresent - Read: no overrun occured - 0 - - - Present - Read: overrun occured - 1 - - - - - ANACK - NACK received after sending the address (write '1' to clear) - 1 - 1 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - DNACK - NACK received after sending a data byte (write '1' to clear) - 2 - 2 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - - - ENABLE - Enable TWI - 0x500 - read-write - - - ENABLE - Enable or disable TWI - 0 - 3 - - - Disabled - Disable TWI - 0 - - - Enabled - Enable TWI - 5 - - - - - - - PSELSCL - Pin select for SCL - 0x508 - read-write - 0xFFFFFFFF - - - PSELSCL - Pin number configuration for TWI SCL signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - PSELSDA - Pin select for SDA - 0x50C - read-write - 0xFFFFFFFF - - - PSELSDA - Pin number configuration for TWI SDA signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - RXD - RXD register - 0x518 - read-only - - - RXD - RXD register - 0 - 7 - - - - - TXD - TXD register - 0x51C - read-write - - - TXD - TXD register - 0 - 7 - - - - - FREQUENCY - TWI frequency - 0x524 - read-write - 0x04000000 - - - FREQUENCY - TWI master clock frequency - 0 - 31 - - - K100 - 100 kbps - 0x01980000 - - - K250 - 250 kbps - 0x04000000 - - - K400 - 400 kbps (actual rate 410.256 kbps) - 0x06680000 - - - - - - - ADDRESS - Address used in the TWI transfer - 0x588 - read-write - - - ADDRESS - Address used in the TWI transfer - 0 - 6 - - - - - - - SPIM1 - Serial Peripheral Interface Master with EasyDMA 1 - SPIM - 0x40004000 - 32 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - SPIS1 - SPI Slave 1 - SPIS - 0x40004000 - 32 - SPIM1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - TWIM1 - I2C compatible Two-Wire Master Interface with EasyDMA 1 - TWIM - 0x40004000 - 32 - SPIM1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - TWIS1 - I2C compatible Two-Wire Slave Interface with EasyDMA 1 - TWIS - 0x40004000 - 32 - SPIM1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - SPI1 - Serial Peripheral Interface 1 - SPI - 0x40004000 - 32 - SPIM1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - NFCT - NFC-A compatible radio - NFCT - 0x40005000 - 32 - - 0 - 0x1000 - registers - - - NFCT - 5 - - - - TASKS_ACTIVATE - Activate NFC peripheral for incoming and outgoing frames, change state to activated - 0x000 - write-only - - - TASKS_DISABLE - Disable NFC peripheral - 0x004 - write-only - - - TASKS_SENSE - Enable NFC sense field mode, change state to sense mode - 0x008 - write-only - - - TASKS_STARTTX - Start transmission of a outgoing frame, change state to transmit - 0x00C - write-only - - - TASKS_ENABLERXDATA - Initializes the EasyDMA for receive. - 0x01C - write-only - - - TASKS_GOIDLE - Force state machine to IDLE state - 0x024 - write-only - - - TASKS_GOSLEEP - Force state machine to SLEEP_A state - 0x028 - write-only - - - EVENTS_READY - The NFC peripheral is ready to receive and send frames - 0x100 - read-write - - - EVENTS_FIELDDETECTED - Remote NFC field detected - 0x104 - read-write - - - EVENTS_FIELDLOST - Remote NFC field lost - 0x108 - read-write - - - EVENTS_TXFRAMESTART - Marks the start of the first symbol of a transmitted frame - 0x10C - read-write - - - EVENTS_TXFRAMEEND - Marks the end of the last transmitted on-air symbol of a frame - 0x110 - read-write - - - EVENTS_RXFRAMESTART - Marks the end of the first symbol of a received frame - 0x114 - read-write - - - EVENTS_RXFRAMEEND - Received data have been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer - 0x118 - read-write - - - EVENTS_ERROR - NFC error reported. The ERRORSTATUS register contains details on the source of the error. - 0x11C - read-write - - - EVENTS_RXERROR - NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error. - 0x128 - read-write - - - EVENTS_ENDRX - RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full. - 0x12C - read-write - - - EVENTS_ENDTX - Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer - 0x130 - read-write - - - EVENTS_AUTOCOLRESSTARTED - Auto collision resolution process has started - 0x138 - read-write - - - EVENTS_COLLISION - NFC Auto collision resolution error reported. - 0x148 - read-write - - - EVENTS_SELECTED - NFC Auto collision resolution successfully completed - 0x14C - read-write - - - EVENTS_STARTED - EasyDMA is ready to receive or send frames. - 0x150 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - FIELDDETECTED_ACTIVATE - Shortcut between EVENTS_FIELDDETECTED event and TASKS_ACTIVATE task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - FIELDLOST_SENSE - Shortcut between EVENTS_FIELDLOST event and TASKS_SENSE task - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - READY - Enable or disable interrupt on EVENTS_READY event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - FIELDDETECTED - Enable or disable interrupt on EVENTS_FIELDDETECTED event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - FIELDLOST - Enable or disable interrupt on EVENTS_FIELDLOST event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXFRAMESTART - Enable or disable interrupt on EVENTS_TXFRAMESTART event - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXFRAMEEND - Enable or disable interrupt on EVENTS_TXFRAMEEND event - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXFRAMESTART - Enable or disable interrupt on EVENTS_RXFRAMESTART event - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXFRAMEEND - Enable or disable interrupt on EVENTS_RXFRAMEEND event - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ERROR - Enable or disable interrupt on EVENTS_ERROR event - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXERROR - Enable or disable interrupt on EVENTS_RXERROR event - 10 - 10 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDRX - Enable or disable interrupt on EVENTS_ENDRX event - 11 - 11 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDTX - Enable or disable interrupt on EVENTS_ENDTX event - 12 - 12 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - AUTOCOLRESSTARTED - Enable or disable interrupt on EVENTS_AUTOCOLRESSTARTED event - 14 - 14 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - COLLISION - Enable or disable interrupt on EVENTS_COLLISION event - 18 - 18 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SELECTED - Enable or disable interrupt on EVENTS_SELECTED event - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STARTED - Enable or disable interrupt on EVENTS_STARTED event - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to Enable interrupt on EVENTS_READY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - FIELDDETECTED - Write '1' to Enable interrupt on EVENTS_FIELDDETECTED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - FIELDLOST - Write '1' to Enable interrupt on EVENTS_FIELDLOST event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXFRAMESTART - Write '1' to Enable interrupt on EVENTS_TXFRAMESTART event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXFRAMEEND - Write '1' to Enable interrupt on EVENTS_TXFRAMEEND event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXFRAMESTART - Write '1' to Enable interrupt on EVENTS_RXFRAMESTART event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXFRAMEEND - Write '1' to Enable interrupt on EVENTS_RXFRAMEEND event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to Enable interrupt on EVENTS_ERROR event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXERROR - Write '1' to Enable interrupt on EVENTS_RXERROR event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDRX - Write '1' to Enable interrupt on EVENTS_ENDRX event - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDTX - Write '1' to Enable interrupt on EVENTS_ENDTX event - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - AUTOCOLRESSTARTED - Write '1' to Enable interrupt on EVENTS_AUTOCOLRESSTARTED event - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COLLISION - Write '1' to Enable interrupt on EVENTS_COLLISION event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SELECTED - Write '1' to Enable interrupt on EVENTS_SELECTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STARTED - Write '1' to Enable interrupt on EVENTS_STARTED event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to Clear interrupt on EVENTS_READY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - FIELDDETECTED - Write '1' to Clear interrupt on EVENTS_FIELDDETECTED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - FIELDLOST - Write '1' to Clear interrupt on EVENTS_FIELDLOST event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXFRAMESTART - Write '1' to Clear interrupt on EVENTS_TXFRAMESTART event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXFRAMEEND - Write '1' to Clear interrupt on EVENTS_TXFRAMEEND event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXFRAMESTART - Write '1' to Clear interrupt on EVENTS_RXFRAMESTART event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXFRAMEEND - Write '1' to Clear interrupt on EVENTS_RXFRAMEEND event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to Clear interrupt on EVENTS_ERROR event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXERROR - Write '1' to Clear interrupt on EVENTS_RXERROR event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDRX - Write '1' to Clear interrupt on EVENTS_ENDRX event - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDTX - Write '1' to Clear interrupt on EVENTS_ENDTX event - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - AUTOCOLRESSTARTED - Write '1' to Clear interrupt on EVENTS_AUTOCOLRESSTARTED event - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COLLISION - Write '1' to Clear interrupt on EVENTS_COLLISION event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SELECTED - Write '1' to Clear interrupt on EVENTS_SELECTED event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STARTED - Write '1' to Clear interrupt on EVENTS_STARTED event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSTATUS - NFC Error Status register - 0x404 - read-write - oneToClear - - - FRAMEDELAYTIMEOUT - No STARTTX task triggered before expiration of the time set in FRAMEDELAYMAX - 0 - 0 - - - INVALIDNFCSYMBOL - The received pulse does not match a valid NFC-A symbol - 1 - 1 - - - NFCFIELDTOOSTRONG - Field level is too high at max load resistance - 2 - 2 - - - NFCFIELDTOOWEAK - Field level is too low at min load resistance - 3 - 3 - - - EOFERROR - No valid End of Frame detected - 6 - 6 - - - - - FRAMESTATUS - Unspecified - NFCT_FRAMESTATUS - 0x40C - - RX - Result of last incoming frames - 0x000 - read-write - oneToClear - - - CRCERROR - No valid End of Frame detected - 0 - 0 - - - CRCCorrect - Valid CRC detected - 0 - - - CRCError - CRC received does not match local check - 1 - - - - - PARITYSTATUS - Parity status of received frame - 2 - 2 - - - ParityOK - Frame received with parity OK - 0 - - - ParityError - Frame received with parity error - 1 - - - - - OVERRUN - Overrun detected - 3 - 3 - - - NoOverrun - No overrun detected - 0 - - - Overrun - Overrun error - 1 - - - - - - - - CURRENTLOADCTRL - Current value driven to the NFC Load Control - 0x430 - read-only - 0x00000008 - - - CURRENTLOADCTRL - Current value driven to the NFC Load Control - 0 - 5 - - - - - FIELDPRESENT - Indicates the presence or not of a valid field - 0x43C - read-only - - - FIELDPRESENT - Indicates the presence or not of a valid field. Linked to the FIELDDETECTED and FIELDLOST events. - 0 - 0 - - - NoField - No valid field detected - 0 - - - FieldPresent - Valid field detected - 1 - - - - - LOCKDETECT - Indicates if the low level has locked to the field - 1 - 1 - - - NotLocked - Not locked to field - 0 - - - Locked - Locked to field - 1 - - - - - - - FRAMEDELAYMIN - Minimum frame delay - 0x504 - read-write - 0x00000480 - - - FRAMEDELAYMIN - Minimum frame delay in number of 13.56 MHz clocks - 0 - 15 - - - - - FRAMEDELAYMAX - Maximum frame delay - 0x508 - read-write - 0x00001000 - - - FRAMEDELAYMAX - Maximum frame delay in number of 13.56 MHz clocks - 0 - 15 - - - - - FRAMEDELAYMODE - Configuration register for the Frame Delay Timer - 0x50C - read-write - 0x00000001 - - - FRAMEDELAYMODE - Configuration register for the Frame Delay Timer - 0 - 1 - - - FreeRun - Transmission is independent of frame timer and will start when the STARTTX task is triggered. No timeout. - 0 - - - Window - Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX - 1 - - - ExactVal - Frame is transmitted exactly at FRAMEDELAYMAX - 2 - - - WindowGrid - Frame is transmitted on a bit grid between FRAMEDELAYMIN and FRAMEDELAYMAX - 3 - - - - - - - PACKETPTR - Packet pointer for TXD and RXD data storage in Data RAM - 0x510 - read-write - - - PTR - Packet pointer for TXD and RXD data storage in Data RAM. This address is a byte aligned RAM address. - 0 - 31 - - - - - MAXLEN - Size of allocated for TXD and RXD data storage buffer in Data RAM - 0x514 - read-write - - - MAXLEN - Size of allocated for TXD and RXD data storage buffer in Data RAM - 0 - 8 - - - - - TXD - Unspecified - NFCT_TXD - 0x518 - - FRAMECONFIG - Configuration of outgoing frames - 0x000 - read-write - 0x00000017 - - - PARITY - Adding parity or not in the frame - 0 - 0 - - - NoParity - Parity is not added in TX frames - 0 - - - Parity - Parity is added TX frames - 1 - - - - - DISCARDMODE - Discarding unused bits in start or at end of a Frame - 1 - 1 - - - DiscardEnd - Unused bits is discarded at end of frame - 0 - - - DiscardStart - Unused bits is discarded at start of frame - 1 - - - - - SOF - Adding SoF or not in TX frames - 2 - 2 - - - NoSoF - Start of Frame symbol not added - 0 - - - SoF - Start of Frame symbol added - 1 - - - - - CRCMODETX - CRC mode for outgoing frames - 4 - 4 - - - NoCRCTX - CRC is not added to the frame - 0 - - - CRC16TX - 16 bit CRC added to the frame based on all the data read from RAM that is used in the frame - 1 - - - - - - - AMOUNT - Size of outgoing frame - 0x004 - read-write - - - TXDATABITS - Number of bits in the last or first byte read from RAM that shall be included in the frame (excluding parity bit). The DISCARDMODE field in FRAMECONFIG.TX selects if unused bits is discarded at the start or at the end of a frame. A value of 0 bytes and 0 bits is invalid. - 0 - 2 - - - TXDATABYTES - Number of complete bytes that shall be included in the frame, excluding CRC, parity and framing - 3 - 11 - - - - - - RXD - Unspecified - NFCT_RXD - 0x520 - - FRAMECONFIG - Configuration of incoming frames - 0x000 - read-write - 0x00000015 - - - PARITY - Parity expected or not in RX frame - 0 - 0 - - - NoParity - Parity is not expected in RX frames - 0 - - - Parity - Parity is expected in RX frames - 1 - - - - - SOF - SoF expected or not in RX frames - 2 - 2 - - - NoSoF - Start of Frame symbol is not expected in RX frames - 0 - - - SoF - Start of Frame symbol is expected in RX frames - 1 - - - - - CRCMODERX - CRC mode for incoming frames - 4 - 4 - - - NoCRCRX - CRC is not expected in RX frames - 0 - - - CRC16RX - Last 16 bits in RX frame is CRC, CRC is checked and CRCSTATUS updated - 1 - - - - - - - AMOUNT - Size of last incoming frame - 0x004 - read-only - - - RXDATABITS - Number of bits in the last byte in the frame, if less than 8 (including CRC, but excluding parity and SoF/EoF framing) - 0 - 2 - - - RXDATABYTES - Number of complete bytes received in the frame (including CRC, but excluding parity and SoF/EoF framing) - 3 - 11 - - - - - - NFCID1_LAST - Last NFCID1 part (4, 7 or 10 bytes ID) - 0x590 - read-write - 0x00006363 - - - NFCID1_Z - NFCID1 byte Z (very last byte sent) - 0 - 7 - - - NFCID1_Y - NFCID1 byte Y - 8 - 15 - - - NFCID1_X - NFCID1 byte X - 16 - 23 - - - NFCID1_W - NFCID1 byte W - 24 - 31 - - - - - NFCID1_2ND_LAST - Second last NFCID1 part (7 or 10 bytes ID) - 0x594 - read-write - - - NFCID1_V - NFCID1 byte V - 0 - 7 - - - NFCID1_U - NFCID1 byte U - 8 - 15 - - - NFCID1_T - NFCID1 byte T - 16 - 23 - - - - - NFCID1_3RD_LAST - Third last NFCID1 part (10 bytes ID) - 0x598 - read-write - - - NFCID1_S - NFCID1 byte S - 0 - 7 - - - NFCID1_R - NFCID1 byte R - 8 - 15 - - - NFCID1_Q - NFCID1 byte Q - 16 - 23 - - - - - AUTOCOLRESCONFIG - Controls the Auto collision resolution function. This setting must be done before the NFCT peripheral is enabled. - 0x59C - read-write - 0x00000002 - - - MODE - Enables/disables Auto collision resolution - 0 - 0 - - - Enabled - Auto collision resolution enabled - 0 - - - Disabled - Auto collision resolution disabled - 1 - - - - - FILTER - Enables/disables Auto collision resolution short frame (any frames less than 7 bits) noise filter - 1 - 1 - - - Off - Auto collision resolution short frame noise filter disabled - 0 - - - On - Auto collision resolution ignores any frames less than 7 bits - 1 - - - - - - - SENSRES - NFC-A SENS_RES auto-response settings - 0x5A0 - read-write - 0x00000001 - - - BITFRAMESDD - Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification - 0 - 4 - - - SDD00000 - SDD pattern 00000 - 0 - - - SDD00001 - SDD pattern 00001 - 1 - - - SDD00010 - SDD pattern 00010 - 2 - - - SDD00100 - SDD pattern 00100 - 4 - - - SDD01000 - SDD pattern 01000 - 8 - - - SDD10000 - SDD pattern 10000 - 16 - - - - - RFU5 - Reserved for future use. Shall be 0. - 5 - 5 - - - NFCIDSIZE - NFCID1 size. This value is used by the Auto collision resolution engine. - 6 - 7 - - - NFCID1Single - NFCID1 size: single (4 bytes) - 0 - - - NFCID1Double - NFCID1 size: double (7 bytes) - 1 - - - NFCID1Triple - NFCID1 size: triple (10 bytes) - 2 - - - - - PLATFCONFIG - Tag platform configuration as defined by the b4:b1 of byte 2 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification - 8 - 11 - - - RFU74 - Reserved for future use. Shall be 0. - 12 - 15 - - - - - SELRES - NFC-A SEL_RES auto-response settings - 0x5A4 - read-write - - - RFU10 - Reserved for future use. Shall be 0. - 0 - 1 - - - CASCADE - Cascade bit (controlled by hardware, write has no effect) - 2 - 2 - - - Complete - NFCID1 complete - 0 - - - NotComplete - NFCID1 not complete - 1 - - - - - RFU43 - Reserved for future use. Shall be 0. - 3 - 4 - - - PROTOCOL - Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification - 5 - 6 - - - RFU7 - Reserved for future use. Shall be 0. - 7 - 7 - - - - - - - GPIOTE - GPIO Tasks and Events - GPIOTE - 0x40006000 - 32 - - 0 - 0x1000 - registers - - - GPIOTE - 6 - - - - 8 - 4 - 0-7 - TASKS_OUT[%s] - Description collection[0]: Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is configured in CONFIG[0].POLARITY. - 0x000 - write-only - - - 8 - 4 - 0-7 - TASKS_SET[%s] - Description collection[0]: Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is to set it high. - 0x030 - write-only - - - 8 - 4 - 0-7 - TASKS_CLR[%s] - Description collection[0]: Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is to set it low. - 0x060 - write-only - - - 8 - 4 - 0-7 - EVENTS_IN[%s] - Description collection[0]: Event generated from pin specified in CONFIG[0].PSEL - 0x100 - read-write - - - EVENTS_PORT - Event generated from multiple input GPIO pins with SENSE mechanism enabled - 0x17C - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - IN0 - Write '1' to Enable interrupt on EVENTS_IN[0] event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN1 - Write '1' to Enable interrupt on EVENTS_IN[1] event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN2 - Write '1' to Enable interrupt on EVENTS_IN[2] event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN3 - Write '1' to Enable interrupt on EVENTS_IN[3] event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN4 - Write '1' to Enable interrupt on EVENTS_IN[4] event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN5 - Write '1' to Enable interrupt on EVENTS_IN[5] event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN6 - Write '1' to Enable interrupt on EVENTS_IN[6] event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN7 - Write '1' to Enable interrupt on EVENTS_IN[7] event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PORT - Write '1' to Enable interrupt on EVENTS_PORT event - 31 - 31 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - IN0 - Write '1' to Clear interrupt on EVENTS_IN[0] event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN1 - Write '1' to Clear interrupt on EVENTS_IN[1] event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN2 - Write '1' to Clear interrupt on EVENTS_IN[2] event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN3 - Write '1' to Clear interrupt on EVENTS_IN[3] event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN4 - Write '1' to Clear interrupt on EVENTS_IN[4] event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN5 - Write '1' to Clear interrupt on EVENTS_IN[5] event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN6 - Write '1' to Clear interrupt on EVENTS_IN[6] event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN7 - Write '1' to Clear interrupt on EVENTS_IN[7] event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PORT - Write '1' to Clear interrupt on EVENTS_PORT event - 31 - 31 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - 8 - 4 - 0-7 - CONFIG[%s] - Description collection[0]: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event - 0x510 - read-write - - - MODE - Mode - 0 - 1 - - - Disabled - Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module. - 0 - - - Event - Event mode - 1 - - - Task - Task mode - 3 - - - - - PSEL - GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event - 8 - 12 - - - POLARITY - When In task mode: Operation to be performed on output when OUT[n] task is triggered. When In event mode: Operation on input that shall trigger IN[n] event. - 16 - 17 - - - None - Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity. - 0 - - - LoToHi - Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin. - 1 - - - HiToLo - Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin. - 2 - - - Toggle - Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin. - 3 - - - - - OUTINIT - When in task mode: Initial value of the output when the GPIOTE channel is configured. When in event mode: No effect. - 20 - 20 - - - Low - Task mode: Initial value of pin before task triggering is low - 0 - - - High - Task mode: Initial value of pin before task triggering is high - 1 - - - - - - - - - SAADC - Analog to Digital Converter - SAADC - 0x40007000 - 32 - - 0 - 0x1000 - registers - - - SAADC - 7 - - - - TASKS_START - Start the ADC and prepare the result buffer in RAM - 0x000 - write-only - - - TASKS_SAMPLE - Take one ADC sample, if scan is enabled all channels are sampled - 0x004 - write-only - - - TASKS_STOP - Stop the ADC and terminate any on-going conversion - 0x008 - write-only - - - TASKS_CALIBRATEOFFSET - Starts offset auto-calibration - 0x00C - write-only - - - EVENTS_STARTED - The ADC has started - 0x100 - read-write - - - EVENTS_END - The ADC has filled up the Result buffer - 0x104 - read-write - - - EVENTS_DONE - A conversion task has been completed. Depending on the mode, multiple conversions might be needed for a result to be transferred to RAM. - 0x108 - read-write - - - EVENTS_RESULTDONE - A result is ready to get transferred to RAM - 0x10C - read-write - - - EVENTS_CALIBRATEDONE - Calibration is complete - 0x110 - read-write - - - EVENTS_STOPPED - The ADC has stopped - 0x114 - read-write - - - 8 - 8 - 0-7 - EVENTS_CH[%s] - Unspecified - SAADC_EVENTS_CH - 0x118 - - LIMITH - Description cluster[0]: Last results is equal or above CH[0].LIMIT.HIGH - 0x000 - read-write - - - LIMITL - Description cluster[0]: Last results is equal or below CH[0].LIMIT.LOW - 0x004 - read-write - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STARTED - Enable or disable interrupt on EVENTS_STARTED event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - END - Enable or disable interrupt on EVENTS_END event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - DONE - Enable or disable interrupt on EVENTS_DONE event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RESULTDONE - Enable or disable interrupt on EVENTS_RESULTDONE event - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CALIBRATEDONE - Enable or disable interrupt on EVENTS_CALIBRATEDONE event - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STOPPED - Enable or disable interrupt on EVENTS_STOPPED event - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH0LIMITH - Enable or disable interrupt on EVENTS_CH[0].LIMITH event - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH0LIMITL - Enable or disable interrupt on EVENTS_CH[0].LIMITL event - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH1LIMITH - Enable or disable interrupt on EVENTS_CH[1].LIMITH event - 8 - 8 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH1LIMITL - Enable or disable interrupt on EVENTS_CH[1].LIMITL event - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH2LIMITH - Enable or disable interrupt on EVENTS_CH[2].LIMITH event - 10 - 10 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH2LIMITL - Enable or disable interrupt on EVENTS_CH[2].LIMITL event - 11 - 11 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH3LIMITH - Enable or disable interrupt on EVENTS_CH[3].LIMITH event - 12 - 12 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH3LIMITL - Enable or disable interrupt on EVENTS_CH[3].LIMITL event - 13 - 13 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH4LIMITH - Enable or disable interrupt on EVENTS_CH[4].LIMITH event - 14 - 14 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH4LIMITL - Enable or disable interrupt on EVENTS_CH[4].LIMITL event - 15 - 15 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH5LIMITH - Enable or disable interrupt on EVENTS_CH[5].LIMITH event - 16 - 16 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH5LIMITL - Enable or disable interrupt on EVENTS_CH[5].LIMITL event - 17 - 17 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH6LIMITH - Enable or disable interrupt on EVENTS_CH[6].LIMITH event - 18 - 18 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH6LIMITL - Enable or disable interrupt on EVENTS_CH[6].LIMITL event - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH7LIMITH - Enable or disable interrupt on EVENTS_CH[7].LIMITH event - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH7LIMITL - Enable or disable interrupt on EVENTS_CH[7].LIMITL event - 21 - 21 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STARTED - Write '1' to Enable interrupt on EVENTS_STARTED event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - END - Write '1' to Enable interrupt on EVENTS_END event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DONE - Write '1' to Enable interrupt on EVENTS_DONE event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RESULTDONE - Write '1' to Enable interrupt on EVENTS_RESULTDONE event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CALIBRATEDONE - Write '1' to Enable interrupt on EVENTS_CALIBRATEDONE event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH0LIMITH - Write '1' to Enable interrupt on EVENTS_CH[0].LIMITH event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH0LIMITL - Write '1' to Enable interrupt on EVENTS_CH[0].LIMITL event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH1LIMITH - Write '1' to Enable interrupt on EVENTS_CH[1].LIMITH event - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH1LIMITL - Write '1' to Enable interrupt on EVENTS_CH[1].LIMITL event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH2LIMITH - Write '1' to Enable interrupt on EVENTS_CH[2].LIMITH event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH2LIMITL - Write '1' to Enable interrupt on EVENTS_CH[2].LIMITL event - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH3LIMITH - Write '1' to Enable interrupt on EVENTS_CH[3].LIMITH event - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH3LIMITL - Write '1' to Enable interrupt on EVENTS_CH[3].LIMITL event - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH4LIMITH - Write '1' to Enable interrupt on EVENTS_CH[4].LIMITH event - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH4LIMITL - Write '1' to Enable interrupt on EVENTS_CH[4].LIMITL event - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH5LIMITH - Write '1' to Enable interrupt on EVENTS_CH[5].LIMITH event - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH5LIMITL - Write '1' to Enable interrupt on EVENTS_CH[5].LIMITL event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH6LIMITH - Write '1' to Enable interrupt on EVENTS_CH[6].LIMITH event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH6LIMITL - Write '1' to Enable interrupt on EVENTS_CH[6].LIMITL event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH7LIMITH - Write '1' to Enable interrupt on EVENTS_CH[7].LIMITH event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH7LIMITL - Write '1' to Enable interrupt on EVENTS_CH[7].LIMITL event - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STARTED - Write '1' to Clear interrupt on EVENTS_STARTED event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - END - Write '1' to Clear interrupt on EVENTS_END event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DONE - Write '1' to Clear interrupt on EVENTS_DONE event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RESULTDONE - Write '1' to Clear interrupt on EVENTS_RESULTDONE event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CALIBRATEDONE - Write '1' to Clear interrupt on EVENTS_CALIBRATEDONE event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH0LIMITH - Write '1' to Clear interrupt on EVENTS_CH[0].LIMITH event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH0LIMITL - Write '1' to Clear interrupt on EVENTS_CH[0].LIMITL event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH1LIMITH - Write '1' to Clear interrupt on EVENTS_CH[1].LIMITH event - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH1LIMITL - Write '1' to Clear interrupt on EVENTS_CH[1].LIMITL event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH2LIMITH - Write '1' to Clear interrupt on EVENTS_CH[2].LIMITH event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH2LIMITL - Write '1' to Clear interrupt on EVENTS_CH[2].LIMITL event - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH3LIMITH - Write '1' to Clear interrupt on EVENTS_CH[3].LIMITH event - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH3LIMITL - Write '1' to Clear interrupt on EVENTS_CH[3].LIMITL event - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH4LIMITH - Write '1' to Clear interrupt on EVENTS_CH[4].LIMITH event - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH4LIMITL - Write '1' to Clear interrupt on EVENTS_CH[4].LIMITL event - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH5LIMITH - Write '1' to Clear interrupt on EVENTS_CH[5].LIMITH event - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH5LIMITL - Write '1' to Clear interrupt on EVENTS_CH[5].LIMITL event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH6LIMITH - Write '1' to Clear interrupt on EVENTS_CH[6].LIMITH event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH6LIMITL - Write '1' to Clear interrupt on EVENTS_CH[6].LIMITL event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH7LIMITH - Write '1' to Clear interrupt on EVENTS_CH[7].LIMITH event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH7LIMITL - Write '1' to Clear interrupt on EVENTS_CH[7].LIMITL event - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - STATUS - Status - 0x400 - read-only - - - STATUS - Status - 0 - 0 - - - Ready - ADC is ready. No on-going conversion. - 0 - - - Busy - ADC is busy. Conversion in progress. - 1 - - - - - - - ENABLE - Enable or disable ADC - 0x500 - read-write - - - ENABLE - Enable or disable ADC - 0 - 0 - - - Disabled - Disable ADC - 0 - - - Enabled - Enable ADC - 1 - - - - - - - 8 - 16 - 0-7 - CH[%s] - Unspecified - SAADC_CH - 0x510 - - PSELP - Description cluster[0]: Input positive pin selection for CH[0] - 0x000 - read-write - 0x00000000 - - - PSELP - Analog positive input channel - 0 - 4 - - - NC - Not connected - 0 - - - AnalogInput0 - AIN0 - 1 - - - AnalogInput1 - AIN1 - 2 - - - AnalogInput2 - AIN2 - 3 - - - AnalogInput3 - AIN3 - 4 - - - AnalogInput4 - AIN4 - 5 - - - AnalogInput5 - AIN5 - 6 - - - AnalogInput6 - AIN6 - 7 - - - AnalogInput7 - AIN7 - 8 - - - VDD - VDD - 9 - - - - - - - PSELN - Description cluster[0]: Input negative pin selection for CH[0] - 0x004 - read-write - 0x00000000 - - - PSELN - Analog negative input, enables differential channel - 0 - 4 - - - NC - Not connected - 0 - - - AnalogInput0 - AIN0 - 1 - - - AnalogInput1 - AIN1 - 2 - - - AnalogInput2 - AIN2 - 3 - - - AnalogInput3 - AIN3 - 4 - - - AnalogInput4 - AIN4 - 5 - - - AnalogInput5 - AIN5 - 6 - - - AnalogInput6 - AIN6 - 7 - - - AnalogInput7 - AIN7 - 8 - - - VDD - VDD - 9 - - - - - - - CONFIG - Description cluster[0]: Input configuration for CH[0] - 0x008 - read-write - 0x00020000 - - - RESP - Positive channel resistor control - 0 - 1 - - - Bypass - Bypass resistor ladder - 0 - - - Pulldown - Pull-down to GND - 1 - - - Pullup - Pull-up to VDD - 2 - - - VDD1_2 - Set input at VDD/2 - 3 - - - - - RESN - Negative channel resistor control - 4 - 5 - - - Bypass - Bypass resistor ladder - 0 - - - Pulldown - Pull-down to GND - 1 - - - Pullup - Pull-up to VDD - 2 - - - VDD1_2 - Set input at VDD/2 - 3 - - - - - GAIN - Gain control - 8 - 10 - - - Gain1_6 - 1/6 - 0 - - - Gain1_5 - 1/5 - 1 - - - Gain1_4 - 1/4 - 2 - - - Gain1_3 - 1/3 - 3 - - - Gain1_2 - 1/2 - 4 - - - Gain1 - 1 - 5 - - - Gain2 - 2 - 6 - - - Gain4 - 4 - 7 - - - - - REFSEL - Reference control - 12 - 12 - - - Internal - Internal reference (0.6 V) - 0 - - - VDD1_4 - VDD/4 as reference - 1 - - - - - TACQ - Acquisition time, the time the ADC uses to sample the input voltage - 16 - 18 - - - 3us - 3 us - 0 - - - 5us - 5 us - 1 - - - 10us - 10 us - 2 - - - 15us - 15 us - 3 - - - 20us - 20 us - 4 - - - 40us - 40 us - 5 - - - - - MODE - Enable differential mode - 20 - 20 - - - SE - Single ended, PSELN will be ignored, negative input to ADC shorted to GND - 0 - - - Diff - Differential - 1 - - - - - - - LIMIT - Description cluster[0]: High/low limits for event monitoring a channel - 0x00C - read-write - 0x7FFF8000 - - - LOW - Low level limit - 0 - 15 - - - HIGH - High level limit - 16 - 31 - - - - - - RESOLUTION - Resolution configuration - 0x5F0 - read-write - 0x00000001 - - - VAL - Set the resolution - 0 - 2 - - - 8bit - 8 bit - 0 - - - 10bit - 10 bit - 1 - - - 12bit - 12 bit - 2 - - - 14bit - 14 bit - 3 - - - - - - - OVERSAMPLE - Oversampling configuration. OVERSAMPLE should not be combined with SCAN. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used. - 0x5F4 - read-write - - - OVERSAMPLE - Oversample control - 0 - 3 - - - Bypass - Bypass oversampling - 0 - - - Over2x - Oversample 2x - 1 - - - Over4x - Oversample 4x - 2 - - - Over8x - Oversample 8x - 3 - - - Over16x - Oversample 16x - 4 - - - Over32x - Oversample 32x - 5 - - - Over64x - Oversample 64x - 6 - - - Over128x - Oversample 128x - 7 - - - Over256x - Oversample 256x - 8 - - - - - - - SAMPLERATE - Controls normal or continuous sample rate - 0x5F8 - read-write - - - CC - Capture and compare value. Sample rate is 16 MHz/CC - 0 - 10 - - - MODE - Select mode for sample rate control - 12 - 12 - - - Task - Rate is controlled from SAMPLE task - 0 - - - Timers - Rate is controlled from local timer (use CC to control the rate) - 1 - - - - - - - RESULT - RESULT EasyDMA channel - SAADC_RESULT - 0x62C - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of buffer words to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of buffer words to transfer - 0 - 15 - - - - - AMOUNT - Number of buffer words transferred since last START - 0x008 - read-only - - - AMOUNT - Number of buffer words transferred since last START. This register can be read after an END or STOPPED event. - 0 - 15 - - - - - - - - TIMER0 - Timer/Counter 0 - TIMER - 0x40008000 - 32 - TIMER - - 0 - 0x1000 - registers - - - TIMER0 - 8 - - - - TASKS_START - Start Timer - 0x000 - write-only - - - TASKS_STOP - Stop Timer - 0x004 - write-only - - - TASKS_COUNT - Increment Timer (Counter mode only) - 0x008 - write-only - - - TASKS_CLEAR - Clear time - 0x00C - write-only - - - TASKS_SHUTDOWN - Shut down timer - 0x010 - write-only - - - 6 - 4 - 0-5 - TASKS_CAPTURE[%s] - Description collection[0]: Capture Timer value to CC[0] register - 0x040 - write-only - - - 6 - 4 - 0-5 - EVENTS_COMPARE[%s] - Description collection[0]: Compare event on CC[0] match - 0x140 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - COMPARE0_CLEAR - Shortcut between EVENTS_COMPARE[0] event and TASKS_CLEAR task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE1_CLEAR - Shortcut between EVENTS_COMPARE[1] event and TASKS_CLEAR task - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE2_CLEAR - Shortcut between EVENTS_COMPARE[2] event and TASKS_CLEAR task - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE3_CLEAR - Shortcut between EVENTS_COMPARE[3] event and TASKS_CLEAR task - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE4_CLEAR - Shortcut between EVENTS_COMPARE[4] event and TASKS_CLEAR task - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE5_CLEAR - Shortcut between EVENTS_COMPARE[5] event and TASKS_CLEAR task - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE0_STOP - Shortcut between EVENTS_COMPARE[0] event and TASKS_STOP task - 8 - 8 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE1_STOP - Shortcut between EVENTS_COMPARE[1] event and TASKS_STOP task - 9 - 9 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE2_STOP - Shortcut between EVENTS_COMPARE[2] event and TASKS_STOP task - 10 - 10 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE3_STOP - Shortcut between EVENTS_COMPARE[3] event and TASKS_STOP task - 11 - 11 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE4_STOP - Shortcut between EVENTS_COMPARE[4] event and TASKS_STOP task - 12 - 12 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE5_STOP - Shortcut between EVENTS_COMPARE[5] event and TASKS_STOP task - 13 - 13 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - COMPARE0 - Write '1' to Enable interrupt on EVENTS_COMPARE[0] event - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE1 - Write '1' to Enable interrupt on EVENTS_COMPARE[1] event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE2 - Write '1' to Enable interrupt on EVENTS_COMPARE[2] event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE3 - Write '1' to Enable interrupt on EVENTS_COMPARE[3] event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE4 - Write '1' to Enable interrupt on EVENTS_COMPARE[4] event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE5 - Write '1' to Enable interrupt on EVENTS_COMPARE[5] event - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - COMPARE0 - Write '1' to Clear interrupt on EVENTS_COMPARE[0] event - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE1 - Write '1' to Clear interrupt on EVENTS_COMPARE[1] event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE2 - Write '1' to Clear interrupt on EVENTS_COMPARE[2] event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE3 - Write '1' to Clear interrupt on EVENTS_COMPARE[3] event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE4 - Write '1' to Clear interrupt on EVENTS_COMPARE[4] event - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE5 - Write '1' to Clear interrupt on EVENTS_COMPARE[5] event - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - MODE - Timer mode selection - 0x504 - read-write - - - MODE - Timer mode - 0 - 1 - - - Timer - Select Timer mode - 0 - - - Counter - Select Counter mode - 1 - - - LowPowerCounter - Select Low Power Counter mode - 2 - - - - - - - BITMODE - Configure the number of bits used by the TIMER - 0x508 - read-write - - - BITMODE - Timer bit width - 0 - 1 - - - 16Bit - 16 bit timer bit width - 0 - - - 08Bit - 8 bit timer bit width - 1 - - - 24Bit - 24 bit timer bit width - 2 - - - 32Bit - 32 bit timer bit width - 3 - - - - - - - PRESCALER - Timer prescaler register - 0x510 - read-write - 0x00000004 - - - PRESCALER - Prescaler value - 0 - 3 - - - - - 6 - 4 - 0-5 - CC[%s] - Description collection[0]: Capture/Compare register 0 - 0x540 - read-write - - - CC - Capture/Compare value - 0 - 31 - - - - - - - TIMER1 - Timer/Counter 1 - TIMER - 0x40009000 - 32 - - TIMER1 - 9 - - - - TIMER2 - Timer/Counter 2 - TIMER - 0x4000A000 - 32 - - TIMER2 - 10 - - - - RTC0 - Real time counter 0 - RTC - 0x4000B000 - 32 - RTC - - 0 - 0x1000 - registers - - - RTC0 - 11 - - - - TASKS_START - Start RTC COUNTER - 0x000 - write-only - - - TASKS_STOP - Stop RTC COUNTER - 0x004 - write-only - - - TASKS_CLEAR - Clear RTC COUNTER - 0x008 - write-only - - - TASKS_TRIGOVRFLW - Set COUNTER to 0xFFFFF0 - 0x00C - write-only - - - EVENTS_TICK - Event on COUNTER increment - 0x100 - read-write - - - EVENTS_OVRFLW - Event on COUNTER overflow - 0x104 - read-write - - - 4 - 4 - 0-3 - EVENTS_COMPARE[%s] - Description collection[0]: Compare event on CC[0] match - 0x140 - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - TICK - Write '1' to Enable interrupt on EVENTS_TICK event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - OVRFLW - Write '1' to Enable interrupt on EVENTS_OVRFLW event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE0 - Write '1' to Enable interrupt on EVENTS_COMPARE[0] event - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE1 - Write '1' to Enable interrupt on EVENTS_COMPARE[1] event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE2 - Write '1' to Enable interrupt on EVENTS_COMPARE[2] event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE3 - Write '1' to Enable interrupt on EVENTS_COMPARE[3] event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - TICK - Write '1' to Clear interrupt on EVENTS_TICK event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - OVRFLW - Write '1' to Clear interrupt on EVENTS_OVRFLW event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE0 - Write '1' to Clear interrupt on EVENTS_COMPARE[0] event - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE1 - Write '1' to Clear interrupt on EVENTS_COMPARE[1] event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE2 - Write '1' to Clear interrupt on EVENTS_COMPARE[2] event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE3 - Write '1' to Clear interrupt on EVENTS_COMPARE[3] event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - EVTEN - Enable or disable event routing - 0x340 - read-write - - - TICK - Enable or disable event routing on EVENTS_TICK event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - OVRFLW - Enable or disable event routing on EVENTS_OVRFLW event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - COMPARE0 - Enable or disable event routing on EVENTS_COMPARE[0] event - 16 - 16 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - COMPARE1 - Enable or disable event routing on EVENTS_COMPARE[1] event - 17 - 17 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - COMPARE2 - Enable or disable event routing on EVENTS_COMPARE[2] event - 18 - 18 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - COMPARE3 - Enable or disable event routing on EVENTS_COMPARE[3] event - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - EVTENSET - Enable event routing - 0x344 - read-write - - - TICK - Write '1' to Enable event routing on EVENTS_TICK event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - OVRFLW - Write '1' to Enable event routing on EVENTS_OVRFLW event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE0 - Write '1' to Enable event routing on EVENTS_COMPARE[0] event - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE1 - Write '1' to Enable event routing on EVENTS_COMPARE[1] event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE2 - Write '1' to Enable event routing on EVENTS_COMPARE[2] event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE3 - Write '1' to Enable event routing on EVENTS_COMPARE[3] event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - EVTENCLR - Disable event routing - 0x348 - read-write - - - TICK - Write '1' to Clear event routing on EVENTS_TICK event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - OVRFLW - Write '1' to Clear event routing on EVENTS_OVRFLW event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE0 - Write '1' to Clear event routing on EVENTS_COMPARE[0] event - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE1 - Write '1' to Clear event routing on EVENTS_COMPARE[1] event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE2 - Write '1' to Clear event routing on EVENTS_COMPARE[2] event - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE3 - Write '1' to Clear event routing on EVENTS_COMPARE[3] event - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - COUNTER - Current COUNTER value - 0x504 - read-only - - - COUNTER - Counter value - 0 - 23 - - - - - PRESCALER - 12 bit prescaler for COUNTER frequency (32768/(PRESCALER+1)).Must be written when RTC is stopped - 0x508 - read-write - - - PRESCALER - Prescaler value - 0 - 11 - - - - - 4 - 4 - 0-3 - CC[%s] - Description collection[0]: Compare register 0 - 0x540 - read-write - - - COMPARE - Compare value - 0 - 23 - - - - - - - TEMP - Temperature Sensor - TEMP - 0x4000C000 - 32 - - 0 - 0x1000 - registers - - - TEMP - 12 - - - - TASKS_START - Start temperature measurement - 0x000 - write-only - - - TASKS_STOP - Stop temperature measurement - 0x004 - write-only - - - EVENTS_DATARDY - Temperature measurement complete, data ready - 0x100 - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - DATARDY - Write '1' to Enable interrupt on EVENTS_DATARDY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - DATARDY - Write '1' to Clear interrupt on EVENTS_DATARDY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - TEMP - Temperature in degC - 0x508 - read-only - int32_t - - - TEMP - Temperature in degC - 0 - 31 - - - - - - - RNG - Random Number Generator - RNG - 0x4000D000 - 32 - - 0 - 0x1000 - registers - - - RNG - 13 - - - - TASKS_START - Task starting the random number generator - 0x000 - write-only - - - TASKS_STOP - Task stopping the random number generator - 0x004 - write-only - - - EVENTS_VALRDY - Event being generated for every new random number written to the VALUE register - 0x100 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - VALRDY_STOP - Shortcut between EVENTS_VALRDY event and TASKS_STOP task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - VALRDY - Write '1' to Enable interrupt on EVENTS_VALRDY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - VALRDY - Write '1' to Clear interrupt on EVENTS_VALRDY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - CONFIG - Configuration register - 0x504 - read-write - - - DERCEN - Bias correction - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - - - VALUE - Output random number - 0x508 - read-only - - - VALUE - Generated random number - 0 - 7 - - - - - - - ECB - AES ECB Mode Encryption - ECB - 0x4000E000 - 32 - - 0 - 0x1000 - registers - - - ECB - 14 - - - - TASKS_STARTECB - Start ECB block encrypt - 0x000 - write-only - - - TASKS_STOPECB - Abort a possible executing ECB operation - 0x004 - write-only - - - EVENTS_ENDECB - ECB block encrypt complete - 0x100 - read-write - - - EVENTS_ERRORECB - ECB block encrypt aborted because of a STOPECB task or due to an error - 0x104 - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - ENDECB - Write '1' to Enable interrupt on EVENTS_ENDECB event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERRORECB - Write '1' to Enable interrupt on EVENTS_ERRORECB event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - ENDECB - Write '1' to Clear interrupt on EVENTS_ENDECB event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERRORECB - Write '1' to Clear interrupt on EVENTS_ERRORECB event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ECBDATAPTR - ECB block encrypt memory pointers - 0x504 - read-write - - - ECBDATAPTR - Pointer to the ECB data structure (see Table 1 ECB data structure overview) - 0 - 31 - - - - - - - CCM - AES CCM Mode Encryption - CCM - 0x4000F000 - 32 - - 0 - 0x1000 - registers - - - CCM_AAR - 15 - - - - TASKS_KSGEN - Start generation of key-stream. This operation will stop by itself when completed. - 0x000 - write-only - - - TASKS_CRYPT - Start encryption/decryption. This operation will stop by itself when completed. - 0x004 - write-only - - - TASKS_STOP - Stop encryption/decryption - 0x008 - write-only - - - EVENTS_ENDKSGEN - Key-stream generation complete - 0x100 - read-write - - - EVENTS_ENDCRYPT - Encrypt/decrypt complete - 0x104 - read-write - - - EVENTS_ERROR - CCM error event - 0x108 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - ENDKSGEN_CRYPT - Shortcut between EVENTS_ENDKSGEN event and TASKS_CRYPT task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - ENDKSGEN - Write '1' to Enable interrupt on EVENTS_ENDKSGEN event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDCRYPT - Write '1' to Enable interrupt on EVENTS_ENDCRYPT event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to Enable interrupt on EVENTS_ERROR event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - ENDKSGEN - Write '1' to Clear interrupt on EVENTS_ENDKSGEN event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDCRYPT - Write '1' to Clear interrupt on EVENTS_ENDCRYPT event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to Clear interrupt on EVENTS_ERROR event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - MICSTATUS - MIC check result - 0x400 - read-only - - - MICSTATUS - The result of the MIC check performed during the previous decryption operation - 0 - 0 - - - CheckFailed - MIC check failed - 0 - - - CheckPassed - MIC check passed - 1 - - - - - - - ENABLE - Enable - 0x500 - read-write - - - ENABLE - Enable or disable CCM - 0 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 2 - - - - - - - MODE - Operation mode - 0x504 - read-write - 0x00000001 - - - MODE - The mode of operation to be used - 0 - 0 - - - Encryption - AES CCM packet encryption mode - 0 - - - Decryption - AES CCM packet decryption mode - 1 - - - - - DATARATE - Data rate that the CCM shall run in synch with - 16 - 16 - - - 1Mbit - In synch with 1 Mbit data rate - 0 - - - 2Mbit - In synch with 2 Mbit data rate - 1 - - - - - LENGTH - Packet length configuration - 24 - 24 - - - Default - Default length. Effective length of LENGTH field is 5-bit - 0 - - - Extended - Extended length. Effective length of LENGTH field is 8-bit - 1 - - - - - - - CNFPTR - Pointer to data structure holding AES key and NONCE vector - 0x508 - read-write - - - CNFPTR - Pointer to the data structure holding the AES key and the CCM NONCE vector (see Table 1 CCM data structure overview) - 0 - 31 - - - - - INPTR - Input pointer - 0x50C - read-write - - - INPTR - Input pointer - 0 - 31 - - - - - OUTPTR - Output pointer - 0x510 - read-write - - - OUTPTR - Output pointer - 0 - 31 - - - - - SCRATCHPTR - Pointer to data area used for temporary storage - 0x514 - read-write - - - SCRATCHPTR - Pointer to a "scratch" data area used for temporary storage during key-stream generation, MIC generation and encryption/decryption.The scratch area is used for temporary storage of data during key-stream generation and encryption. A space of minimum 43 bytes must be reserved. - 0 - 31 - - - - - - - AAR - Accelerated Address Resolver - AAR - 0x4000F000 - 32 - CCM - - 0 - 0x1000 - registers - - - CCM_AAR - 15 - - - - TASKS_START - Start resolving addresses based on IRKs specified in the IRK data structure - 0x000 - write-only - - - TASKS_STOP - Stop resolving addresses - 0x008 - write-only - - - EVENTS_END - Address resolution procedure complete - 0x100 - read-write - - - EVENTS_RESOLVED - Address resolved - 0x104 - read-write - - - EVENTS_NOTRESOLVED - Address not resolved - 0x108 - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - END - Write '1' to Enable interrupt on EVENTS_END event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RESOLVED - Write '1' to Enable interrupt on EVENTS_RESOLVED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - NOTRESOLVED - Write '1' to Enable interrupt on EVENTS_NOTRESOLVED event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - END - Write '1' to Clear interrupt on EVENTS_END event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RESOLVED - Write '1' to Clear interrupt on EVENTS_RESOLVED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - NOTRESOLVED - Write '1' to Clear interrupt on EVENTS_NOTRESOLVED event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - STATUS - Resolution status - 0x400 - read-only - - - STATUS - The IRK that was used last time an address was resolved - 0 - 3 - - - - - ENABLE - Enable AAR - 0x500 - read-write - - - ENABLE - Enable or disable AAR - 0 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 3 - - - - - - - NIRK - Number of IRKs - 0x504 - read-write - 0x00000001 - - - NIRK - Number of Identity root keys available in the IRK data structure - 0 - 4 - - - - - IRKPTR - Pointer to IRK data structure - 0x508 - read-write - - - IRKPTR - Pointer to the IRK data structure - 0 - 31 - - - - - ADDRPTR - Pointer to the resolvable address - 0x510 - read-write - - - ADDRPTR - Pointer to the resolvable address (6-bytes) - 0 - 31 - - - - - SCRATCHPTR - Pointer to data area used for temporary storage - 0x514 - read-write - - - SCRATCHPTR - Pointer to a "scratch" data area used for temporary storage during resolution.A space of minimum 3 bytes must be reserved. - 0 - 31 - - - - - - - WDT - Watchdog Timer - WDT - 0x40010000 - 32 - - 0 - 0x1000 - registers - - - WDT - 16 - - - - TASKS_START - Start the watchdog - 0x000 - write-only - - - EVENTS_TIMEOUT - Watchdog timeout - 0x100 - read-write - - - INTENSET - Enable interrupt - 0x304 - read-write - - - TIMEOUT - Write '1' to Enable interrupt on EVENTS_TIMEOUT event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - TIMEOUT - Write '1' to Clear interrupt on EVENTS_TIMEOUT event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - RUNSTATUS - Run status - 0x400 - read-only - - - RUNSTATUS - Indicates whether or not the watchdog is running - 0 - 0 - - - NotRunning - Watchdog not running - 0 - - - Running - Watchdog is running - 1 - - - - - - - REQSTATUS - Request status - 0x404 - read-only - 0x00000001 - - - RR0 - Request status for RR[0] register - 0 - 0 - - - DisabledOrRequested - RR[0] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[0] register is enabled, and are not yet requesting reload - 1 - - - - - RR1 - Request status for RR[1] register - 1 - 1 - - - DisabledOrRequested - RR[1] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[1] register is enabled, and are not yet requesting reload - 1 - - - - - RR2 - Request status for RR[2] register - 2 - 2 - - - DisabledOrRequested - RR[2] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[2] register is enabled, and are not yet requesting reload - 1 - - - - - RR3 - Request status for RR[3] register - 3 - 3 - - - DisabledOrRequested - RR[3] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[3] register is enabled, and are not yet requesting reload - 1 - - - - - RR4 - Request status for RR[4] register - 4 - 4 - - - DisabledOrRequested - RR[4] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[4] register is enabled, and are not yet requesting reload - 1 - - - - - RR5 - Request status for RR[5] register - 5 - 5 - - - DisabledOrRequested - RR[5] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[5] register is enabled, and are not yet requesting reload - 1 - - - - - RR6 - Request status for RR[6] register - 6 - 6 - - - DisabledOrRequested - RR[6] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[6] register is enabled, and are not yet requesting reload - 1 - - - - - RR7 - Request status for RR[7] register - 7 - 7 - - - DisabledOrRequested - RR[7] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[7] register is enabled, and are not yet requesting reload - 1 - - - - - - - CRV - Counter reload value - 0x504 - read-write - 0xFFFFFFFF - - - CRV - Counter reload value in number of cycles of the 32.768 kHz clock - 0 - 31 - - - - - RREN - Enable register for reload request registers - 0x508 - read-write - 0x00000001 - - - RR0 - Enable or disable RR[0] register - 0 - 0 - - - Disabled - Disable RR[0] register - 0 - - - Enabled - Enable RR[0] register - 1 - - - - - RR1 - Enable or disable RR[1] register - 1 - 1 - - - Disabled - Disable RR[1] register - 0 - - - Enabled - Enable RR[1] register - 1 - - - - - RR2 - Enable or disable RR[2] register - 2 - 2 - - - Disabled - Disable RR[2] register - 0 - - - Enabled - Enable RR[2] register - 1 - - - - - RR3 - Enable or disable RR[3] register - 3 - 3 - - - Disabled - Disable RR[3] register - 0 - - - Enabled - Enable RR[3] register - 1 - - - - - RR4 - Enable or disable RR[4] register - 4 - 4 - - - Disabled - Disable RR[4] register - 0 - - - Enabled - Enable RR[4] register - 1 - - - - - RR5 - Enable or disable RR[5] register - 5 - 5 - - - Disabled - Disable RR[5] register - 0 - - - Enabled - Enable RR[5] register - 1 - - - - - RR6 - Enable or disable RR[6] register - 6 - 6 - - - Disabled - Disable RR[6] register - 0 - - - Enabled - Enable RR[6] register - 1 - - - - - RR7 - Enable or disable RR[7] register - 7 - 7 - - - Disabled - Disable RR[7] register - 0 - - - Enabled - Enable RR[7] register - 1 - - - - - - - CONFIG - Configuration register - 0x50C - read-write - 0x00000001 - - - SLEEP - Configure the watchdog to either be paused, or kept running, while the CPU is sleeping - 0 - 0 - - - Pause - Pause watchdog while the CPU is sleeping - 0 - - - Run - Keep the watchdog running while the CPU is sleeping - 1 - - - - - HALT - Configure the watchdog to either be paused, or kept running, while the CPU is halted by the debugger - 3 - 3 - - - Pause - Pause watchdog while the CPU is halted by the debugger - 0 - - - Run - Keep the watchdog running while the CPU is halted by the debugger - 1 - - - - - - - 8 - 4 - 0-7 - RR[%s] - Description collection[0]: Reload request 0 - 0x600 - write-only - - - RR - Reload request register - 0 - 31 - - - Reload - Value to request a reload of the watchdog timer - 0x6E524635 - - - - - - - - - RTC1 - Real time counter 1 - RTC - 0x40011000 - 32 - - RTC1 - 17 - - - - QDEC - Quadrature Decoder - QDEC - 0x40012000 - 32 - - 0 - 0x1000 - registers - - - QDEC - 18 - - - - TASKS_START - Task starting the quadrature decoder - 0x000 - write-only - - - TASKS_STOP - Task stopping the quadrature decoder - 0x004 - write-only - - - TASKS_READCLRACC - Read and clear ACC and ACCDBL - 0x008 - write-only - - - TASKS_RDCLRACC - Read and clear ACC - 0x00C - write-only - - - TASKS_RDCLRDBL - Read and clear ACCDBL - 0x010 - write-only - - - EVENTS_SAMPLERDY - Event being generated for every new sample value written to the SAMPLE register - 0x100 - read-write - - - EVENTS_REPORTRDY - Non-null report ready - 0x104 - read-write - - - EVENTS_ACCOF - ACC or ACCDBL register overflow - 0x108 - read-write - - - EVENTS_DBLRDY - Double displacement(s) detected - 0x10C - read-write - - - EVENTS_STOPPED - QDEC has been stopped - 0x110 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - REPORTRDY_READCLRACC - Shortcut between EVENTS_REPORTRDY event and TASKS_READCLRACC task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - SAMPLERDY_STOP - Shortcut between EVENTS_SAMPLERDY event and TASKS_STOP task - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - REPORTRDY_RDCLRACC - Shortcut between EVENTS_REPORTRDY event and TASKS_RDCLRACC task - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - REPORTRDY_STOP - Shortcut between EVENTS_REPORTRDY event and TASKS_STOP task - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DBLRDY_RDCLRDBL - Shortcut between EVENTS_DBLRDY event and TASKS_RDCLRDBL task - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DBLRDY_STOP - Shortcut between EVENTS_DBLRDY event and TASKS_STOP task - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - SAMPLERDY_READCLRACC - Shortcut between EVENTS_SAMPLERDY event and TASKS_READCLRACC task - 6 - 6 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - SAMPLERDY - Write '1' to Enable interrupt on EVENTS_SAMPLERDY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REPORTRDY - Write '1' to Enable interrupt on EVENTS_REPORTRDY event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ACCOF - Write '1' to Enable interrupt on EVENTS_ACCOF event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DBLRDY - Write '1' to Enable interrupt on EVENTS_DBLRDY event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - SAMPLERDY - Write '1' to Clear interrupt on EVENTS_SAMPLERDY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REPORTRDY - Write '1' to Clear interrupt on EVENTS_REPORTRDY event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ACCOF - Write '1' to Clear interrupt on EVENTS_ACCOF event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DBLRDY - Write '1' to Clear interrupt on EVENTS_DBLRDY event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - Enable the quadrature decoder - 0x500 - read-write - - - ENABLE - Enable or disable the quadrature decoder - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - LEDPOL - LED output pin polarity - 0x504 - read-write - - - LEDPOL - LED output pin polarity - 0 - 0 - - - ActiveLow - Led active on output pin low - 0 - - - ActiveHigh - Led active on output pin high - 1 - - - - - - - SAMPLEPER - Sample period - 0x508 - read-write - - - SAMPLEPER - Sample period. The SAMPLE register will be updated for every new sample - 0 - 3 - - - 128us - 128 us - 0 - - - 256us - 256 us - 1 - - - 512us - 512 us - 2 - - - 1024us - 1024 us - 3 - - - 2048us - 2048 us - 4 - - - 4096us - 4096 us - 5 - - - 8192us - 8192 us - 6 - - - 16384us - 16384 us - 7 - - - 32ms - 32768 us - 8 - - - 65ms - 65536 us - 9 - - - 131ms - 131072 us - 10 - - - - - - - SAMPLE - Motion sample value - 0x50C - read-only - int32_t - - - SAMPLE - Last motion sample - 0 - 31 - - - - - REPORTPER - Number of samples to be taken before REPORTRDY and DBLRDY events can be generated - 0x510 - read-write - - - REPORTPER - Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated - 0 - 3 - - - 10Smpl - 10 samples / report - 0 - - - 40Smpl - 40 samples / report - 1 - - - 80Smpl - 80 samples / report - 2 - - - 120Smpl - 120 samples / report - 3 - - - 160Smpl - 160 samples / report - 4 - - - 200Smpl - 200 samples / report - 5 - - - 240Smpl - 240 samples / report - 6 - - - 280Smpl - 280 samples / report - 7 - - - 1Smpl - 1 sample / report - 8 - - - - - - - ACC - Register accumulating the valid transitions - 0x514 - read-only - int32_t - - - ACC - Register accumulating all valid samples (not double transition) read from the SAMPLE register - 0 - 31 - - - - - ACCREAD - Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task - 0x518 - read-only - int32_t - - - ACCREAD - Snapshot of the ACC register. - 0 - 31 - - - - - PSEL - Unspecified - QDEC_PSEL - 0x51C - - LED - Pin select for LED signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - A - Pin select for A signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - B - Pin select for B signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - DBFEN - Enable input debounce filters - 0x528 - read-write - - - DBFEN - Enable input debounce filters - 0 - 0 - - - Disabled - Debounce input filters disabled - 0 - - - Enabled - Debounce input filters enabled - 1 - - - - - - - LEDPRE - Time period the LED is switched ON prior to sampling - 0x540 - read-write - 0x00000010 - - - LEDPRE - Period in us the LED is switched on prior to sampling - 0 - 8 - - - - - ACCDBL - Register accumulating the number of detected double transitions - 0x544 - read-only - - - ACCDBL - Register accumulating the number of detected double or illegal transitions. ( SAMPLE = 2 ). - 0 - 3 - - - - - ACCDBLREAD - Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task - 0x548 - read-only - - - ACCDBLREAD - Snapshot of the ACCDBL register. This field is updated when the READCLRACC or RDCLRDBL task is triggered. - 0 - 3 - - - - - - - COMP - Comparator - COMP - 0x40013000 - 32 - - 0 - 0x1000 - registers - - - COMP_LPCOMP - 19 - - - - TASKS_START - Start comparator - 0x000 - write-only - - - TASKS_STOP - Stop comparator - 0x004 - write-only - - - TASKS_SAMPLE - Sample comparator value - 0x008 - write-only - - - EVENTS_READY - COMP is ready and output is valid - 0x100 - read-write - - - EVENTS_DOWN - Downward crossing - 0x104 - read-write - - - EVENTS_UP - Upward crossing - 0x108 - read-write - - - EVENTS_CROSS - Downward or upward crossing - 0x10C - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - READY_SAMPLE - Shortcut between EVENTS_READY event and TASKS_SAMPLE task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - READY_STOP - Shortcut between EVENTS_READY event and TASKS_STOP task - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DOWN_STOP - Shortcut between EVENTS_DOWN event and TASKS_STOP task - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - UP_STOP - Shortcut between EVENTS_UP event and TASKS_STOP task - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - CROSS_STOP - Shortcut between EVENTS_CROSS event and TASKS_STOP task - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - READY - Enable or disable interrupt on EVENTS_READY event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - DOWN - Enable or disable interrupt on EVENTS_DOWN event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - UP - Enable or disable interrupt on EVENTS_UP event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CROSS - Enable or disable interrupt on EVENTS_CROSS event - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to Enable interrupt on EVENTS_READY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DOWN - Write '1' to Enable interrupt on EVENTS_DOWN event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - UP - Write '1' to Enable interrupt on EVENTS_UP event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CROSS - Write '1' to Enable interrupt on EVENTS_CROSS event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to Clear interrupt on EVENTS_READY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DOWN - Write '1' to Clear interrupt on EVENTS_DOWN event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - UP - Write '1' to Clear interrupt on EVENTS_UP event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CROSS - Write '1' to Clear interrupt on EVENTS_CROSS event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - RESULT - Compare result - 0x400 - read-only - - - RESULT - Result of last compare. Decision point SAMPLE task. - 0 - 0 - - - Below - Input voltage is below the threshold (VIN+ < VIN-) - 0 - - - Above - Input voltage is above the threshold (VIN+ > VIN-) - 1 - - - - - - - ENABLE - COMP enable - 0x500 - read-write - - - ENABLE - Enable or disable COMP - 0 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 2 - - - - - - - PSEL - Pin select - 0x504 - read-write - - - PSEL - Analog pin select - 0 - 2 - - - AnalogInput0 - AIN0 selected as analog input - 0 - - - AnalogInput1 - AIN1 selected as analog input - 1 - - - AnalogInput2 - AIN2 selected as analog input - 2 - - - AnalogInput3 - AIN3 selected as analog input - 3 - - - AnalogInput4 - AIN4 selected as analog input - 4 - - - AnalogInput5 - AIN5 selected as analog input - 5 - - - AnalogInput6 - AIN6 selected as analog input - 6 - - - AnalogInput7 - AIN7 selected as analog input - 7 - - - - - - - REFSEL - Reference source select - 0x508 - read-write - - - REFSEL - Reference select - 0 - 2 - - - Int1V2 - VREF = internal 1.2 V reference (VDD >= 1.7 V) - 0 - - - Int1V8 - VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V) - 1 - - - Int2V4 - VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V) - 2 - - - VDD - VREF = VDD - 4 - - - ARef - VREF = AREF (VDD >= VREF >= AREFMIN) - 5 - - - - - - - EXTREFSEL - External reference select - 0x50C - read-write - - - EXTREFSEL - External analog reference select - 0 - 0 - - - AnalogReference0 - Use AIN0 as external analog reference - 0 - - - AnalogReference1 - Use AIN1 as external analog reference - 1 - - - - - - - TH - Threshold configuration for hysteresis unit - 0x530 - read-write - 0x00000000 - - - THUP - VUP = (THUP+1)/64*VREF - 0 - 5 - - - THDOWN - VDOWN = (THDOWN+1)/64*VREF - 8 - 13 - - - - - MODE - Mode configuration - 0x534 - read-write - - - SP - Speed and power mode - 0 - 1 - - - Low - Low power mode - 0 - - - Normal - Normal mode - 1 - - - High - High speed mode - 2 - - - - - MAIN - Main operation mode - 8 - 8 - - - SE - Single ended mode - 0 - - - Diff - Differential mode - 1 - - - - - - - HYST - Comparator hysteresis enable - 0x538 - read-write - - - HYST - Comparator hysteresis - 0 - 0 - - - NoHyst - Comparator hysteresis disabled - 0 - - - Hyst50mV - Comparator hysteresis enabled - 1 - - - - - - - ISOURCE - Current source select on analog input - 0x53C - read-write - - - ISOURCE - Comparator hysteresis - 0 - 1 - - - Off - Current source disabled - 0 - - - Ien2mA5 - Current source enabled (+/- 2.5 uA) - 1 - - - Ien5mA - Current source enabled (+/- 5 uA) - 2 - - - Ien10mA - Current source enabled (+/- 10 uA) - 3 - - - - - - - - - LPCOMP - Low Power Comparator - LPCOMP - 0x40013000 - 32 - COMP - - 0 - 0x1000 - registers - - - COMP_LPCOMP - 19 - - - - TASKS_START - Start comparator - 0x000 - write-only - - - TASKS_STOP - Stop comparator - 0x004 - write-only - - - TASKS_SAMPLE - Sample comparator value - 0x008 - write-only - - - EVENTS_READY - LPCOMP is ready and output is valid - 0x100 - read-write - - - EVENTS_DOWN - Downward crossing - 0x104 - read-write - - - EVENTS_UP - Upward crossing - 0x108 - read-write - - - EVENTS_CROSS - Downward or upward crossing - 0x10C - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - READY_SAMPLE - Shortcut between EVENTS_READY event and TASKS_SAMPLE task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - READY_STOP - Shortcut between EVENTS_READY event and TASKS_STOP task - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DOWN_STOP - Shortcut between EVENTS_DOWN event and TASKS_STOP task - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - UP_STOP - Shortcut between EVENTS_UP event and TASKS_STOP task - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - CROSS_STOP - Shortcut between EVENTS_CROSS event and TASKS_STOP task - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to Enable interrupt on EVENTS_READY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DOWN - Write '1' to Enable interrupt on EVENTS_DOWN event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - UP - Write '1' to Enable interrupt on EVENTS_UP event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CROSS - Write '1' to Enable interrupt on EVENTS_CROSS event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to Clear interrupt on EVENTS_READY event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DOWN - Write '1' to Clear interrupt on EVENTS_DOWN event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - UP - Write '1' to Clear interrupt on EVENTS_UP event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CROSS - Write '1' to Clear interrupt on EVENTS_CROSS event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - RESULT - Compare result - 0x400 - read-only - - - RESULT - Result of last compare. Decision point SAMPLE task. - 0 - 0 - - - Bellow - Input voltage is below the reference threshold (VIN+ < VIN-). - 0 - - - Above - Input voltage is above the reference threshold (VIN+ > VIN-). - 1 - - - - - - - ENABLE - Enable LPCOMP - 0x500 - read-write - - - ENABLE - Enable or disable LPCOMP - 0 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - PSEL - Input pin select - 0x504 - read-write - - - PSEL - Analog pin select - 0 - 2 - - - AnalogInput0 - AIN0 selected as analog input - 0 - - - AnalogInput1 - AIN1 selected as analog input - 1 - - - AnalogInput2 - AIN2 selected as analog input - 2 - - - AnalogInput3 - AIN3 selected as analog input - 3 - - - AnalogInput4 - AIN4 selected as analog input - 4 - - - AnalogInput5 - AIN5 selected as analog input - 5 - - - AnalogInput6 - AIN6 selected as analog input - 6 - - - AnalogInput7 - AIN7 selected as analog input - 7 - - - - - - - REFSEL - Reference select - 0x508 - read-write - - - REFSEL - Reference select - 0 - 3 - - - Ref1_8Vdd - VDD * 1/8 selected as reference - 0 - - - Ref2_8Vdd - VDD * 2/8 selected as reference - 1 - - - Ref3_8Vdd - VDD * 3/8 selected as reference - 2 - - - Ref4_8Vdd - VDD * 4/8 selected as reference - 3 - - - Ref5_8Vdd - VDD * 5/8 selected as reference - 4 - - - Ref6_8Vdd - VDD * 6/8 selected as reference - 5 - - - Ref7_8Vdd - VDD * 7/8 selected as reference - 6 - - - ARef - External analog reference selected - 7 - - - Ref1_16Vdd - VDD * 1/16 selected as reference - 8 - - - Ref3_16Vdd - VDD * 3/16 selected as reference - 9 - - - Ref5_16Vdd - VDD * 5/16 selected as reference - 10 - - - Ref7_16Vdd - VDD * 7/16 selected as reference - 11 - - - Ref9_16Vdd - VDD * 9/16 selected as reference - 12 - - - Ref11_16Vdd - VDD * 11/16 selected as reference - 13 - - - Ref13_16Vdd - VDD * 13/16 selected as reference - 14 - - - Ref15_16Vdd - VDD * 15/16 selected as reference - 15 - - - - - - - EXTREFSEL - External reference select - 0x50C - read-write - - - EXTREFSEL - External analog reference select - 0 - 0 - - - AnalogReference0 - Use AIN0 as external analog reference - 0 - - - AnalogReference1 - Use AIN1 as external analog reference - 1 - - - - - - - ANADETECT - Analog detect configuration - 0x520 - read-write - - - ANADETECT - Analog detect configuration - 0 - 1 - - - Cross - Generate ANADETECT on crossing, both upward crossing and downward crossing - 0 - - - Up - Generate ANADETECT on upward crossing only - 1 - - - Down - Generate ANADETECT on downward crossing only - 2 - - - - - - - HYST - Comparator hysteresis enable - 0x538 - read-write - - - HYST - Comparator hysteresis enable - 0 - 0 - - - NoHyst - Comparator hysteresis disabled - 0 - - - Hyst50mV - Comparator hysteresis disabled (typ. 50 mV) - 1 - - - - - - - - - SWI0 - Software interrupt 0 - SWI - 0x40014000 - 32 - SWI - - 0 - 0x1000 - registers - - - SWI0_EGU0 - 20 - - - - UNUSED - Unused. - 0x000 - 0x00000000 - read-only - - - - - EGU0 - Event Generator Unit 0 - EGU - 0x40014000 - 32 - SWI0 - EGU - - 0 - 0x1000 - registers - - - SWI0_EGU0 - 20 - - - - 16 - 4 - 0-15 - TASKS_TRIGGER[%s] - Description collection[0]: Trigger 0 for triggering the corresponding TRIGGERED[0] event - 0x000 - write-only - - - 16 - 4 - 0-15 - EVENTS_TRIGGERED[%s] - Description collection[0]: Event number 0 generated by triggering the corresponding TRIGGER[0] task - 0x100 - read-write - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - TRIGGERED0 - Enable or disable interrupt on EVENTS_TRIGGERED[0] event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED1 - Enable or disable interrupt on EVENTS_TRIGGERED[1] event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED2 - Enable or disable interrupt on EVENTS_TRIGGERED[2] event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED3 - Enable or disable interrupt on EVENTS_TRIGGERED[3] event - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED4 - Enable or disable interrupt on EVENTS_TRIGGERED[4] event - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED5 - Enable or disable interrupt on EVENTS_TRIGGERED[5] event - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED6 - Enable or disable interrupt on EVENTS_TRIGGERED[6] event - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED7 - Enable or disable interrupt on EVENTS_TRIGGERED[7] event - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED8 - Enable or disable interrupt on EVENTS_TRIGGERED[8] event - 8 - 8 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED9 - Enable or disable interrupt on EVENTS_TRIGGERED[9] event - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED10 - Enable or disable interrupt on EVENTS_TRIGGERED[10] event - 10 - 10 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED11 - Enable or disable interrupt on EVENTS_TRIGGERED[11] event - 11 - 11 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED12 - Enable or disable interrupt on EVENTS_TRIGGERED[12] event - 12 - 12 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED13 - Enable or disable interrupt on EVENTS_TRIGGERED[13] event - 13 - 13 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED14 - Enable or disable interrupt on EVENTS_TRIGGERED[14] event - 14 - 14 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED15 - Enable or disable interrupt on EVENTS_TRIGGERED[15] event - 15 - 15 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - TRIGGERED0 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[0] event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED1 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[1] event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED2 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[2] event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED3 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[3] event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED4 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[4] event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED5 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[5] event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED6 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[6] event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED7 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[7] event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED8 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[8] event - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED9 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[9] event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED10 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[10] event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED11 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[11] event - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED12 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[12] event - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED13 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[13] event - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED14 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[14] event - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED15 - Write '1' to Enable interrupt on EVENTS_TRIGGERED[15] event - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - TRIGGERED0 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[0] event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED1 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[1] event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED2 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[2] event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED3 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[3] event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED4 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[4] event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED5 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[5] event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED6 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[6] event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED7 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[7] event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED8 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[8] event - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED9 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[9] event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED10 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[10] event - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED11 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[11] event - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED12 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[12] event - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED13 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[13] event - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED14 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[14] event - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED15 - Write '1' to Clear interrupt on EVENTS_TRIGGERED[15] event - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - - - SWI1 - Software interrupt 1 - SWI - 0x40015000 - 32 - - SWI1_EGU1 - 21 - - - - EGU1 - Event Generator Unit 1 - EGU - 0x40015000 - 32 - SWI1 - - SWI1_EGU1 - 21 - - - - SWI2 - Software interrupt 2 - SWI - 0x40016000 - 32 - - SWI2_EGU2 - 22 - - - - EGU2 - Event Generator Unit 2 - EGU - 0x40016000 - 32 - SWI2 - - SWI2_EGU2 - 22 - - - - SWI3 - Software interrupt 3 - SWI - 0x40017000 - 32 - - SWI3_EGU3 - 23 - - - - EGU3 - Event Generator Unit 3 - EGU - 0x40017000 - 32 - SWI3 - - SWI3_EGU3 - 23 - - - - SWI4 - Software interrupt 4 - SWI - 0x40018000 - 32 - - SWI4_EGU4 - 24 - - - - EGU4 - Event Generator Unit 4 - EGU - 0x40018000 - 32 - SWI4 - - SWI4_EGU4 - 24 - - - - SWI5 - Software interrupt 5 - SWI - 0x40019000 - 32 - - SWI5_EGU5 - 25 - - - - EGU5 - Event Generator Unit 5 - EGU - 0x40019000 - 32 - SWI5 - - SWI5_EGU5 - 25 - - - - TIMER3 - Timer/Counter 3 - TIMER - 0x4001A000 - 32 - - TIMER3 - 26 - - - - TIMER4 - Timer/Counter 4 - TIMER - 0x4001B000 - 32 - - TIMER4 - 27 - - - - PWM0 - Pulse Width Modulation Unit 0 - PWM - 0x4001C000 - 32 - PWM - - 0 - 0x1000 - registers - - - PWM0 - 28 - - - - TASKS_STOP - Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback - 0x004 - write-only - - - 2 - 4 - 0-1 - TASKS_SEQSTART[%s] - Description collection[0]: Loads the first PWM value on all enabled channels from sequence 0, and starts playing that sequence at the rate defined in SEQ[0]REFRESH and/or DECODER.MODE. Causes PWM generation to start it was not running. - 0x008 - write-only - - - TASKS_NEXTSTEP - Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start it was not running. - 0x010 - write-only - - - EVENTS_STOPPED - Response to STOP task, emitted when PWM pulses are no longer generated - 0x104 - read-write - - - 2 - 4 - 0-1 - EVENTS_SEQSTARTED[%s] - Description collection[0]: First PWM period started on sequence 0 - 0x108 - read-write - - - 2 - 4 - 0-1 - EVENTS_SEQEND[%s] - Description collection[0]: Emitted at end of every sequence 0, when last value from RAM has been applied to wave counter - 0x110 - read-write - - - EVENTS_PWMPERIODEND - Emitted at the end of each PWM period - 0x118 - read-write - - - EVENTS_LOOPSDONE - Concatenated sequences have been played the amount of times defined in LOOP.CNT - 0x11C - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - SEQEND0_STOP - Shortcut between EVENTS_SEQEND[0] event and TASKS_STOP task - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - SEQEND1_STOP - Shortcut between EVENTS_SEQEND[1] event and TASKS_STOP task - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LOOPSDONE_SEQSTART0 - Shortcut between EVENTS_LOOPSDONE event and TASKS_SEQSTART[0] task - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LOOPSDONE_SEQSTART1 - Shortcut between EVENTS_LOOPSDONE event and TASKS_SEQSTART[1] task - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LOOPSDONE_STOP - Shortcut between EVENTS_LOOPSDONE event and TASKS_STOP task - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STOPPED - Enable or disable interrupt on EVENTS_STOPPED event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SEQSTARTED0 - Enable or disable interrupt on EVENTS_SEQSTARTED[0] event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SEQSTARTED1 - Enable or disable interrupt on EVENTS_SEQSTARTED[1] event - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SEQEND0 - Enable or disable interrupt on EVENTS_SEQEND[0] event - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SEQEND1 - Enable or disable interrupt on EVENTS_SEQEND[1] event - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PWMPERIODEND - Enable or disable interrupt on EVENTS_PWMPERIODEND event - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - LOOPSDONE - Enable or disable interrupt on EVENTS_LOOPSDONE event - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SEQSTARTED0 - Write '1' to Enable interrupt on EVENTS_SEQSTARTED[0] event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SEQSTARTED1 - Write '1' to Enable interrupt on EVENTS_SEQSTARTED[1] event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SEQEND0 - Write '1' to Enable interrupt on EVENTS_SEQEND[0] event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SEQEND1 - Write '1' to Enable interrupt on EVENTS_SEQEND[1] event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PWMPERIODEND - Write '1' to Enable interrupt on EVENTS_PWMPERIODEND event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - LOOPSDONE - Write '1' to Enable interrupt on EVENTS_LOOPSDONE event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SEQSTARTED0 - Write '1' to Clear interrupt on EVENTS_SEQSTARTED[0] event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SEQSTARTED1 - Write '1' to Clear interrupt on EVENTS_SEQSTARTED[1] event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SEQEND0 - Write '1' to Clear interrupt on EVENTS_SEQEND[0] event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SEQEND1 - Write '1' to Clear interrupt on EVENTS_SEQEND[1] event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PWMPERIODEND - Write '1' to Clear interrupt on EVENTS_PWMPERIODEND event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - LOOPSDONE - Write '1' to Clear interrupt on EVENTS_LOOPSDONE event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - PWM module enable register - 0x500 - read-write - 0x00000000 - - - ENABLE - Enable or disable PWM module - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enable - 1 - - - - - - - MODE - Selects operating mode of the wave counter - 0x504 - read-write - 0x00000000 - - - UPDOWN - Selects up or up and down as wave counter mode - 0 - 0 - - - Up - Up counter - edge aligned PWM duty-cycle - 0 - - - UpAndDown - Up and down counter - center aligned PWM duty cycle - 1 - - - - - - - COUNTERTOP - Value up to which the pulse generator counter counts - 0x508 - read-write - 0x000003FF - - - COUNTERTOP - Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM will be used. - 0 - 14 - - - - - PRESCALER - Configuration for PWM_CLK - 0x50C - read-write - 0x00000000 - - - PRESCALER - Pre-scaler of PWM_CLK - 0 - 2 - - - DIV_1 - Divide by 1 (16MHz) - 0 - - - DIV_2 - Divide by 2 ( 8MHz) - 1 - - - DIV_4 - Divide by 4 ( 4MHz) - 2 - - - DIV_8 - Divide by 8 ( 2MHz) - 3 - - - DIV_16 - Divide by 16 ( 1MHz) - 4 - - - DIV_32 - Divide by 32 ( 500kHz) - 5 - - - DIV_64 - Divide by 64 ( 250kHz) - 6 - - - DIV_128 - Divide by 128 ( 125kHz) - 7 - - - - - - - DECODER - Configuration of the decoder - 0x510 - read-write - 0x00000000 - - - LOAD - How a sequence is read from RAM and spread to the compare register - 0 - 2 - - - Common - 1st half word (16-bit) used in all PWM channels 0..3 - 0 - - - Grouped - 1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3 - 1 - - - Individual - 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in ch.3 - 2 - - - WaveForm - 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in COUNTERTOP - 3 - - - - - MODE - Selects source for advancing the active sequence - 8 - 8 - - - RefreshCount - SEQ[n].REFRESH is used to determine loading internal compare registers - 0 - - - NextStep - NEXTSTEP task causes a new value to be loaded to internal compare registers - 1 - - - - - - - LOOP - Amount of playback of a loop - 0x514 - read-write - 0x00000000 - - - CNT - Amount of playback of pattern cycles - 0 - 15 - - - Disabled - Looping disabled (stop at the end of the sequence) - 0 - - - - - - - 2 - 32 - 0-1 - SEQ[%s] - Unspecified - PWM_SEQ - 0x520 - - PTR - Description cluster[0]: Beginning address in Data RAM of sequence A - 0x000 - read-write - 0x00000000 - - - PTR - Beginning address in Data RAM of sequence A - 0 - 31 - - - - - CNT - Description cluster[0]: Amount of values (duty cycles) in sequence A - 0x004 - read-write - 0x00000000 - - - CNT - Amount of values (duty cycles) in sequence A - 0 - 14 - - - Disabled - Sequence is disabled - 0 - - - - - - - REFRESH - Description cluster[0]: Amount of additional PWM periods between samples loaded to compare register (load every CNT+1 PWM periods) - 0x008 - read-write - 0x00000001 - - - CNT - Amount of additional PWM periods between samples loaded to compare register (load every CNT+1 PWM periods) - 0 - 23 - - - Continuous - Update every PWM period - 0 - - - - - - - ENDDELAY - Description cluster[0]: Time added after the sequence - 0x00C - read-write - 0x00000000 - - - CNT - Time added after the sequence in PWM periods - 0 - 23 - - - - - - PSEL - Unspecified - PWM_PSEL - 0x560 - - 4 - 4 - 0-3 - OUT[%s] - Description collection[0]: Output pin select for PWM channel 0 - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - - - PDM - Pulse Density Modulation (Digital Microphone) Interface - PDM - 0x4001D000 - 32 - - 0 - 0x1000 - registers - - - PDM - 29 - - - - TASKS_START - Starts continuous PDM transfer - 0x000 - write-only - - - TASKS_STOP - Stops PDM transfer - 0x004 - write-only - - - EVENTS_STARTED - PDM transfer has started - 0x100 - read-write - - - EVENTS_STOPPED - PDM transfer has finished - 0x104 - read-write - - - EVENTS_END - The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM - 0x108 - read-write - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STARTED - Enable or disable interrupt on EVENTS_STARTED event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STOPPED - Enable or disable interrupt on EVENTS_STOPPED event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - END - Enable or disable interrupt on EVENTS_END event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STARTED - Write '1' to Enable interrupt on EVENTS_STARTED event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - END - Write '1' to Enable interrupt on EVENTS_END event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STARTED - Write '1' to Clear interrupt on EVENTS_STARTED event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - END - Write '1' to Clear interrupt on EVENTS_END event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - PDM module enable register - 0x500 - read-write - 0x00000000 - - - ENABLE - Enable or disable PDM reception - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - PDMCLKCTRL - PDM clock generator control - 0x504 - read-write - 0x08400000 - - - FREQ - PDM_CLK frequency - 0 - 31 - - - 1000K - PDM_CLK = 1.000 MHz - 0x08000000 - - - 1024K - PDM_CLK = 1.024 MHz - 0x08400000 - - - 1067K - PDM_CLK = 1.067 MHz - 0x08800000 - - - - - - - MODE - Defines the routing of the connected PDM microphones' signals - 0x508 - read-write - 0x00000000 - - - MONO - Mono or stereo operation - 0 - 0 - - - Stereo - Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0] - 0 - - - Mono - Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0] - 1 - - - - - EDGE - Defines on which PDM_CLK edge Left (or mono) is sampled - 1 - 1 - - - LeftFalling - Left (or mono) is sampled on falling edge of PDM_CLK - 0 - - - LeftRising - Left (or mono) is sampled on rising edge of PDM_CLK - 1 - - - - - - - GAINL - Left output gain adjustment - 0x518 - read-write - 0x00000028 - - - GAINL - Left output gain adjustment, in 0.5 dB steps, around the requirement that 0dB gain adjustment corresponds to 2500 RMS output samples (16-bit) with 1 kHz 90dBA signal into a -26dBFS sensitivity PDM microphone. 0x00 -20 dB gain 0x01 -19.5 dB gain (...) 0x27 -0.5 dB gain 0x28 0 dB gain 0x29 +0.5 dB gain (...) 0x4F +19.5 dB gain 0x50 +20 dB gain - 0 - 6 - - - MinGain - -20dB gain adjustment (minimum) - 0x00 - - - DefaultGain - 0dB gain adjustment ('2500 RMS' requirement) - 0x28 - - - MaxGain - +20dB gain adjustment (maximum) - 0x50 - - - - - - - GAINR - Right output gain adjustment - 0x51C - read-write - 0x00000028 - - - GAINR - Right output gain adjustment, in 0.5 dB steps, around the requirement that 0dB gain adjustment corresponds to 2500 RMS output samples (16-bit) with 1 kHz 90dBA signal into a -26dBFS sensitivity PDM microphone. (same encoding as GAINL) - 0 - 7 - - - MinGain - -20dB gain adjustment (minimum) - 0x00 - - - DefaultGain - 0dB gain adjustment ('2500 RMS' requirement) - 0x28 - - - MaxGain - +20dB gain adjustment (maximum) - 0x50 - - - - - - - PSEL - Unspecified - PDM_PSEL - 0x540 - - CLK - Pin number configuration for PDM CLK signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - DIN - Pin number configuration for PDM DIN signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - SAMPLE - Unspecified - PDM_SAMPLE - 0x560 - - PTR - RAM address pointer to write samples to with EasyDMA - 0x000 - read-write - - - SAMPLEPTR - Address to write PDM samples to over DMA - 0 - 31 - - - - - MAXCNT - Number of samples to allocate memory for in EasyDMA mode - 0x004 - read-write - - - BUFFSIZE - Length of DMA RAM allocation in number of samples. Number of RAM word allocated depends on MODE.CHANNELS. - 0 - 14 - - - - - - - - NVMC - Non Volatile Memory Controller - NVMC - 0x4001E000 - 32 - - 0 - 0x1000 - registers - - - - READY - Ready flag - 0x400 - read-only - - - READY - NVMC is ready or busy - 0 - 0 - - - Busy - NVMC is busy (on-going write or erase operation) - 0 - - - Ready - NVMC is ready - 1 - - - - - - - CONFIG - Configuration register - 0x504 - read-write - - - WEN - Program memory access mode. It is strongly recommended to only activate erase and write modes when they are actively used. Enabling write or erase will invalidate the cache and keep it invalidated. - 0 - 1 - - - Ren - Read only access - 0 - - - Wen - Write Enabled - 1 - - - Een - Erase enabled - 2 - - - - - - - ERASEPAGE - Register for erasing a page in Code area - 0x508 - read-write - - - ERASEPAGE - Register for starting erase of a page in Code area - 0 - 31 - - - - - ERASEPCR1 - Deprecated register - Register for erasing a page in Code area. Equivalent to ERASEPAGE. - 0x508 - read-write - ERASEPAGE - - - ERASEPCR1 - Register for erasing a page in Code area. Equivalent to ERASEPAGE. - 0 - 31 - - - - - ERASEALL - Register for erasing all non-volatile user memory - 0x50C - read-write - - - ERASEALL - Erase all non-volatile memory including UICR registers. Note that code erase has to be enabled by CONFIG.EEN before the UICR can be erased. - 0 - 0 - - - NoOperation - No operation - 0 - - - Erase - Start chip erase - 1 - - - - - - - ERASEPCR0 - Deprecated register - Register for erasing a page in Code area. Equivalent to ERASEPAGE. - 0x510 - read-write - - - ERASEPCR0 - Register for starting erase of a page in Code area. Equivalent to ERASEPAGE. - 0 - 31 - - - - - ERASEUICR - Register for erasing User Information Configuration Registers - 0x514 - read-write - - - ERASEUICR - Register starting erase of all User Information Configuration Registers. Note that code erase has to be enabled by CONFIG.EEN before the UICR can be erased. - 0 - 0 - - - NoOperation - No operation - 0 - - - Erase - Start erase of UICR - 1 - - - - - - - ICACHECNF - I-Code cache configuration register. - 0x540 - read-write - 0x00000000 - - - CACHEEN - Cache enable - 0 - 0 - - - Disabled - Disable cache. Invalidates all cache entries. - 0 - - - Enabled - Enable cache - 1 - - - - - CACHEPROFEN - Cache profiling enable - 8 - 8 - - - Disabled - Disable cache profiling - 0 - - - Enabled - Enable cache profiling - 1 - - - - - - - IHIT - I-Code cache hit counter. - 0x548 - read-write - - - HITS - Number of cache hits - 0 - 31 - - - - - IMISS - I-Code cache miss counter. - 0x54C - read-write - - - MISSES - Number of cache misses - 0 - 31 - - - - - - - PPI - Programmable Peripheral Interconnect - PPI - 0x4001F000 - 32 - - 0 - 0x1000 - registers - - - - 6 - 8 - 0-5 - TASKS_CHG[%s] - Channel group tasks - PPI_TASKS_CHG - 0x000 - - EN - Description cluster[0]: Enable channel group 0 - 0x000 - write-only - - - DIS - Description cluster[0]: Disable channel group 0 - 0x004 - write-only - - - - CHEN - Channel enable register - 0x500 - read-write - - - CH0 - Enable or disable channel 0 - 0 - 0 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH1 - Enable or disable channel 1 - 1 - 1 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH2 - Enable or disable channel 2 - 2 - 2 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH3 - Enable or disable channel 3 - 3 - 3 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH4 - Enable or disable channel 4 - 4 - 4 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH5 - Enable or disable channel 5 - 5 - 5 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH6 - Enable or disable channel 6 - 6 - 6 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH7 - Enable or disable channel 7 - 7 - 7 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH8 - Enable or disable channel 8 - 8 - 8 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH9 - Enable or disable channel 9 - 9 - 9 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH10 - Enable or disable channel 10 - 10 - 10 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH11 - Enable or disable channel 11 - 11 - 11 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH12 - Enable or disable channel 12 - 12 - 12 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH13 - Enable or disable channel 13 - 13 - 13 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH14 - Enable or disable channel 14 - 14 - 14 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH15 - Enable or disable channel 15 - 15 - 15 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH16 - Enable or disable channel 16 - 16 - 16 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH17 - Enable or disable channel 17 - 17 - 17 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH18 - Enable or disable channel 18 - 18 - 18 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH19 - Enable or disable channel 19 - 19 - 19 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH20 - Enable or disable channel 20 - 20 - 20 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH21 - Enable or disable channel 21 - 21 - 21 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH22 - Enable or disable channel 22 - 22 - 22 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH23 - Enable or disable channel 23 - 23 - 23 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH24 - Enable or disable channel 24 - 24 - 24 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH25 - Enable or disable channel 25 - 25 - 25 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH26 - Enable or disable channel 26 - 26 - 26 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH27 - Enable or disable channel 27 - 27 - 27 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH28 - Enable or disable channel 28 - 28 - 28 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH29 - Enable or disable channel 29 - 29 - 29 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH30 - Enable or disable channel 30 - 30 - 30 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH31 - Enable or disable channel 31 - 31 - 31 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - - - CHENSET - Channel enable set register - 0x504 - read-write - oneToSet - - - CH0 - Channel 0 enable set register. Writing '0' has no effect - 0 - 0 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH1 - Channel 1 enable set register. Writing '0' has no effect - 1 - 1 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH2 - Channel 2 enable set register. Writing '0' has no effect - 2 - 2 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH3 - Channel 3 enable set register. Writing '0' has no effect - 3 - 3 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH4 - Channel 4 enable set register. Writing '0' has no effect - 4 - 4 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH5 - Channel 5 enable set register. Writing '0' has no effect - 5 - 5 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH6 - Channel 6 enable set register. Writing '0' has no effect - 6 - 6 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH7 - Channel 7 enable set register. Writing '0' has no effect - 7 - 7 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH8 - Channel 8 enable set register. Writing '0' has no effect - 8 - 8 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH9 - Channel 9 enable set register. Writing '0' has no effect - 9 - 9 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH10 - Channel 10 enable set register. Writing '0' has no effect - 10 - 10 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH11 - Channel 11 enable set register. Writing '0' has no effect - 11 - 11 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH12 - Channel 12 enable set register. Writing '0' has no effect - 12 - 12 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH13 - Channel 13 enable set register. Writing '0' has no effect - 13 - 13 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH14 - Channel 14 enable set register. Writing '0' has no effect - 14 - 14 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH15 - Channel 15 enable set register. Writing '0' has no effect - 15 - 15 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH16 - Channel 16 enable set register. Writing '0' has no effect - 16 - 16 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH17 - Channel 17 enable set register. Writing '0' has no effect - 17 - 17 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH18 - Channel 18 enable set register. Writing '0' has no effect - 18 - 18 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH19 - Channel 19 enable set register. Writing '0' has no effect - 19 - 19 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH20 - Channel 20 enable set register. Writing '0' has no effect - 20 - 20 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH21 - Channel 21 enable set register. Writing '0' has no effect - 21 - 21 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH22 - Channel 22 enable set register. Writing '0' has no effect - 22 - 22 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH23 - Channel 23 enable set register. Writing '0' has no effect - 23 - 23 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH24 - Channel 24 enable set register. Writing '0' has no effect - 24 - 24 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH25 - Channel 25 enable set register. Writing '0' has no effect - 25 - 25 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH26 - Channel 26 enable set register. Writing '0' has no effect - 26 - 26 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH27 - Channel 27 enable set register. Writing '0' has no effect - 27 - 27 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH28 - Channel 28 enable set register. Writing '0' has no effect - 28 - 28 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH29 - Channel 29 enable set register. Writing '0' has no effect - 29 - 29 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH30 - Channel 30 enable set register. Writing '0' has no effect - 30 - 30 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH31 - Channel 31 enable set register. Writing '0' has no effect - 31 - 31 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - - - CHENCLR - Channel enable clear register - 0x508 - read-write - oneToClear - - - CH0 - Channel 0 enable clear register. Writing '0' has no effect - 0 - 0 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH1 - Channel 1 enable clear register. Writing '0' has no effect - 1 - 1 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH2 - Channel 2 enable clear register. Writing '0' has no effect - 2 - 2 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH3 - Channel 3 enable clear register. Writing '0' has no effect - 3 - 3 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH4 - Channel 4 enable clear register. Writing '0' has no effect - 4 - 4 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH5 - Channel 5 enable clear register. Writing '0' has no effect - 5 - 5 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH6 - Channel 6 enable clear register. Writing '0' has no effect - 6 - 6 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH7 - Channel 7 enable clear register. Writing '0' has no effect - 7 - 7 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH8 - Channel 8 enable clear register. Writing '0' has no effect - 8 - 8 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH9 - Channel 9 enable clear register. Writing '0' has no effect - 9 - 9 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH10 - Channel 10 enable clear register. Writing '0' has no effect - 10 - 10 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH11 - Channel 11 enable clear register. Writing '0' has no effect - 11 - 11 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH12 - Channel 12 enable clear register. Writing '0' has no effect - 12 - 12 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH13 - Channel 13 enable clear register. Writing '0' has no effect - 13 - 13 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH14 - Channel 14 enable clear register. Writing '0' has no effect - 14 - 14 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH15 - Channel 15 enable clear register. Writing '0' has no effect - 15 - 15 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH16 - Channel 16 enable clear register. Writing '0' has no effect - 16 - 16 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH17 - Channel 17 enable clear register. Writing '0' has no effect - 17 - 17 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH18 - Channel 18 enable clear register. Writing '0' has no effect - 18 - 18 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH19 - Channel 19 enable clear register. Writing '0' has no effect - 19 - 19 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH20 - Channel 20 enable clear register. Writing '0' has no effect - 20 - 20 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH21 - Channel 21 enable clear register. Writing '0' has no effect - 21 - 21 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH22 - Channel 22 enable clear register. Writing '0' has no effect - 22 - 22 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH23 - Channel 23 enable clear register. Writing '0' has no effect - 23 - 23 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH24 - Channel 24 enable clear register. Writing '0' has no effect - 24 - 24 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH25 - Channel 25 enable clear register. Writing '0' has no effect - 25 - 25 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH26 - Channel 26 enable clear register. Writing '0' has no effect - 26 - 26 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH27 - Channel 27 enable clear register. Writing '0' has no effect - 27 - 27 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH28 - Channel 28 enable clear register. Writing '0' has no effect - 28 - 28 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH29 - Channel 29 enable clear register. Writing '0' has no effect - 29 - 29 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH30 - Channel 30 enable clear register. Writing '0' has no effect - 30 - 30 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH31 - Channel 31 enable clear register. Writing '0' has no effect - 31 - 31 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - - - 20 - 8 - 0-19 - CH[%s] - PPI Channel - PPI_CH - 0x510 - - EEP - Description cluster[0]: Channel 0 event end-point - 0x000 - read-write - - - EEP - Pointer to event register. Accepts only addresses to registers from the Event group. - 0 - 31 - - - - - TEP - Description cluster[0]: Channel 0 task end-point - 0x004 - read-write - - - TEP - Pointer to task register. Accepts only addresses to registers from the Task group. - 0 - 31 - - - - - - 6 - 4 - 0-5 - CHG[%s] - Description collection[0]: Channel group 0 - 0x800 - read-write - - - CH0 - Include or exclude channel 0 - 0 - 0 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH1 - Include or exclude channel 1 - 1 - 1 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH2 - Include or exclude channel 2 - 2 - 2 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH3 - Include or exclude channel 3 - 3 - 3 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH4 - Include or exclude channel 4 - 4 - 4 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH5 - Include or exclude channel 5 - 5 - 5 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH6 - Include or exclude channel 6 - 6 - 6 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH7 - Include or exclude channel 7 - 7 - 7 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH8 - Include or exclude channel 8 - 8 - 8 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH9 - Include or exclude channel 9 - 9 - 9 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH10 - Include or exclude channel 10 - 10 - 10 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH11 - Include or exclude channel 11 - 11 - 11 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH12 - Include or exclude channel 12 - 12 - 12 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH13 - Include or exclude channel 13 - 13 - 13 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH14 - Include or exclude channel 14 - 14 - 14 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH15 - Include or exclude channel 15 - 15 - 15 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH16 - Include or exclude channel 16 - 16 - 16 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH17 - Include or exclude channel 17 - 17 - 17 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH18 - Include or exclude channel 18 - 18 - 18 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH19 - Include or exclude channel 19 - 19 - 19 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH20 - Include or exclude channel 20 - 20 - 20 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH21 - Include or exclude channel 21 - 21 - 21 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH22 - Include or exclude channel 22 - 22 - 22 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH23 - Include or exclude channel 23 - 23 - 23 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH24 - Include or exclude channel 24 - 24 - 24 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH25 - Include or exclude channel 25 - 25 - 25 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH26 - Include or exclude channel 26 - 26 - 26 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH27 - Include or exclude channel 27 - 27 - 27 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH28 - Include or exclude channel 28 - 28 - 28 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH29 - Include or exclude channel 29 - 29 - 29 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH30 - Include or exclude channel 30 - 30 - 30 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH31 - Include or exclude channel 31 - 31 - 31 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - - - 32 - 4 - 0-31 - FORK[%s] - Fork - PPI_FORK - 0x910 - - TEP - Description cluster[0]: Channel 0 task end-point - 0x000 - read-write - - - TEP - Pointer to task register - 0 - 31 - - - - - - - - MWU - Memory Watch Unit - MWU - 0x40020000 - 32 - - 0 - 0x1000 - registers - - - MWU - 32 - - - - 4 - 8 - 0-3 - EVENTS_REGION[%s] - Unspecified - MWU_EVENTS_REGION - 0x100 - - WA - Description cluster[0]: Write access to region 0 detected - 0x000 - read-write - - - RA - Description cluster[0]: Read access to region 0 detected - 0x004 - read-write - - - - 2 - 8 - 0-1 - EVENTS_PREGION[%s] - Unspecified - MWU_EVENTS_PREGION - 0x160 - - WA - Description cluster[0]: Write access to peripheral region 0 detected - 0x000 - read-write - - - RA - Description cluster[0]: Read access to peripheral region 0 detected - 0x004 - read-write - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - REGION0WA - Enable or disable interrupt on EVENTS_REGION[0].WA event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION0RA - Enable or disable interrupt on EVENTS_REGION[0].RA event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION1WA - Enable or disable interrupt on EVENTS_REGION[1].WA event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION1RA - Enable or disable interrupt on EVENTS_REGION[1].RA event - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION2WA - Enable or disable interrupt on EVENTS_REGION[2].WA event - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION2RA - Enable or disable interrupt on EVENTS_REGION[2].RA event - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION3WA - Enable or disable interrupt on EVENTS_REGION[3].WA event - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION3RA - Enable or disable interrupt on EVENTS_REGION[3].RA event - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION0WA - Enable or disable interrupt on EVENTS_PREGION[0].WA event - 24 - 24 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION0RA - Enable or disable interrupt on EVENTS_PREGION[0].RA event - 25 - 25 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION1WA - Enable or disable interrupt on EVENTS_PREGION[1].WA event - 26 - 26 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION1RA - Enable or disable interrupt on EVENTS_PREGION[1].RA event - 27 - 27 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - REGION0WA - Write '1' to Enable interrupt on EVENTS_REGION[0].WA event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION0RA - Write '1' to Enable interrupt on EVENTS_REGION[0].RA event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION1WA - Write '1' to Enable interrupt on EVENTS_REGION[1].WA event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION1RA - Write '1' to Enable interrupt on EVENTS_REGION[1].RA event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION2WA - Write '1' to Enable interrupt on EVENTS_REGION[2].WA event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION2RA - Write '1' to Enable interrupt on EVENTS_REGION[2].RA event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION3WA - Write '1' to Enable interrupt on EVENTS_REGION[3].WA event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION3RA - Write '1' to Enable interrupt on EVENTS_REGION[3].RA event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION0WA - Write '1' to Enable interrupt on EVENTS_PREGION[0].WA event - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION0RA - Write '1' to Enable interrupt on EVENTS_PREGION[0].RA event - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION1WA - Write '1' to Enable interrupt on EVENTS_PREGION[1].WA event - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION1RA - Write '1' to Enable interrupt on EVENTS_PREGION[1].RA event - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - REGION0WA - Write '1' to Clear interrupt on EVENTS_REGION[0].WA event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION0RA - Write '1' to Clear interrupt on EVENTS_REGION[0].RA event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION1WA - Write '1' to Clear interrupt on EVENTS_REGION[1].WA event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION1RA - Write '1' to Clear interrupt on EVENTS_REGION[1].RA event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION2WA - Write '1' to Clear interrupt on EVENTS_REGION[2].WA event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION2RA - Write '1' to Clear interrupt on EVENTS_REGION[2].RA event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION3WA - Write '1' to Clear interrupt on EVENTS_REGION[3].WA event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION3RA - Write '1' to Clear interrupt on EVENTS_REGION[3].RA event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION0WA - Write '1' to Clear interrupt on EVENTS_PREGION[0].WA event - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION0RA - Write '1' to Clear interrupt on EVENTS_PREGION[0].RA event - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION1WA - Write '1' to Clear interrupt on EVENTS_PREGION[1].WA event - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION1RA - Write '1' to Clear interrupt on EVENTS_PREGION[1].RA event - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - NMIEN - Enable or disable non-maskable interrupt - 0x320 - read-write - - - REGION0WA - Enable or disable non-maskable interrupt on EVENTS_REGION[0].WA event - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION0RA - Enable or disable non-maskable interrupt on EVENTS_REGION[0].RA event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION1WA - Enable or disable non-maskable interrupt on EVENTS_REGION[1].WA event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION1RA - Enable or disable non-maskable interrupt on EVENTS_REGION[1].RA event - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION2WA - Enable or disable non-maskable interrupt on EVENTS_REGION[2].WA event - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION2RA - Enable or disable non-maskable interrupt on EVENTS_REGION[2].RA event - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION3WA - Enable or disable non-maskable interrupt on EVENTS_REGION[3].WA event - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION3RA - Enable or disable non-maskable interrupt on EVENTS_REGION[3].RA event - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION0WA - Enable or disable non-maskable interrupt on EVENTS_PREGION[0].WA event - 24 - 24 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION0RA - Enable or disable non-maskable interrupt on EVENTS_PREGION[0].RA event - 25 - 25 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION1WA - Enable or disable non-maskable interrupt on EVENTS_PREGION[1].WA event - 26 - 26 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION1RA - Enable or disable non-maskable interrupt on EVENTS_PREGION[1].RA event - 27 - 27 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - NMIENSET - Enable non-maskable interrupt - 0x324 - read-write - - - REGION0WA - Write '1' to Enable non-maskable interrupt on EVENTS_REGION[0].WA event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION0RA - Write '1' to Enable non-maskable interrupt on EVENTS_REGION[0].RA event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION1WA - Write '1' to Enable non-maskable interrupt on EVENTS_REGION[1].WA event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION1RA - Write '1' to Enable non-maskable interrupt on EVENTS_REGION[1].RA event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION2WA - Write '1' to Enable non-maskable interrupt on EVENTS_REGION[2].WA event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION2RA - Write '1' to Enable non-maskable interrupt on EVENTS_REGION[2].RA event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION3WA - Write '1' to Enable non-maskable interrupt on EVENTS_REGION[3].WA event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION3RA - Write '1' to Enable non-maskable interrupt on EVENTS_REGION[3].RA event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION0WA - Write '1' to Enable non-maskable interrupt on EVENTS_PREGION[0].WA event - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION0RA - Write '1' to Enable non-maskable interrupt on EVENTS_PREGION[0].RA event - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION1WA - Write '1' to Enable non-maskable interrupt on EVENTS_PREGION[1].WA event - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION1RA - Write '1' to Enable non-maskable interrupt on EVENTS_PREGION[1].RA event - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - NMIENCLR - Disable non-maskable interrupt - 0x328 - read-write - - - REGION0WA - Write '1' to Clear non-maskable interrupt on EVENTS_REGION[0].WA event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION0RA - Write '1' to Clear non-maskable interrupt on EVENTS_REGION[0].RA event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION1WA - Write '1' to Clear non-maskable interrupt on EVENTS_REGION[1].WA event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION1RA - Write '1' to Clear non-maskable interrupt on EVENTS_REGION[1].RA event - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION2WA - Write '1' to Clear non-maskable interrupt on EVENTS_REGION[2].WA event - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION2RA - Write '1' to Clear non-maskable interrupt on EVENTS_REGION[2].RA event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION3WA - Write '1' to Clear non-maskable interrupt on EVENTS_REGION[3].WA event - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION3RA - Write '1' to Clear non-maskable interrupt on EVENTS_REGION[3].RA event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION0WA - Write '1' to Clear non-maskable interrupt on EVENTS_PREGION[0].WA event - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION0RA - Write '1' to Clear non-maskable interrupt on EVENTS_PREGION[0].RA event - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION1WA - Write '1' to Clear non-maskable interrupt on EVENTS_PREGION[1].WA event - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION1RA - Write '1' to Clear non-maskable interrupt on EVENTS_PREGION[1].RA event - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - 2 - 8 - 0-1 - PERREGION[%s] - Unspecified - MWU_PERREGION - 0x400 - - SUBSTATWA - Description cluster[0]: Source of interrupt in region 0, write access detected while corresponding subregion was enabled for watching - 0x000 - read-write - oneToClear - - - SR0 - Sub region 0 in region 0 (write '1' to clear) - 0 - 0 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR1 - Sub region 1 in region 0 (write '1' to clear) - 1 - 1 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR2 - Sub region 2 in region 0 (write '1' to clear) - 2 - 2 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR3 - Sub region 3 in region 0 (write '1' to clear) - 3 - 3 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR4 - Sub region 4 in region 0 (write '1' to clear) - 4 - 4 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR5 - Sub region 5 in region 0 (write '1' to clear) - 5 - 5 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR6 - Sub region 6 in region 0 (write '1' to clear) - 6 - 6 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR7 - Sub region 7 in region 0 (write '1' to clear) - 7 - 7 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR8 - Sub region 8 in region 0 (write '1' to clear) - 8 - 8 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR9 - Sub region 9 in region 0 (write '1' to clear) - 9 - 9 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR10 - Sub region 10 in region 0 (write '1' to clear) - 10 - 10 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR11 - Sub region 11 in region 0 (write '1' to clear) - 11 - 11 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR12 - Sub region 12 in region 0 (write '1' to clear) - 12 - 12 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR13 - Sub region 13 in region 0 (write '1' to clear) - 13 - 13 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR14 - Sub region 14 in region 0 (write '1' to clear) - 14 - 14 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR15 - Sub region 15 in region 0 (write '1' to clear) - 15 - 15 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR16 - Sub region 16 in region 0 (write '1' to clear) - 16 - 16 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR17 - Sub region 17 in region 0 (write '1' to clear) - 17 - 17 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR18 - Sub region 18 in region 0 (write '1' to clear) - 18 - 18 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR19 - Sub region 19 in region 0 (write '1' to clear) - 19 - 19 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR20 - Sub region 20 in region 0 (write '1' to clear) - 20 - 20 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR21 - Sub region 21 in region 0 (write '1' to clear) - 21 - 21 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR22 - Sub region 22 in region 0 (write '1' to clear) - 22 - 22 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR23 - Sub region 23 in region 0 (write '1' to clear) - 23 - 23 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR24 - Sub region 24 in region 0 (write '1' to clear) - 24 - 24 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR25 - Sub region 25 in region 0 (write '1' to clear) - 25 - 25 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR26 - Sub region 26 in region 0 (write '1' to clear) - 26 - 26 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR27 - Sub region 27 in region 0 (write '1' to clear) - 27 - 27 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR28 - Sub region 28 in region 0 (write '1' to clear) - 28 - 28 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR29 - Sub region 29 in region 0 (write '1' to clear) - 29 - 29 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR30 - Sub region 30 in region 0 (write '1' to clear) - 30 - 30 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR31 - Sub region 31 in region 0 (write '1' to clear) - 31 - 31 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - - - SUBSTATRA - Description cluster[0]: Source of interrupt in region 0, read access detected while corresponding subregion was enabled for watching - 0x004 - read-write - oneToClear - - - SR0 - Sub region 0 in region 0 (write '1' to clear) - 0 - 0 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR1 - Sub region 1 in region 0 (write '1' to clear) - 1 - 1 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR2 - Sub region 2 in region 0 (write '1' to clear) - 2 - 2 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR3 - Sub region 3 in region 0 (write '1' to clear) - 3 - 3 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR4 - Sub region 4 in region 0 (write '1' to clear) - 4 - 4 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR5 - Sub region 5 in region 0 (write '1' to clear) - 5 - 5 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR6 - Sub region 6 in region 0 (write '1' to clear) - 6 - 6 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR7 - Sub region 7 in region 0 (write '1' to clear) - 7 - 7 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR8 - Sub region 8 in region 0 (write '1' to clear) - 8 - 8 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR9 - Sub region 9 in region 0 (write '1' to clear) - 9 - 9 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR10 - Sub region 10 in region 0 (write '1' to clear) - 10 - 10 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR11 - Sub region 11 in region 0 (write '1' to clear) - 11 - 11 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR12 - Sub region 12 in region 0 (write '1' to clear) - 12 - 12 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR13 - Sub region 13 in region 0 (write '1' to clear) - 13 - 13 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR14 - Sub region 14 in region 0 (write '1' to clear) - 14 - 14 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR15 - Sub region 15 in region 0 (write '1' to clear) - 15 - 15 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR16 - Sub region 16 in region 0 (write '1' to clear) - 16 - 16 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR17 - Sub region 17 in region 0 (write '1' to clear) - 17 - 17 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR18 - Sub region 18 in region 0 (write '1' to clear) - 18 - 18 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR19 - Sub region 19 in region 0 (write '1' to clear) - 19 - 19 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR20 - Sub region 20 in region 0 (write '1' to clear) - 20 - 20 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR21 - Sub region 21 in region 0 (write '1' to clear) - 21 - 21 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR22 - Sub region 22 in region 0 (write '1' to clear) - 22 - 22 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR23 - Sub region 23 in region 0 (write '1' to clear) - 23 - 23 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR24 - Sub region 24 in region 0 (write '1' to clear) - 24 - 24 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR25 - Sub region 25 in region 0 (write '1' to clear) - 25 - 25 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR26 - Sub region 26 in region 0 (write '1' to clear) - 26 - 26 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR27 - Sub region 27 in region 0 (write '1' to clear) - 27 - 27 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR28 - Sub region 28 in region 0 (write '1' to clear) - 28 - 28 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR29 - Sub region 29 in region 0 (write '1' to clear) - 29 - 29 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR30 - Sub region 30 in region 0 (write '1' to clear) - 30 - 30 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR31 - Sub region 31 in region 0 (write '1' to clear) - 31 - 31 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - - - - REGIONEN - Enable/disable regions watch - 0x510 - read-write - - - RGN0WA - Enable/disable write access watch in region[0] - 0 - 0 - - - Disable - Disable write access watch in this region - 0 - - - Enable - Enable write access watch in this region - 1 - - - - - RGN0RA - Enable/disable read access watch in region[0] - 1 - 1 - - - Disable - Disable read access watch in this region - 0 - - - Enable - Enable read access watch in this region - 1 - - - - - RGN1WA - Enable/disable write access watch in region[1] - 2 - 2 - - - Disable - Disable write access watch in this region - 0 - - - Enable - Enable write access watch in this region - 1 - - - - - RGN1RA - Enable/disable read access watch in region[1] - 3 - 3 - - - Disable - Disable read access watch in this region - 0 - - - Enable - Enable read access watch in this region - 1 - - - - - RGN2WA - Enable/disable write access watch in region[2] - 4 - 4 - - - Disable - Disable write access watch in this region - 0 - - - Enable - Enable write access watch in this region - 1 - - - - - RGN2RA - Enable/disable read access watch in region[2] - 5 - 5 - - - Disable - Disable read access watch in this region - 0 - - - Enable - Enable read access watch in this region - 1 - - - - - RGN3WA - Enable/disable write access watch in region[3] - 6 - 6 - - - Disable - Disable write access watch in this region - 0 - - - Enable - Enable write access watch in this region - 1 - - - - - RGN3RA - Enable/disable read access watch in region[3] - 7 - 7 - - - Disable - Disable read access watch in this region - 0 - - - Enable - Enable read access watch in this region - 1 - - - - - PRGN0WA - Enable/disable write access watch in PREGION[0] - 24 - 24 - - - Disable - Disable write access watch in this PREGION - 0 - - - Enable - Enable write access watch in this PREGION - 1 - - - - - PRGN0RA - Enable/disable read access watch in PREGION[0] - 25 - 25 - - - Disable - Disable read access watch in this PREGION - 0 - - - Enable - Enable read access watch in this PREGION - 1 - - - - - PRGN1WA - Enable/disable write access watch in PREGION[1] - 26 - 26 - - - Disable - Disable write access watch in this PREGION - 0 - - - Enable - Enable write access watch in this PREGION - 1 - - - - - PRGN1RA - Enable/disable read access watch in PREGION[1] - 27 - 27 - - - Disable - Disable read access watch in this PREGION - 0 - - - Enable - Enable read access watch in this PREGION - 1 - - - - - - - REGIONENSET - Enable regions watch - 0x514 - read-write - - - RGN0WA - Enable write access watch in region[0] - 0 - 0 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Set - Enable write access watch in this region - 1 - - - - - RGN0RA - Enable read access watch in region[0] - 1 - 1 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Set - Enable read access watch in this region - 1 - - - - - RGN1WA - Enable write access watch in region[1] - 2 - 2 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Set - Enable write access watch in this region - 1 - - - - - RGN1RA - Enable read access watch in region[1] - 3 - 3 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Set - Enable read access watch in this region - 1 - - - - - RGN2WA - Enable write access watch in region[2] - 4 - 4 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Set - Enable write access watch in this region - 1 - - - - - RGN2RA - Enable read access watch in region[2] - 5 - 5 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Set - Enable read access watch in this region - 1 - - - - - RGN3WA - Enable write access watch in region[3] - 6 - 6 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Set - Enable write access watch in this region - 1 - - - - - RGN3RA - Enable read access watch in region[3] - 7 - 7 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Set - Enable read access watch in this region - 1 - - - - - PRGN0WA - Enable write access watch in PREGION[0] - 24 - 24 - - read - - Disabled - Write access watch in this PREGION is disabled - 0 - - - Enabled - Write access watch in this PREGION is enabled - 1 - - - - write - - Set - Enable write access watch in this PREGION - 1 - - - - - PRGN0RA - Enable read access watch in PREGION[0] - 25 - 25 - - read - - Disabled - Read access watch in this PREGION is disabled - 0 - - - Enabled - Read access watch in this PREGION is enabled - 1 - - - - write - - Set - Enable read access watch in this PREGION - 1 - - - - - PRGN1WA - Enable write access watch in PREGION[1] - 26 - 26 - - read - - Disabled - Write access watch in this PREGION is disabled - 0 - - - Enabled - Write access watch in this PREGION is enabled - 1 - - - - write - - Set - Enable write access watch in this PREGION - 1 - - - - - PRGN1RA - Enable read access watch in PREGION[1] - 27 - 27 - - read - - Disabled - Read access watch in this PREGION is disabled - 0 - - - Enabled - Read access watch in this PREGION is enabled - 1 - - - - write - - Set - Enable read access watch in this PREGION - 1 - - - - - - - REGIONENCLR - Disable regions watch - 0x518 - read-write - - - RGN0WA - Disable write access watch in region[0] - 0 - 0 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Clear - Disable write access watch in this region - 1 - - - - - RGN0RA - Disable read access watch in region[0] - 1 - 1 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Clear - Disable read access watch in this region - 1 - - - - - RGN1WA - Disable write access watch in region[1] - 2 - 2 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Clear - Disable write access watch in this region - 1 - - - - - RGN1RA - Disable read access watch in region[1] - 3 - 3 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Clear - Disable read access watch in this region - 1 - - - - - RGN2WA - Disable write access watch in region[2] - 4 - 4 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Clear - Disable write access watch in this region - 1 - - - - - RGN2RA - Disable read access watch in region[2] - 5 - 5 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Clear - Disable read access watch in this region - 1 - - - - - RGN3WA - Disable write access watch in region[3] - 6 - 6 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Clear - Disable write access watch in this region - 1 - - - - - RGN3RA - Disable read access watch in region[3] - 7 - 7 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Clear - Disable read access watch in this region - 1 - - - - - PRGN0WA - Disable write access watch in PREGION[0] - 24 - 24 - - read - - Disabled - Write access watch in this PREGION is disabled - 0 - - - Enabled - Write access watch in this PREGION is enabled - 1 - - - - write - - Clear - Disable write access watch in this PREGION - 1 - - - - - PRGN0RA - Disable read access watch in PREGION[0] - 25 - 25 - - read - - Disabled - Read access watch in this PREGION is disabled - 0 - - - Enabled - Read access watch in this PREGION is enabled - 1 - - - - write - - Clear - Disable read access watch in this PREGION - 1 - - - - - PRGN1WA - Disable write access watch in PREGION[1] - 26 - 26 - - read - - Disabled - Write access watch in this PREGION is disabled - 0 - - - Enabled - Write access watch in this PREGION is enabled - 1 - - - - write - - Clear - Disable write access watch in this PREGION - 1 - - - - - PRGN1RA - Disable read access watch in PREGION[1] - 27 - 27 - - read - - Disabled - Read access watch in this PREGION is disabled - 0 - - - Enabled - Read access watch in this PREGION is enabled - 1 - - - - write - - Clear - Disable read access watch in this PREGION - 1 - - - - - - - 4 - 16 - 0-3 - REGION[%s] - Unspecified - MWU_REGION - 0x600 - - START - Description cluster[0]: Start address for region 0 - 0x000 - read-write - 0x00000000 - - - START - Start address for region - 0 - 31 - - - - - END - Description cluster[0]: End address of region 0 - 0x004 - read-write - - - END - End address of region. Value 0 has a special meaning, see below. - 0 - 31 - - - OneByte - Region is 1 byte long (End address = Start address) - 0 - - - - - - - - 2 - 16 - 0-1 - PREGION[%s] - Unspecified - MWU_PREGION - 0x6C0 - - START - Description cluster[0]: Reserved for future use - 0x000 - read-only - - - START - Reserved for future use - 0 - 31 - - - - - END - Description cluster[0]: Reserved for future use - 0x004 - read-only - - - END - Reserved for future use - 0 - 31 - - - - - SUBS - Description cluster[0]: Sub regions of region 0 - 0x008 - read-write - 0x00000000 - - - SR0 - Include or exclude subregion 0 in region - 0 - 0 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR1 - Include or exclude subregion 1 in region - 1 - 1 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR2 - Include or exclude subregion 2 in region - 2 - 2 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR3 - Include or exclude subregion 3 in region - 3 - 3 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR4 - Include or exclude subregion 4 in region - 4 - 4 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR5 - Include or exclude subregion 5 in region - 5 - 5 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR6 - Include or exclude subregion 6 in region - 6 - 6 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR7 - Include or exclude subregion 7 in region - 7 - 7 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR8 - Include or exclude subregion 8 in region - 8 - 8 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR9 - Include or exclude subregion 9 in region - 9 - 9 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR10 - Include or exclude subregion 10 in region - 10 - 10 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR11 - Include or exclude subregion 11 in region - 11 - 11 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR12 - Include or exclude subregion 12 in region - 12 - 12 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR13 - Include or exclude subregion 13 in region - 13 - 13 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR14 - Include or exclude subregion 14 in region - 14 - 14 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR15 - Include or exclude subregion 15 in region - 15 - 15 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR16 - Include or exclude subregion 16 in region - 16 - 16 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR17 - Include or exclude subregion 17 in region - 17 - 17 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR18 - Include or exclude subregion 18 in region - 18 - 18 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR19 - Include or exclude subregion 19 in region - 19 - 19 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR20 - Include or exclude subregion 20 in region - 20 - 20 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR21 - Include or exclude subregion 21 in region - 21 - 21 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR22 - Include or exclude subregion 22 in region - 22 - 22 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR23 - Include or exclude subregion 23 in region - 23 - 23 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR24 - Include or exclude subregion 24 in region - 24 - 24 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR25 - Include or exclude subregion 25 in region - 25 - 25 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR26 - Include or exclude subregion 26 in region - 26 - 26 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR27 - Include or exclude subregion 27 in region - 27 - 27 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR28 - Include or exclude subregion 28 in region - 28 - 28 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR29 - Include or exclude subregion 29 in region - 29 - 29 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR30 - Include or exclude subregion 30 in region - 30 - 30 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR31 - Include or exclude subregion 31 in region - 31 - 31 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - - - - - - PWM1 - Pulse Width Modulation Unit 1 - PWM - 0x40021000 - 32 - - PWM1 - 33 - - - - PWM2 - Pulse Width Modulation Unit 2 - PWM - 0x40022000 - 32 - - PWM2 - 34 - - - - SPIM2 - Serial Peripheral Interface Master with EasyDMA 2 - SPIM - 0x40023000 - 32 - - SPIM2_SPIS2_SPI2 - 35 - - - - SPIS2 - SPI Slave 2 - SPIS - 0x40023000 - 32 - SPIM2 - - SPIM2_SPIS2_SPI2 - 35 - - - - SPI2 - Serial Peripheral Interface 2 - SPI - 0x40023000 - 32 - SPIM2 - - SPIM2_SPIS2_SPI2 - 35 - - - - RTC2 - Real time counter 2 - RTC - 0x40024000 - 32 - - RTC2 - 36 - - - - I2S - Inter-IC Sound - I2S - 0x40025000 - 32 - - 0 - 0x1000 - registers - - - I2S - 37 - - - - TASKS_START - Starts continuous I<sup>2</sup>S transfer. Also starts MCK generator when this is enabled. - 0x000 - write-only - - - TASKS_STOP - Stops I<sup>2</sup>S transfer. Also stops MCK generator. Triggering this task will cause the STOPPED event to be generated. - 0x004 - write-only - - - EVENTS_RXPTRUPD - The RXD.PTR register has been copied to internal double-buffers. When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words that are received on the SDIN pin. - 0x104 - read-write - - - EVENTS_STOPPED - I<sup>2</sup>S transfer stopped. - 0x108 - read-write - - - EVENTS_TXPTRUPD - The TDX.PTR register has been copied to internal double-buffers. When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin. - 0x114 - read-write - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - RXPTRUPD - Enable or disable interrupt on EVENTS_RXPTRUPD event - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STOPPED - Enable or disable interrupt on EVENTS_STOPPED event - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXPTRUPD - Enable or disable interrupt on EVENTS_TXPTRUPD event - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - RXPTRUPD - Write '1' to Enable interrupt on EVENTS_RXPTRUPD event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STOPPED - Write '1' to Enable interrupt on EVENTS_STOPPED event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXPTRUPD - Write '1' to Enable interrupt on EVENTS_TXPTRUPD event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - RXPTRUPD - Write '1' to Clear interrupt on EVENTS_RXPTRUPD event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STOPPED - Write '1' to Clear interrupt on EVENTS_STOPPED event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXPTRUPD - Write '1' to Clear interrupt on EVENTS_TXPTRUPD event - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - Enable I<sup>2</sup>S module. - 0x500 - read-write - 0x00000000 - - - ENABLE - Enable I<sup>2</sup>S module. - 0 - 0 - - - DISABLE - Disabl - 0 - - - ENABLE - Enable - 1 - - - - - - - CONFIG - Unspecified - I2S_CONFIG - 0x504 - - MODE - I<sup>2</sup>S mode. - 0x000 - read-write - 0x00000000 - - - MODE - I<sup>2</sup>S mode. - 0 - 0 - - - MASTER - Master mode. SCK and LRCK generated from internal master clcok (MCK) and output on pins defined by PSEL.xxx. - 0 - - - SLAVE - Slave mode. SCK and LRCK generated by external master and received on pins defined by PSEL.xxx - 1 - - - - - - - RXEN - Reception (RX) enable. - 0x004 - read-write - 0x00000000 - - - RXEN - Reception (RX) enable. - 0 - 0 - - - DISABLE - Reception disabled and now data will be written to the RXD.PTR address. - 0 - - - ENABLE - Reception enabled. - 1 - - - - - - - TXEN - Transmission (TX) enable. - 0x008 - read-write - 0x00000001 - - - TXEN - Transmission (TX) enable. - 0 - 0 - - - DISABLE - Transmission disabled and now data will be read from the RXD.TXD address. - 0 - - - ENABLE - Transmission enabled. - 1 - - - - - - - MCKEN - Master clock generator enable. - 0x00C - read-write - 0x00000001 - - - MCKEN - Master clock generator enable. - 0 - 0 - - - DISABLE - Master clock generator disabled and PSEL.MCK not connected(available as GPIO). - 0 - - - ENABLE - Master clock generator running and MCK output on PSEL.MCK. - 1 - - - - - - - MCKFREQ - Master clock generator frequency. - 0x010 - read-write - 0x20000000 - - - MCKFREQ - Master clock generator frequency. - 0 - 31 - - - 32MDIV2 - 32 MHz / 2 = 16.0 MHz - 0x80000000 - - - 32MDIV3 - 32 MHz / 3 = 10.6666667 MHz - 0x50000000 - - - 32MDIV4 - 32 MHz / 4 = 8.0 MHz - 0x40000000 - - - 32MDIV5 - 32 MHz / 5 = 6.4 MHz - 0x30000000 - - - 32MDIV6 - 32 MHz / 6 = 5.3333333 MHz - 0x28000000 - - - 32MDIV8 - 32 MHz / 8 = 4.0 MHz - 0x20000000 - - - 32MDIV10 - 32 MHz / 10 = 3.2 MHz - 0x18000000 - - - 32MDIV11 - 32 MHz / 11 = 2.9090909 MHz - 0x16000000 - - - 32MDIV15 - 32 MHz / 15 = 2.1333333 MHz - 0x11000000 - - - 32MDIV16 - 32 MHz / 16 = 2.0 MHz - 0x10000000 - - - 32MDIV21 - 32 MHz / 21 = 1.5238095 - 0x0C000000 - - - 32MDIV23 - 32 MHz / 23 = 1.3913043 MHz - 0x0B000000 - - - 32MDIV31 - 32 MHz / 31 = 1.0322581 MHz - 0x08200000 - - - 32MDIV42 - 32 MHz / 42 = 0.7619048 MHz - 0x06000000 - - - 32MDIV63 - 32 MHz / 63 = 0.5079365 MHz - 0x04100000 - - - 32MDIV125 - 32 MHz / 125 = 0.256 MHz - 0x020C0000 - - - - - - - RATIO - MCK / LRCK ratio. - 0x014 - read-write - 0x00000006 - - - RATIO - MCK / LRCK ratio. - 0 - 3 - - - 32X - LRCK = MCK / 32 - 0 - - - 48X - LRCK = MCK / 48 - 1 - - - 64X - LRCK = MCK / 64 - 2 - - - 96X - LRCK = MCK / 96x - 3 - - - 128X - LRCK = MCK / 128 - 4 - - - 192X - LRCK = MCK / 192 - 5 - - - 256X - LRCK = MCK / 256 - 6 - - - 384X - LRCK = MCK / 384 - 7 - - - 512X - LRCK = MCK / 512 - 8 - - - - - - - SWIDTH - Sample width. - 0x018 - read-write - 0x00000001 - - - SWIDTH - Sample width. - 0 - 1 - - - 8BIT - 8 bit. - 0 - - - 16BIT - 16 bit. - 1 - - - 24BIT - 24 bit. - 2 - - - - - - - ALIGN - Alignment of sample within a frame. - 0x01C - read-write - 0x00000000 - - - ALIGN - Alignment of sample within a frame. - 0 - 0 - - - LEFT - Left-aligned. - 0 - - - RIGHT - Right-aligned. - 1 - - - - - - - FORMAT - Frame format. - 0x020 - read-write - 0x00000000 - - - FORMAT - Frame format. - 0 - 0 - - - I2S - Original I<sup>2</sup>S format. - 0 - - - DSP - Alternate (DSP) format. - 1 - - - - - - - CHANNELS - Enable channels. - 0x024 - read-write - 0x00000000 - - - CHANNELS - Enable channels. - 0 - 1 - - - STEREO - Stereo. - 0 - - - LEFT - Left only. - 1 - - - RIGHT - Right only. - 2 - - - - - - - - RXD - Unspecified - I2S_RXD - 0x538 - - PTR - Receive buffer RAM start address. - 0x000 - read-write - 0x00000000 - - - PTR - Receive buffer Data RAM start address. When receiving, words containing samples will be written to this address. This address is a word aligned Data RAM address. - 0 - 31 - - - - - - TXD - Unspecified - I2S_TXD - 0x540 - - PTR - Transmit buffer RAM start address. - 0x000 - read-write - 0x00000000 - - - PTR - Transmit buffer Data RAM start address. When transmitting, words containing samples will be fetched from this address. This address is a word aligned Data RAM address. - 0 - 31 - - - - - - RXTXD - Unspecified - I2S_RXTXD - 0x550 - - MAXCNT - Size of RXD and TXD buffers. - 0x000 - read-write - 0x00000000 - - - MAXCNT - Size of RXD and TXD buffers in number of 32 bit words. - 0 - 13 - - - - - - PSEL - Unspecified - I2S_PSEL - 0x560 - - MCK - Pin select for MCK signal. - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SCK - Pin select for SCK signal. - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - LRCK - Pin select for LRCK signal. - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDIN - Pin select for SDIN signal. - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDOUT - Pin select for SDOUT signal. - 0x010 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - - - P0 - GPIO Port 1 - GPIO - 0x50000000 - 32 - GPIO - - 0 - 0x1000 - registers - - - - OUT - Write GPIO port - 0x504 - read-write - - - PIN0 - P0.0 pin - 0 - 0 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN1 - P0.1 pin - 1 - 1 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN2 - P0.2 pin - 2 - 2 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN3 - P0.3 pin - 3 - 3 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN4 - P0.4 pin - 4 - 4 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN5 - P0.5 pin - 5 - 5 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN6 - P0.6 pin - 6 - 6 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN7 - P0.7 pin - 7 - 7 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN8 - P0.8 pin - 8 - 8 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN9 - P0.9 pin - 9 - 9 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN10 - P0.10 pin - 10 - 10 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN11 - P0.11 pin - 11 - 11 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN12 - P0.12 pin - 12 - 12 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN13 - P0.13 pin - 13 - 13 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN14 - P0.14 pin - 14 - 14 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN15 - P0.15 pin - 15 - 15 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN16 - P0.16 pin - 16 - 16 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN17 - P0.17 pin - 17 - 17 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN18 - P0.18 pin - 18 - 18 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN19 - P0.19 pin - 19 - 19 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN20 - P0.20 pin - 20 - 20 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN21 - P0.21 pin - 21 - 21 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN22 - P0.22 pin - 22 - 22 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN23 - P0.23 pin - 23 - 23 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN24 - P0.24 pin - 24 - 24 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN25 - P0.25 pin - 25 - 25 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN26 - P0.26 pin - 26 - 26 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN27 - P0.27 pin - 27 - 27 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN28 - P0.28 pin - 28 - 28 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN29 - P0.29 pin - 29 - 29 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN30 - P0.30 pin - 30 - 30 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN31 - P0.31 pin - 31 - 31 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - - - OUTSET - Set individual bits in GPIO port - 0x508 - read-write - oneToSet - - - PIN0 - P0.0 pin - 0 - 0 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN1 - P0.1 pin - 1 - 1 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN2 - P0.2 pin - 2 - 2 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN3 - P0.3 pin - 3 - 3 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN4 - P0.4 pin - 4 - 4 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN5 - P0.5 pin - 5 - 5 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN6 - P0.6 pin - 6 - 6 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN7 - P0.7 pin - 7 - 7 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN8 - P0.8 pin - 8 - 8 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN9 - P0.9 pin - 9 - 9 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN10 - P0.10 pin - 10 - 10 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN11 - P0.11 pin - 11 - 11 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN12 - P0.12 pin - 12 - 12 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN13 - P0.13 pin - 13 - 13 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN14 - P0.14 pin - 14 - 14 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN15 - P0.15 pin - 15 - 15 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN16 - P0.16 pin - 16 - 16 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN17 - P0.17 pin - 17 - 17 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN18 - P0.18 pin - 18 - 18 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN19 - P0.19 pin - 19 - 19 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN20 - P0.20 pin - 20 - 20 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN21 - P0.21 pin - 21 - 21 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN22 - P0.22 pin - 22 - 22 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN23 - P0.23 pin - 23 - 23 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN24 - P0.24 pin - 24 - 24 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN25 - P0.25 pin - 25 - 25 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN26 - P0.26 pin - 26 - 26 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN27 - P0.27 pin - 27 - 27 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN28 - P0.28 pin - 28 - 28 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN29 - P0.29 pin - 29 - 29 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN30 - P0.30 pin - 30 - 30 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN31 - P0.31 pin - 31 - 31 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - - - OUTCLR - Clear individual bits in GPIO port - 0x50C - read-write - oneToClear - - - PIN0 - P0.0 pin - 0 - 0 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN1 - P0.1 pin - 1 - 1 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN2 - P0.2 pin - 2 - 2 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN3 - P0.3 pin - 3 - 3 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN4 - P0.4 pin - 4 - 4 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN5 - P0.5 pin - 5 - 5 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN6 - P0.6 pin - 6 - 6 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN7 - P0.7 pin - 7 - 7 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN8 - P0.8 pin - 8 - 8 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN9 - P0.9 pin - 9 - 9 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN10 - P0.10 pin - 10 - 10 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN11 - P0.11 pin - 11 - 11 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN12 - P0.12 pin - 12 - 12 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN13 - P0.13 pin - 13 - 13 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN14 - P0.14 pin - 14 - 14 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN15 - P0.15 pin - 15 - 15 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN16 - P0.16 pin - 16 - 16 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN17 - P0.17 pin - 17 - 17 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN18 - P0.18 pin - 18 - 18 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN19 - P0.19 pin - 19 - 19 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN20 - P0.20 pin - 20 - 20 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN21 - P0.21 pin - 21 - 21 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN22 - P0.22 pin - 22 - 22 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN23 - P0.23 pin - 23 - 23 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN24 - P0.24 pin - 24 - 24 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN25 - P0.25 pin - 25 - 25 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN26 - P0.26 pin - 26 - 26 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN27 - P0.27 pin - 27 - 27 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN28 - P0.28 pin - 28 - 28 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN29 - P0.29 pin - 29 - 29 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN30 - P0.30 pin - 30 - 30 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN31 - P0.31 pin - 31 - 31 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - - - IN - Read GPIO port - 0x510 - read-only - - - PIN0 - P0.0 pin - 0 - 0 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN1 - P0.1 pin - 1 - 1 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN2 - P0.2 pin - 2 - 2 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN3 - P0.3 pin - 3 - 3 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN4 - P0.4 pin - 4 - 4 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN5 - P0.5 pin - 5 - 5 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN6 - P0.6 pin - 6 - 6 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN7 - P0.7 pin - 7 - 7 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN8 - P0.8 pin - 8 - 8 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN9 - P0.9 pin - 9 - 9 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN10 - P0.10 pin - 10 - 10 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN11 - P0.11 pin - 11 - 11 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN12 - P0.12 pin - 12 - 12 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN13 - P0.13 pin - 13 - 13 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN14 - P0.14 pin - 14 - 14 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN15 - P0.15 pin - 15 - 15 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN16 - P0.16 pin - 16 - 16 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN17 - P0.17 pin - 17 - 17 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN18 - P0.18 pin - 18 - 18 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN19 - P0.19 pin - 19 - 19 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN20 - P0.20 pin - 20 - 20 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN21 - P0.21 pin - 21 - 21 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN22 - P0.22 pin - 22 - 22 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN23 - P0.23 pin - 23 - 23 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN24 - P0.24 pin - 24 - 24 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN25 - P0.25 pin - 25 - 25 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN26 - P0.26 pin - 26 - 26 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN27 - P0.27 pin - 27 - 27 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN28 - P0.28 pin - 28 - 28 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN29 - P0.29 pin - 29 - 29 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN30 - P0.30 pin - 30 - 30 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN31 - P0.31 pin - 31 - 31 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - - - DIR - Direction of GPIO pins - 0x514 - read-write - - - PIN0 - P0.0 pin - 0 - 0 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN1 - P0.1 pin - 1 - 1 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN2 - P0.2 pin - 2 - 2 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN3 - P0.3 pin - 3 - 3 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN4 - P0.4 pin - 4 - 4 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN5 - P0.5 pin - 5 - 5 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN6 - P0.6 pin - 6 - 6 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN7 - P0.7 pin - 7 - 7 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN8 - P0.8 pin - 8 - 8 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN9 - P0.9 pin - 9 - 9 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN10 - P0.10 pin - 10 - 10 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN11 - P0.11 pin - 11 - 11 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN12 - P0.12 pin - 12 - 12 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN13 - P0.13 pin - 13 - 13 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN14 - P0.14 pin - 14 - 14 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN15 - P0.15 pin - 15 - 15 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN16 - P0.16 pin - 16 - 16 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN17 - P0.17 pin - 17 - 17 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN18 - P0.18 pin - 18 - 18 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN19 - P0.19 pin - 19 - 19 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN20 - P0.20 pin - 20 - 20 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN21 - P0.21 pin - 21 - 21 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN22 - P0.22 pin - 22 - 22 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN23 - P0.23 pin - 23 - 23 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN24 - P0.24 pin - 24 - 24 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN25 - P0.25 pin - 25 - 25 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN26 - P0.26 pin - 26 - 26 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN27 - P0.27 pin - 27 - 27 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN28 - P0.28 pin - 28 - 28 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN29 - P0.29 pin - 29 - 29 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN30 - P0.30 pin - 30 - 30 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN31 - P0.31 pin - 31 - 31 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - - - DIRSET - DIR set register - 0x518 - read-write - oneToSet - - - PIN0 - Set as output pin 0 - 0 - 0 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN1 - Set as output pin 1 - 1 - 1 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN2 - Set as output pin 2 - 2 - 2 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN3 - Set as output pin 3 - 3 - 3 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN4 - Set as output pin 4 - 4 - 4 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN5 - Set as output pin 5 - 5 - 5 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN6 - Set as output pin 6 - 6 - 6 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN7 - Set as output pin 7 - 7 - 7 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN8 - Set as output pin 8 - 8 - 8 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN9 - Set as output pin 9 - 9 - 9 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN10 - Set as output pin 10 - 10 - 10 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN11 - Set as output pin 11 - 11 - 11 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN12 - Set as output pin 12 - 12 - 12 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN13 - Set as output pin 13 - 13 - 13 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN14 - Set as output pin 14 - 14 - 14 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN15 - Set as output pin 15 - 15 - 15 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN16 - Set as output pin 16 - 16 - 16 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN17 - Set as output pin 17 - 17 - 17 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN18 - Set as output pin 18 - 18 - 18 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN19 - Set as output pin 19 - 19 - 19 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN20 - Set as output pin 20 - 20 - 20 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN21 - Set as output pin 21 - 21 - 21 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN22 - Set as output pin 22 - 22 - 22 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN23 - Set as output pin 23 - 23 - 23 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN24 - Set as output pin 24 - 24 - 24 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN25 - Set as output pin 25 - 25 - 25 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN26 - Set as output pin 26 - 26 - 26 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN27 - Set as output pin 27 - 27 - 27 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN28 - Set as output pin 28 - 28 - 28 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN29 - Set as output pin 29 - 29 - 29 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN30 - Set as output pin 30 - 30 - 30 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN31 - Set as output pin 31 - 31 - 31 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - - - DIRCLR - DIR clear register - 0x51C - read-write - oneToClear - - - PIN0 - Set as input pin 0 - 0 - 0 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN1 - Set as input pin 1 - 1 - 1 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN2 - Set as input pin 2 - 2 - 2 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN3 - Set as input pin 3 - 3 - 3 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN4 - Set as input pin 4 - 4 - 4 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN5 - Set as input pin 5 - 5 - 5 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN6 - Set as input pin 6 - 6 - 6 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN7 - Set as input pin 7 - 7 - 7 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN8 - Set as input pin 8 - 8 - 8 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN9 - Set as input pin 9 - 9 - 9 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN10 - Set as input pin 10 - 10 - 10 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN11 - Set as input pin 11 - 11 - 11 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN12 - Set as input pin 12 - 12 - 12 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN13 - Set as input pin 13 - 13 - 13 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN14 - Set as input pin 14 - 14 - 14 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN15 - Set as input pin 15 - 15 - 15 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN16 - Set as input pin 16 - 16 - 16 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN17 - Set as input pin 17 - 17 - 17 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN18 - Set as input pin 18 - 18 - 18 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN19 - Set as input pin 19 - 19 - 19 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN20 - Set as input pin 20 - 20 - 20 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN21 - Set as input pin 21 - 21 - 21 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN22 - Set as input pin 22 - 22 - 22 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN23 - Set as input pin 23 - 23 - 23 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN24 - Set as input pin 24 - 24 - 24 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN25 - Set as input pin 25 - 25 - 25 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN26 - Set as input pin 26 - 26 - 26 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN27 - Set as input pin 27 - 27 - 27 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN28 - Set as input pin 28 - 28 - 28 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN29 - Set as input pin 29 - 29 - 29 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN30 - Set as input pin 30 - 30 - 30 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN31 - Set as input pin 31 - 31 - 31 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - - - LATCH - Latch indicating which GPIO pins have met the criteria set in PIN_CNF[n].SENSE register - 0x520 - read-write - - - LATCH - Register holding a '1' for each GPIO pins which has met the criteria set in PIN_CNF[n].SENSE - 0 - 31 - - - - - DETECTMODE - Select between default DETECT signal behaviour and LDETECT mode - 0x524 - read-write - - - DETECTMODE - Select between default DETECT signal behaviour and LDETECT mode - 0 - 0 - - - Default - Use default behaviour - 0 - - - LDETECT - Use LDETECT behaviour - 1 - - - - - - - 32 - 4 - 0-31 - PIN_CNF[%s] - Description collection[0]: Configuration of GPIO pins - 0x700 - read-write - 0x00000002 - - - DIR - Pin direction - 0 - 0 - - - Input - Configure pin as an input pin - 0 - - - Output - Configure pin as an output pin - 1 - - - - - INPUT - Connect or disconnect input buffer - 1 - 1 - - - Connect - Connect input buffer - 0 - - - Disconnect - Disconnect input buffer - 1 - - - - - PULL - Pull configuration - 2 - 3 - - - Disabled - No pull - 0 - - - Pulldown - Pull down on pin - 1 - - - Pullup - Pull up on pin - 3 - - - - - DRIVE - Drive configuration - 8 - 10 - - - S0S1 - Standard '0', standard '1' - 0 - - - H0S1 - High drive '0', standard '1' - 1 - - - S0H1 - Standard '0', high drive '1' - 2 - - - H0H1 - High drive '0', high 'drive '1'' - 3 - - - D0S1 - Disconnect '0' standard '1' - 4 - - - D0H1 - Disconnect '0', high drive '1' - 5 - - - S0D1 - Standard '0'. disconnect '1' - 6 - - - H0D1 - High drive '0', disconnect '1' - 7 - - - - - SENSE - Pin sensing mechanism - 16 - 17 - - - Disabled - Disabled - 0 - - - High - Sense for high level - 2 - - - Low - Sense for low level - 3 - - - - - - - - - TWI1 - I2C compatible Two-Wire Interface 1 - TWI - 0x40004000 - 32 - SPIM1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - UART0 - Universal Asynchronous Receiver/Transmitter - UART - 0x40002000 - 32 - UARTE0 - UART - - 0 - 0x1000 - registers - - - UARTE0_UART0 - 2 - - - - TASKS_STARTRX - Start UART receiver - 0x000 - write-only - - - TASKS_STOPRX - Stop UART receiver - 0x004 - write-only - - - TASKS_STARTTX - Start UART transmitter - 0x008 - write-only - - - TASKS_STOPTX - Stop UART transmitter - 0x00C - write-only - - - TASKS_SUSPEND - Suspend UART - 0x01C - write-only - - - EVENTS_CTS - CTS is activated (set low). Clear To Send. - 0x100 - read-write - - - EVENTS_NCTS - CTS is deactivated (set high). Not Clear To Send. - 0x104 - read-write - - - EVENTS_RXDRDY - Data received in RXD - 0x108 - read-write - - - EVENTS_TXDRDY - Data sent from TXD - 0x11C - read-write - - - EVENTS_ERROR - Error detected - 0x124 - read-write - - - EVENTS_RXTO - Receiver timeout - 0x144 - read-write - - - SHORTS - Shortcut register - 0x200 - read-write - - - CTS_STARTRX - Shortcut between EVENTS_CTS event and TASKS_STARTRX task - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - NCTS_STOPRX - Shortcut between EVENTS_NCTS event and TASKS_STOPRX task - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - CTS - Write '1' to Enable interrupt on EVENTS_CTS event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - NCTS - Write '1' to Enable interrupt on EVENTS_NCTS event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXDRDY - Write '1' to Enable interrupt on EVENTS_RXDRDY event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXDRDY - Write '1' to Enable interrupt on EVENTS_TXDRDY event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to Enable interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXTO - Write '1' to Enable interrupt on EVENTS_RXTO event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - CTS - Write '1' to Clear interrupt on EVENTS_CTS event - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - NCTS - Write '1' to Clear interrupt on EVENTS_NCTS event - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXDRDY - Write '1' to Clear interrupt on EVENTS_RXDRDY event - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXDRDY - Write '1' to Clear interrupt on EVENTS_TXDRDY event - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to Clear interrupt on EVENTS_ERROR event - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXTO - Write '1' to Clear interrupt on EVENTS_RXTO event - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x480 - read-write - oneToClear - - - OVERRUN - Overrun error - 0 - 0 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - PARITY - Parity error - 1 - 1 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - FRAMING - Framing error occurred - 2 - 2 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - BREAK - Break condition - 3 - 3 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - - - ENABLE - Enable UART - 0x500 - read-write - - - ENABLE - Enable or disable UART - 0 - 3 - - - Disabled - Disable UART - 0 - - - Enabled - Enable UART - 4 - - - - - - - PSELRTS - Pin select for RTS - 0x508 - read-write - 0xFFFFFFFF - - - PSELRTS - Pin number configuration for UART RTS signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - PSELTXD - Pin select for TXD - 0x50C - read-write - 0xFFFFFFFF - - - PSELTXD - Pin number configuration for UART TXD signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - PSELCTS - Pin select for CTS - 0x510 - read-write - 0xFFFFFFFF - - - PSELCTS - Pin number configuration for UART CTS signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - PSELRXD - Pin select for RXD - 0x514 - read-write - 0xFFFFFFFF - - - PSELRXD - Pin number configuration for UART RXD signal - 0 - 31 - - - Disconnected - Disconnect - 0xFFFFFFFF - - - - - - - RXD - RXD register - 0x518 - read-only - - - RXD - RX data received in previous transfers, double buffered - 0 - 7 - - - - - TXD - TXD register - 0x51C - write-only - - - TXD - TX data to be transferred - 0 - 7 - - - - - BAUDRATE - Baud rate - 0x524 - read-write - 0x04000000 - - - BAUDRATE - Baud-rate - 0 - 31 - - - Baud1200 - 1200 baud (actual rate: 1205) - 0x0004F000 - - - Baud2400 - 2400 baud (actual rate: 2396) - 0x0009D000 - - - Baud4800 - 4800 baud (actual rate: 4808) - 0x0013B000 - - - Baud9600 - 9600 baud (actual rate: 9598) - 0x00275000 - - - Baud14400 - 14400 baud (actual rate: 14414) - 0x003B0000 - - - Baud19200 - 19200 baud (actual rate: 19208) - 0x004EA000 - - - Baud28800 - 28800 baud (actual rate: 28829) - 0x0075F000 - - - Baud38400 - 38400 baud (actual rate: 38462) - 0x009D5000 - - - Baud57600 - 57600 baud (actual rate: 57762) - 0x00EBF000 - - - Baud76800 - 76800 baud (actual rate: 76923) - 0x013A9000 - - - Baud115200 - 115200 baud (actual rate: 115942) - 0x01D7E000 - - - Baud230400 - 230400 baud (actual rate: 231884) - 0x03AFB000 - - - Baud250000 - 250000 baud - 0x04000000 - - - Baud460800 - 460800 baud (actual rate: 470588) - 0x075F7000 - - - Baud921600 - 921600 baud (actual rate: 941176) - 0x0EBED000 - - - Baud1M - 1Mega baud - 0x10000000 - - - - - - - CONFIG - Configuration of parity and hardware flow control - 0x56C - read-write - - - HWFC - Hardware flow control - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - PARITY - Parity - 1 - 3 - - - Excluded - Exclude parity bit - 0x0 - - - Included - Include parity bit - 0x7 - - - - - - - - - \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/svd/nrf52840.svd b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/svd/nrf52840.svd deleted file mode 100644 index 642d5713..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/misc/svd/nrf52840.svd +++ /dev/null @@ -1,54787 +0,0 @@ - - - - Nordic Semiconductor - Nordic - nrf52840 - nrf52 - 1 - nRF52840 reference description for radio MCU with ARM 32-bit Cortex-M4 Microcontroller - -Copyright (c) 2010 - 2018, Nordic Semiconductor ASA\n -\n -All rights reserved.\n -\n -Redistribution and use in source and binary forms, with or without modification,\n -are permitted provided that the following conditions are met:\n -\n -1. Redistributions of source code must retain the above copyright notice, this\n - list of conditions and the following disclaimer.\n -\n -2. Redistributions in binary form, except as embedded into a Nordic\n - Semiconductor ASA integrated circuit in a product or a software update for\n - such product, must reproduce the above copyright notice, this list of\n - conditions and the following disclaimer in the documentation and/or other\n - materials provided with the distribution.\n -\n -3. Neither the name of Nordic Semiconductor ASA nor the names of its\n - contributors may be used to endorse or promote products derived from this\n - software without specific prior written permission.\n -\n -4. This software, with or without modification, must only be used with a\n - Nordic Semiconductor ASA integrated circuit.\n -\n -5. Any software provided in binary form under this license must not be reverse\n - engineered, decompiled, modified and/or disassembled.\n -\n -THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS\n -OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n -OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE\n -DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE\n -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n -GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n -OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n - - 8 - 32 - 32 - 0x00000000 - 0xFFFFFFFF - - CM4 - r0p1 - little - 1 - 1 - 3 - 0 - - system_nrf52840 - NRF_ - - 2048 - 2048 - 112 - - - - FICR - Factory information configuration registers - 0x10000000 - - 0 - 0x1000 - registers - - FICR - 0x20 - - - CODEPAGESIZE - Code memory page size - 0x010 - read-only - 0xFFFFFFFF - - - CODEPAGESIZE - Code memory page size - 0 - 31 - - - - - CODESIZE - Code memory size - 0x014 - read-only - 0xFFFFFFFF - - - CODESIZE - Code memory size in number of pages - 0 - 31 - - - - - 0x2 - 0x4 - DEVICEID[%s] - Description collection: Device identifier - 0x060 - read-only - 0xFFFFFFFF - - - DEVICEID - 64 bit unique device identifier - 0 - 31 - - - - - 0x4 - 0x4 - ER[%s] - Description collection: Encryption root, word n - 0x080 - read-only - 0xFFFFFFFF - - - ER - Encryption root, word n - 0 - 31 - - - - - 0x4 - 0x4 - IR[%s] - Description collection: Identity Root, word n - 0x090 - read-only - 0xFFFFFFFF - - - IR - Identity Root, word n - 0 - 31 - - - - - DEVICEADDRTYPE - Device address type - 0x0A0 - read-only - 0xFFFFFFFF - - - DEVICEADDRTYPE - Device address type - 0 - 0 - - - Public - Public address - 0 - - - Random - Random address - 1 - - - - - - - 0x2 - 0x4 - DEVICEADDR[%s] - Description collection: Device address n - 0x0A4 - read-only - 0xFFFFFFFF - - - DEVICEADDR - 48 bit device address - 0 - 31 - - - - - INFO - Device info - FICR_INFO - read-only - 0x100 - - PART - Part code - 0x000 - read-only - 0x00052840 - - - PART - Part code - 0 - 31 - - - N52840 - nRF52840 - 0x52840 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - VARIANT - Build code (hardware version and production configuration) - 0x004 - read-only - 0xFFFFFFFF - - - VARIANT - Build code (hardware version and production configuration). Encoded as ASCII. - 0 - 31 - - - AAAA - AAAA - 0x41414141 - - - BAAA - BAAA - 0x42414141 - - - CAAA - CAAA - 0x43414141 - - - AABA - AABA - 0x41414241 - - - AABB - AABB - 0x41414242 - - - AACA - AACA - 0x41414341 - - - AAAB - AAAB - 0x41414142 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - PACKAGE - Package option - 0x008 - read-only - 0xFFFFFFFF - - - PACKAGE - Package option - 0 - 31 - - - QI - QIxx - 73-pin aQFN - 0x2004 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - RAM - RAM variant - 0x00C - read-only - 0xFFFFFFFF - - - RAM - RAM variant - 0 - 31 - - - K16 - 16 kByte RAM - 0x10 - - - K32 - 32 kByte RAM - 0x20 - - - K64 - 64 kByte RAM - 0x40 - - - K128 - 128 kByte RAM - 0x80 - - - K256 - 256 kByte RAM - 0x100 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - FLASH - Flash variant - 0x010 - read-only - 0xFFFFFFFF - - - FLASH - Flash variant - 0 - 31 - - - K128 - 128 kByte FLASH - 0x80 - - - K256 - 256 kByte FLASH - 0x100 - - - K512 - 512 kByte FLASH - 0x200 - - - K1024 - 1 MByte FLASH - 0x400 - - - K2048 - 2 MByte FLASH - 0x800 - - - Unspecified - Unspecified - 0xFFFFFFFF - - - - - - - - 0x3 - 0x4 - PRODTEST[%s] - Description collection: Production test signature n - 0x350 - read-only - 0xFFFFFFFF - - - PRODTEST - Production test signature n - 0 - 31 - - - Done - Production tests done - 0xBB42319F - - - NotDone - Production tests not done - 0xFFFFFFFF - - - - - - - TEMP - Registers storing factory TEMP module linearization coefficients - FICR_TEMP - read-only - 0x404 - - A0 - Slope definition A0 - 0x000 - read-only - 0xFFFFF320 - - - A - A (slope definition) register. - 0 - 11 - - - - - A1 - Slope definition A1 - 0x004 - read-only - 0xFFFFF343 - - - A - A (slope definition) register. - 0 - 11 - - - - - A2 - Slope definition A2 - 0x008 - read-only - 0xFFFFF35D - - - A - A (slope definition) register. - 0 - 11 - - - - - A3 - Slope definition A3 - 0x00C - read-only - 0xFFFFF400 - - - A - A (slope definition) register. - 0 - 11 - - - - - A4 - Slope definition A4 - 0x010 - read-only - 0xFFFFF452 - - - A - A (slope definition) register. - 0 - 11 - - - - - A5 - Slope definition A5 - 0x014 - read-only - 0xFFFFF37B - - - A - A (slope definition) register. - 0 - 11 - - - - - B0 - Y-intercept B0 - 0x018 - read-only - 0xFFFF3FCC - - - B - B (y-intercept) - 0 - 13 - - - - - B1 - Y-intercept B1 - 0x01C - read-only - 0xFFFF3F98 - - - B - B (y-intercept) - 0 - 13 - - - - - B2 - Y-intercept B2 - 0x020 - read-only - 0xFFFF3F98 - - - B - B (y-intercept) - 0 - 13 - - - - - B3 - Y-intercept B3 - 0x024 - read-only - 0xFFFF0012 - - - B - B (y-intercept) - 0 - 13 - - - - - B4 - Y-intercept B4 - 0x028 - read-only - 0xFFFF004D - - - B - B (y-intercept) - 0 - 13 - - - - - B5 - Y-intercept B5 - 0x02C - read-only - 0xFFFF3E10 - - - B - B (y-intercept) - 0 - 13 - - - - - T0 - Segment end T0 - 0x030 - read-only - 0xFFFFFFE2 - - - T - T (segment end) register - 0 - 7 - - - - - T1 - Segment end T1 - 0x034 - read-only - 0xFFFFFF00 - - - T - T (segment end) register - 0 - 7 - - - - - T2 - Segment end T2 - 0x038 - read-only - 0xFFFFFF14 - - - T - T (segment end) register - 0 - 7 - - - - - T3 - Segment end T3 - 0x03C - read-only - 0xFFFFFF19 - - - T - T (segment end) register - 0 - 7 - - - - - T4 - Segment end T4 - 0x040 - read-only - 0xFFFFFF50 - - - T - T (segment end) register - 0 - 7 - - - - - - NFC - Unspecified - FICR_NFC - read-write - 0x450 - - TAGHEADER0 - Default header for NFC tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. - 0x000 - read-only - 0xFFFFFF5F - - - MFGID - Default Manufacturer ID: Nordic Semiconductor ASA has ICM 0x5F - 0 - 7 - - - UD1 - Unique identifier byte 1 - 8 - 15 - - - UD2 - Unique identifier byte 2 - 16 - 23 - - - UD3 - Unique identifier byte 3 - 24 - 31 - - - - - TAGHEADER1 - Default header for NFC tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. - 0x004 - read-only - 0xFFFFFFFF - - - UD4 - Unique identifier byte 4 - 0 - 7 - - - UD5 - Unique identifier byte 5 - 8 - 15 - - - UD6 - Unique identifier byte 6 - 16 - 23 - - - UD7 - Unique identifier byte 7 - 24 - 31 - - - - - TAGHEADER2 - Default header for NFC tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. - 0x008 - read-only - 0xFFFFFFFF - - - UD8 - Unique identifier byte 8 - 0 - 7 - - - UD9 - Unique identifier byte 9 - 8 - 15 - - - UD10 - Unique identifier byte 10 - 16 - 23 - - - UD11 - Unique identifier byte 11 - 24 - 31 - - - - - TAGHEADER3 - Default header for NFC tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. - 0x00C - read-only - 0xFFFFFFFF - - - UD12 - Unique identifier byte 12 - 0 - 7 - - - UD13 - Unique identifier byte 13 - 8 - 15 - - - UD14 - Unique identifier byte 14 - 16 - 23 - - - UD15 - Unique identifier byte 15 - 24 - 31 - - - - - - TRNG90B - NIST800-90B RNG calibration data - FICR_TRNG90B - read-write - 0xC00 - - BYTES - Amount of bytes for the required entropy bits - 0x000 - read-only - 0xFFFFFFFF - - - BYTES - Amount of bytes for the required entropy bits - 0 - 31 - - - - - RCCUTOFF - Repetition counter cutoff - 0x004 - read-only - 0xFFFFFFFF - - - RCCUTOFF - Repetition counter cutoff - 0 - 31 - - - - - APCUTOFF - Adaptive proportion cutoff - 0x008 - read-only - 0xFFFFFFFF - - - APCUTOFF - Adaptive proportion cutoff - 0 - 31 - - - - - STARTUP - Amount of bytes for the startup tests - 0x00C - read-only - 0x00000210 - - - STARTUP - Amount of bytes for the startup tests - 0 - 31 - - - - - ROSC1 - Sample count for ring oscillator 1 - 0x010 - read-only - 0xFFFFFFFF - - - ROSC1 - Sample count for ring oscillator 1 - 0 - 31 - - - - - ROSC2 - Sample count for ring oscillator 2 - 0x014 - read-only - 0xFFFFFFFF - - - ROSC2 - Sample count for ring oscillator 2 - 0 - 31 - - - - - ROSC3 - Sample count for ring oscillator 3 - 0x018 - read-only - 0xFFFFFFFF - - - ROSC3 - Sample count for ring oscillator 3 - 0 - 31 - - - - - ROSC4 - Sample count for ring oscillator 4 - 0x01C - read-only - 0xFFFFFFFF - - - ROSC4 - Sample count for ring oscillator 4 - 0 - 31 - - - - - - - - UICR - User information configuration registers - 0x10001000 - - 0 - 0x1000 - registers - - UICR - 0x20 - - - 0xF - 0x4 - NRFFW[%s] - Description collection: Reserved for Nordic firmware design - 0x014 - read-write - 0xFFFFFFFF - - - NRFFW - Reserved for Nordic firmware design - 0 - 31 - - - - - 0xC - 0x4 - NRFHW[%s] - Description collection: Reserved for Nordic hardware design - 0x050 - read-write - 0xFFFFFFFF - - - NRFHW - Reserved for Nordic hardware design - 0 - 31 - - - - - 0x20 - 0x4 - CUSTOMER[%s] - Description collection: Reserved for customer - 0x080 - read-write - 0xFFFFFFFF - - - CUSTOMER - Reserved for customer - 0 - 31 - - - - - 0x2 - 0x4 - PSELRESET[%s] - Description collection: Mapping of the nRESET function (see POWER chapter for details) - 0x200 - read-write - 0xFFFFFFFF - - - PIN - GPIO pin number onto which nRESET is exposed - 0 - 4 - - - PORT - Port number onto which nRESET is exposed - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - APPROTECT - Access port protection - 0x208 - read-write - 0xFFFFFFFF - - - PALL - Enable or disable access port protection. - 0 - 7 - - - Disabled - Disable - 0xFF - - - Enabled - Enable - 0x00 - - - - - - - NFCPINS - Setting of pins dedicated to NFC functionality: NFC antenna or GPIO - 0x20C - read-write - 0xFFFFFFFF - - - PROTECT - Setting of pins dedicated to NFC functionality - 0 - 0 - - - Disabled - Operation as GPIO pins. Same protection as normal GPIO pins - 0 - - - NFC - Operation as NFC antenna pins. Configures the protection for NFC operation - 1 - - - - - - - DEBUGCTRL - Processor debug control - 0x210 - read-write - 0xFFFFFFFF - - - CPUNIDEN - Configure CPU non-intrusive debug features - 0 - 7 - - - Enabled - Enable CPU ITM and ETM functionality (default behavior) - 0xFF - - - Disabled - Disable CPU ITM and ETM functionality - 0x00 - - - - - CPUFPBEN - Configure CPU flash patch and breakpoint (FPB) unit behavior - 8 - 15 - - - Enabled - Enable CPU FPB unit (default behavior) - 0xFF - - - Disabled - Disable CPU FPB unit. Writes into the FPB registers will be ignored. - 0x00 - - - - - - - REGOUT0 - GPIO reference voltage / external output supply voltage in high voltage mode - 0x304 - read-write - 0xFFFFFFFF - - - VOUT - Output voltage from of REG0 regulator stage. The maximum output voltage from this stage is given as VDDH - VEXDIF. - 0 - 2 - - - 1V8 - 1.8 V - 0 - - - 2V1 - 2.1 V - 1 - - - 2V4 - 2.4 V - 2 - - - 2V7 - 2.7 V - 3 - - - 3V0 - 3.0 V - 4 - - - 3V3 - 3.3 V - 5 - - - DEFAULT - Default voltage: 1.8 V - 7 - - - - - - - - - CLOCK - Clock control - 0x40000000 - - 0 - 0x1000 - registers - - - POWER_CLOCK - 0 - - CLOCK - 0x20 - - - TASKS_HFCLKSTART - Start HFXO crystal oscillator - 0x000 - write-only - - - TASKS_HFCLKSTART - Start HFXO crystal oscillator - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_HFCLKSTOP - Stop HFXO crystal oscillator - 0x004 - write-only - - - TASKS_HFCLKSTOP - Stop HFXO crystal oscillator - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_LFCLKSTART - Start LFCLK - 0x008 - write-only - - - TASKS_LFCLKSTART - Start LFCLK - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_LFCLKSTOP - Stop LFCLK - 0x00C - write-only - - - TASKS_LFCLKSTOP - Stop LFCLK - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CAL - Start calibration of LFRC - 0x010 - write-only - - - TASKS_CAL - Start calibration of LFRC - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CTSTART - Start calibration timer - 0x014 - write-only - - - TASKS_CTSTART - Start calibration timer - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CTSTOP - Stop calibration timer - 0x018 - write-only - - - TASKS_CTSTOP - Stop calibration timer - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_HFCLKSTARTED - HFXO crystal oscillator started - 0x100 - read-write - - - EVENTS_HFCLKSTARTED - HFXO crystal oscillator started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_LFCLKSTARTED - LFCLK started - 0x104 - read-write - - - EVENTS_LFCLKSTARTED - LFCLK started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_DONE - Calibration of LFRC completed - 0x10C - read-write - - - EVENTS_DONE - Calibration of LFRC completed - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CTTO - Calibration timer timeout - 0x110 - read-write - - - EVENTS_CTTO - Calibration timer timeout - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CTSTARTED - Calibration timer has been started and is ready to process new tasks - 0x128 - read-write - - - EVENTS_CTSTARTED - Calibration timer has been started and is ready to process new tasks - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CTSTOPPED - Calibration timer has been stopped and is ready to process new tasks - 0x12C - read-write - - - EVENTS_CTSTOPPED - Calibration timer has been stopped and is ready to process new tasks - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - HFCLKSTARTED - Write '1' to enable interrupt for event HFCLKSTARTED - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - LFCLKSTARTED - Write '1' to enable interrupt for event LFCLKSTARTED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DONE - Write '1' to enable interrupt for event DONE - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CTTO - Write '1' to enable interrupt for event CTTO - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CTSTARTED - Write '1' to enable interrupt for event CTSTARTED - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CTSTOPPED - Write '1' to enable interrupt for event CTSTOPPED - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - HFCLKSTARTED - Write '1' to disable interrupt for event HFCLKSTARTED - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - LFCLKSTARTED - Write '1' to disable interrupt for event LFCLKSTARTED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DONE - Write '1' to disable interrupt for event DONE - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CTTO - Write '1' to disable interrupt for event CTTO - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CTSTARTED - Write '1' to disable interrupt for event CTSTARTED - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CTSTOPPED - Write '1' to disable interrupt for event CTSTOPPED - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - HFCLKRUN - Status indicating that HFCLKSTART task has been triggered - 0x408 - read-only - - - STATUS - HFCLKSTART task triggered or not - 0 - 0 - - - NotTriggered - Task not triggered - 0 - - - Triggered - Task triggered - 1 - - - - - - - HFCLKSTAT - HFCLK status - 0x40C - read-only - - - SRC - Source of HFCLK - 0 - 0 - - - RC - 64 MHz internal oscillator (HFINT) - 0 - - - Xtal - 64 MHz crystal oscillator (HFXO) - 1 - - - - - STATE - HFCLK state - 16 - 16 - - - NotRunning - HFCLK not running - 0 - - - Running - HFCLK running - 1 - - - - - - - LFCLKRUN - Status indicating that LFCLKSTART task has been triggered - 0x414 - read-only - - - STATUS - LFCLKSTART task triggered or not - 0 - 0 - - - NotTriggered - Task not triggered - 0 - - - Triggered - Task triggered - 1 - - - - - - - LFCLKSTAT - LFCLK status - 0x418 - read-only - - - SRC - Source of LFCLK - 0 - 1 - - - RC - 32.768 kHz RC oscillator (LFRC) - 0 - - - Xtal - 32.768 kHz crystal oscillator (LFXO) - 1 - - - Synth - 32.768 kHz synthesized from HFCLK (LFSYNT) - 2 - - - - - STATE - LFCLK state - 16 - 16 - - - NotRunning - LFCLK not running - 0 - - - Running - LFCLK running - 1 - - - - - - - LFCLKSRCCOPY - Copy of LFCLKSRC register, set when LFCLKSTART task was triggered - 0x41C - read-only - - - SRC - Clock source - 0 - 1 - - - RC - 32.768 kHz RC oscillator (LFRC) - 0 - - - Xtal - 32.768 kHz crystal oscillator (LFXO) - 1 - - - Synth - 32.768 kHz synthesized from HFCLK (LFSYNT) - 2 - - - - - - - LFCLKSRC - Clock source for the LFCLK - 0x518 - read-write - - - SRC - Clock source - 0 - 1 - - - RC - 32.768 kHz RC oscillator (LFRC) - 0 - - - Xtal - 32.768 kHz crystal oscillator (LFXO) - 1 - - - Synth - 32.768 kHz synthesized from HFCLK (LFSYNT) - 2 - - - - - BYPASS - Enable or disable bypass of LFCLK crystal oscillator with external clock source - 16 - 16 - - - Disabled - Disable (use with Xtal or low-swing external source) - 0 - - - Enabled - Enable (use with rail-to-rail external source) - 1 - - - - - EXTERNAL - Enable or disable external source for LFCLK - 17 - 17 - - - Disabled - Disable external source (use with Xtal) - 0 - - - Enabled - Enable use of external source instead of Xtal (SRC needs to be set to Xtal) - 1 - - - - - - - HFXODEBOUNCE - HFXO debounce time. The HFXO is started by triggering the TASKS_HFCLKSTART task. - 0x528 - read-write - 0x00000010 - - - HFXODEBOUNCE - HFXO debounce time. Debounce time = HFXODEBOUNCE * 16 us. - 0 - 7 - - - Db256us - 256 us debounce time. Recommended for TSX-3225, FA-20H and FA-128 crystals. - 0x10 - - - Db1024us - 1024 us debounce time. Recommended for NX1612AA and NX1210AB crystals. - 0x40 - - - - - - - CTIV - Calibration timer interval - 0x538 - read-write - - - CTIV - Calibration timer interval in multiple of 0.25 seconds. Range: 0.25 seconds to 31.75 seconds. - 0 - 6 - - - - - TRACECONFIG - Clocking options for the trace port debug interface - 0x55C - read-write - 0x00000000 - - - TRACEPORTSPEED - Speed of trace port clock. Note that the TRACECLK pin will output this clock divided by two. - 0 - 1 - - - 32MHz - 32 MHz trace port clock (TRACECLK = 16 MHz) - 0 - - - 16MHz - 16 MHz trace port clock (TRACECLK = 8 MHz) - 1 - - - 8MHz - 8 MHz trace port clock (TRACECLK = 4 MHz) - 2 - - - 4MHz - 4 MHz trace port clock (TRACECLK = 2 MHz) - 3 - - - - - TRACEMUX - Pin multiplexing of trace signals. See pin assignment chapter for more details. - 16 - 17 - - - GPIO - No trace signals routed to pins. All pins can be used as regular GPIOs. - 0 - - - Serial - SWO trace signal routed to pin. Remaining pins can be used as regular GPIOs. - 1 - - - Parallel - All trace signals (TRACECLK and TRACEDATA[n]) routed to pins. - 2 - - - - - - - LFRCMODE - LFRC mode configuration - 0x5B4 - read-write - 0x00000000 - - - MODE - Set LFRC mode - 0 - 0 - - - Normal - Normal mode - 0 - - - ULP - Ultra-low power mode (ULP) - 1 - - - - - STATUS - Active LFRC mode. This field is read only. - 16 - 16 - - - Normal - Normal mode - 0 - - - ULP - Ultra-low power mode (ULP) - 1 - - - - - - - - - POWER - Power control - 0x40000000 - CLOCK - - 0 - 0x1000 - registers - - - POWER_CLOCK - 0 - - POWER - 0x20 - - - TASKS_CONSTLAT - Enable constant latency mode - 0x78 - write-only - - - TASKS_CONSTLAT - Enable constant latency mode - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_LOWPWR - Enable low power mode (variable latency) - 0x7C - write-only - - - TASKS_LOWPWR - Enable low power mode (variable latency) - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_POFWARN - Power failure warning - 0x108 - read-write - - - EVENTS_POFWARN - Power failure warning - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_SLEEPENTER - CPU entered WFI/WFE sleep - 0x114 - read-write - - - EVENTS_SLEEPENTER - CPU entered WFI/WFE sleep - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_SLEEPEXIT - CPU exited WFI/WFE sleep - 0x118 - read-write - - - EVENTS_SLEEPEXIT - CPU exited WFI/WFE sleep - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_USBDETECTED - Voltage supply detected on VBUS - 0x11C - read-write - - - EVENTS_USBDETECTED - Voltage supply detected on VBUS - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_USBREMOVED - Voltage supply removed from VBUS - 0x120 - read-write - - - EVENTS_USBREMOVED - Voltage supply removed from VBUS - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_USBPWRRDY - USB 3.3 V supply ready - 0x124 - read-write - - - EVENTS_USBPWRRDY - USB 3.3 V supply ready - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - POFWARN - Write '1' to enable interrupt for event POFWARN - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SLEEPENTER - Write '1' to enable interrupt for event SLEEPENTER - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SLEEPEXIT - Write '1' to enable interrupt for event SLEEPEXIT - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - USBDETECTED - Write '1' to enable interrupt for event USBDETECTED - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - USBREMOVED - Write '1' to enable interrupt for event USBREMOVED - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - USBPWRRDY - Write '1' to enable interrupt for event USBPWRRDY - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - POFWARN - Write '1' to disable interrupt for event POFWARN - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SLEEPENTER - Write '1' to disable interrupt for event SLEEPENTER - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SLEEPEXIT - Write '1' to disable interrupt for event SLEEPEXIT - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - USBDETECTED - Write '1' to disable interrupt for event USBDETECTED - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - USBREMOVED - Write '1' to disable interrupt for event USBREMOVED - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - USBPWRRDY - Write '1' to disable interrupt for event USBPWRRDY - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - RESETREAS - Reset reason - 0x400 - read-write - - - RESETPIN - Reset from pin-reset detected - 0 - 0 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - DOG - Reset from watchdog detected - 1 - 1 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - SREQ - Reset from soft reset detected - 2 - 2 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - LOCKUP - Reset from CPU lock-up detected - 3 - 3 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - OFF - Reset due to wake up from System OFF mode when wakeup is triggered from DETECT signal from GPIO - 16 - 16 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - LPCOMP - Reset due to wake up from System OFF mode when wakeup is triggered from ANADETECT signal from LPCOMP - 17 - 17 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - DIF - Reset due to wake up from System OFF mode when wakeup is triggered from entering into debug interface mode - 18 - 18 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - NFC - Reset due to wake up from System OFF mode by NFC field detect - 19 - 19 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - VBUS - Reset due to wake up from System OFF mode by VBUS rising into valid range - 20 - 20 - - - NotDetected - Not detected - 0 - - - Detected - Detected - 1 - - - - - - - RAMSTATUS - Deprecated register - RAM status register - 0x428 - read-only - 0x00000000 - - - RAMBLOCK0 - RAM block 0 is on or off/powering up - 0 - 0 - - - Off - Off - 0 - - - On - On - 1 - - - - - RAMBLOCK1 - RAM block 1 is on or off/powering up - 1 - 1 - - - Off - Off - 0 - - - On - On - 1 - - - - - RAMBLOCK2 - RAM block 2 is on or off/powering up - 2 - 2 - - - Off - Off - 0 - - - On - On - 1 - - - - - RAMBLOCK3 - RAM block 3 is on or off/powering up - 3 - 3 - - - Off - Off - 0 - - - On - On - 1 - - - - - - - USBREGSTATUS - USB supply status - 0x438 - read-only - 0x00000000 - - - VBUSDETECT - VBUS input detection status (USBDETECTED and USBREMOVED events are derived from this information) - 0 - 0 - - - NoVbus - VBUS voltage below valid threshold - 0 - - - VbusPresent - VBUS voltage above valid threshold - 1 - - - - - OUTPUTRDY - USB supply output settling time elapsed - 1 - 1 - - - NotReady - USBREG output settling time not elapsed - 0 - - - Ready - USBREG output settling time elapsed (same information as USBPWRRDY event) - 1 - - - - - - - SYSTEMOFF - System OFF register - 0x500 - write-only - - - SYSTEMOFF - Enable System OFF mode - 0 - 0 - - - Enter - Enable System OFF mode - 1 - - - - - - - POFCON - Power-fail comparator configuration - 0x510 - read-write - - - POF - Enable or disable power failure warning - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - THRESHOLD - Power-fail comparator threshold setting. This setting applies both for normal voltage mode (supply connected to both VDD and VDDH) and high voltage mode (supply connected to VDDH only). Values 0-3 set threshold below 1.7 V and should not be used as brown out detection will be activated before power failure warning on such low voltages. - 1 - 4 - - - V17 - Set threshold to 1.7 V - 4 - - - V18 - Set threshold to 1.8 V - 5 - - - V19 - Set threshold to 1.9 V - 6 - - - V20 - Set threshold to 2.0 V - 7 - - - V21 - Set threshold to 2.1 V - 8 - - - V22 - Set threshold to 2.2 V - 9 - - - V23 - Set threshold to 2.3 V - 10 - - - V24 - Set threshold to 2.4 V - 11 - - - V25 - Set threshold to 2.5 V - 12 - - - V26 - Set threshold to 2.6 V - 13 - - - V27 - Set threshold to 2.7 V - 14 - - - V28 - Set threshold to 2.8 V - 15 - - - - - THRESHOLDVDDH - Power-fail comparator threshold setting for high voltage mode (supply connected to VDDH only). This setting does not apply for normal voltage mode (supply connected to both VDD and VDDH). - 8 - 11 - - - V27 - Set threshold to 2.7 V - 0 - - - V28 - Set threshold to 2.8 V - 1 - - - V29 - Set threshold to 2.9 V - 2 - - - V30 - Set threshold to 3.0 V - 3 - - - V31 - Set threshold to 3.1 V - 4 - - - V32 - Set threshold to 3.2 V - 5 - - - V33 - Set threshold to 3.3 V - 6 - - - V34 - Set threshold to 3.4 V - 7 - - - V35 - Set threshold to 3.5 V - 8 - - - V36 - Set threshold to 3.6 V - 9 - - - V37 - Set threshold to 3.7 V - 10 - - - V38 - Set threshold to 3.8 V - 11 - - - V39 - Set threshold to 3.9 V - 12 - - - V40 - Set threshold to 4.0 V - 13 - - - V41 - Set threshold to 4.1 V - 14 - - - V42 - Set threshold to 4.2 V - 15 - - - - - - - GPREGRET - General purpose retention register - 0x51C - read-write - - - GPREGRET - General purpose retention register - 0 - 7 - - - - - GPREGRET2 - General purpose retention register - 0x520 - read-write - - - GPREGRET - General purpose retention register - 0 - 7 - - - - - DCDCEN - Enable DC/DC converter for REG1 stage. - 0x578 - read-write - - - DCDCEN - Enable DC/DC converter for REG1 stage. - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - DCDCEN0 - Enable DC/DC converter for REG0 stage. - 0x580 - read-write - - - DCDCEN - Enable DC/DC converter for REG0 stage. - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - MAINREGSTATUS - Main supply status - 0x640 - read-only - 0x00000000 - - - MAINREGSTATUS - Main supply status - 0 - 0 - - - Normal - Normal voltage mode. Voltage supplied on VDD. - 0 - - - High - High voltage mode. Voltage supplied on VDDH. - 1 - - - - - - - 9 - 0x010 - RAM[%s] - Unspecified - POWER_RAM - read-write - 0x900 - - POWER - Description cluster: RAMn power control register - 0x000 - read-write - 0x0000FFFF - - - S0POWER - Keep RAM section S0 on or off in System ON mode. - 0 - 0 - - - Off - Off - 0 - - - On - On - 1 - - - - - S1POWER - Keep RAM section S1 on or off in System ON mode. - 1 - 1 - - - Off - Off - 0 - - - On - On - 1 - - - - - S2POWER - Keep RAM section S2 on or off in System ON mode. - 2 - 2 - - - Off - Off - 0 - - - On - On - 1 - - - - - S3POWER - Keep RAM section S3 on or off in System ON mode. - 3 - 3 - - - Off - Off - 0 - - - On - On - 1 - - - - - S4POWER - Keep RAM section S4 on or off in System ON mode. - 4 - 4 - - - Off - Off - 0 - - - On - On - 1 - - - - - S5POWER - Keep RAM section S5 on or off in System ON mode. - 5 - 5 - - - Off - Off - 0 - - - On - On - 1 - - - - - S6POWER - Keep RAM section S6 on or off in System ON mode. - 6 - 6 - - - Off - Off - 0 - - - On - On - 1 - - - - - S7POWER - Keep RAM section S7 on or off in System ON mode. - 7 - 7 - - - Off - Off - 0 - - - On - On - 1 - - - - - S8POWER - Keep RAM section S8 on or off in System ON mode. - 8 - 8 - - - Off - Off - 0 - - - On - On - 1 - - - - - S9POWER - Keep RAM section S9 on or off in System ON mode. - 9 - 9 - - - Off - Off - 0 - - - On - On - 1 - - - - - S10POWER - Keep RAM section S10 on or off in System ON mode. - 10 - 10 - - - Off - Off - 0 - - - On - On - 1 - - - - - S11POWER - Keep RAM section S11 on or off in System ON mode. - 11 - 11 - - - Off - Off - 0 - - - On - On - 1 - - - - - S12POWER - Keep RAM section S12 on or off in System ON mode. - 12 - 12 - - - Off - Off - 0 - - - On - On - 1 - - - - - S13POWER - Keep RAM section S13 on or off in System ON mode. - 13 - 13 - - - Off - Off - 0 - - - On - On - 1 - - - - - S14POWER - Keep RAM section S14 on or off in System ON mode. - 14 - 14 - - - Off - Off - 0 - - - On - On - 1 - - - - - S15POWER - Keep RAM section S15 on or off in System ON mode. - 15 - 15 - - - Off - Off - 0 - - - On - On - 1 - - - - - S0RETENTION - Keep retention on RAM section S0 when RAM section is off - 16 - 16 - - - Off - Off - 0 - - - On - On - 1 - - - - - S1RETENTION - Keep retention on RAM section S1 when RAM section is off - 17 - 17 - - - Off - Off - 0 - - - On - On - 1 - - - - - S2RETENTION - Keep retention on RAM section S2 when RAM section is off - 18 - 18 - - - Off - Off - 0 - - - On - On - 1 - - - - - S3RETENTION - Keep retention on RAM section S3 when RAM section is off - 19 - 19 - - - Off - Off - 0 - - - On - On - 1 - - - - - S4RETENTION - Keep retention on RAM section S4 when RAM section is off - 20 - 20 - - - Off - Off - 0 - - - On - On - 1 - - - - - S5RETENTION - Keep retention on RAM section S5 when RAM section is off - 21 - 21 - - - Off - Off - 0 - - - On - On - 1 - - - - - S6RETENTION - Keep retention on RAM section S6 when RAM section is off - 22 - 22 - - - Off - Off - 0 - - - On - On - 1 - - - - - S7RETENTION - Keep retention on RAM section S7 when RAM section is off - 23 - 23 - - - Off - Off - 0 - - - On - On - 1 - - - - - S8RETENTION - Keep retention on RAM section S8 when RAM section is off - 24 - 24 - - - Off - Off - 0 - - - On - On - 1 - - - - - S9RETENTION - Keep retention on RAM section S9 when RAM section is off - 25 - 25 - - - Off - Off - 0 - - - On - On - 1 - - - - - S10RETENTION - Keep retention on RAM section S10 when RAM section is off - 26 - 26 - - - Off - Off - 0 - - - On - On - 1 - - - - - S11RETENTION - Keep retention on RAM section S11 when RAM section is off - 27 - 27 - - - Off - Off - 0 - - - On - On - 1 - - - - - S12RETENTION - Keep retention on RAM section S12 when RAM section is off - 28 - 28 - - - Off - Off - 0 - - - On - On - 1 - - - - - S13RETENTION - Keep retention on RAM section S13 when RAM section is off - 29 - 29 - - - Off - Off - 0 - - - On - On - 1 - - - - - S14RETENTION - Keep retention on RAM section S14 when RAM section is off - 30 - 30 - - - Off - Off - 0 - - - On - On - 1 - - - - - S15RETENTION - Keep retention on RAM section S15 when RAM section is off - 31 - 31 - - - Off - Off - 0 - - - On - On - 1 - - - - - - - POWERSET - Description cluster: RAMn power control set register - 0x004 - write-only - 0x0000FFFF - - - S0POWER - Keep RAM section S0 of RAMn on or off in System ON mode - 0 - 0 - - - On - On - 1 - - - - - S1POWER - Keep RAM section S1 of RAMn on or off in System ON mode - 1 - 1 - - - On - On - 1 - - - - - S2POWER - Keep RAM section S2 of RAMn on or off in System ON mode - 2 - 2 - - - On - On - 1 - - - - - S3POWER - Keep RAM section S3 of RAMn on or off in System ON mode - 3 - 3 - - - On - On - 1 - - - - - S4POWER - Keep RAM section S4 of RAMn on or off in System ON mode - 4 - 4 - - - On - On - 1 - - - - - S5POWER - Keep RAM section S5 of RAMn on or off in System ON mode - 5 - 5 - - - On - On - 1 - - - - - S6POWER - Keep RAM section S6 of RAMn on or off in System ON mode - 6 - 6 - - - On - On - 1 - - - - - S7POWER - Keep RAM section S7 of RAMn on or off in System ON mode - 7 - 7 - - - On - On - 1 - - - - - S8POWER - Keep RAM section S8 of RAMn on or off in System ON mode - 8 - 8 - - - On - On - 1 - - - - - S9POWER - Keep RAM section S9 of RAMn on or off in System ON mode - 9 - 9 - - - On - On - 1 - - - - - S10POWER - Keep RAM section S10 of RAMn on or off in System ON mode - 10 - 10 - - - On - On - 1 - - - - - S11POWER - Keep RAM section S11 of RAMn on or off in System ON mode - 11 - 11 - - - On - On - 1 - - - - - S12POWER - Keep RAM section S12 of RAMn on or off in System ON mode - 12 - 12 - - - On - On - 1 - - - - - S13POWER - Keep RAM section S13 of RAMn on or off in System ON mode - 13 - 13 - - - On - On - 1 - - - - - S14POWER - Keep RAM section S14 of RAMn on or off in System ON mode - 14 - 14 - - - On - On - 1 - - - - - S15POWER - Keep RAM section S15 of RAMn on or off in System ON mode - 15 - 15 - - - On - On - 1 - - - - - S0RETENTION - Keep retention on RAM section S0 when RAM section is switched off - 16 - 16 - - - On - On - 1 - - - - - S1RETENTION - Keep retention on RAM section S1 when RAM section is switched off - 17 - 17 - - - On - On - 1 - - - - - S2RETENTION - Keep retention on RAM section S2 when RAM section is switched off - 18 - 18 - - - On - On - 1 - - - - - S3RETENTION - Keep retention on RAM section S3 when RAM section is switched off - 19 - 19 - - - On - On - 1 - - - - - S4RETENTION - Keep retention on RAM section S4 when RAM section is switched off - 20 - 20 - - - On - On - 1 - - - - - S5RETENTION - Keep retention on RAM section S5 when RAM section is switched off - 21 - 21 - - - On - On - 1 - - - - - S6RETENTION - Keep retention on RAM section S6 when RAM section is switched off - 22 - 22 - - - On - On - 1 - - - - - S7RETENTION - Keep retention on RAM section S7 when RAM section is switched off - 23 - 23 - - - On - On - 1 - - - - - S8RETENTION - Keep retention on RAM section S8 when RAM section is switched off - 24 - 24 - - - On - On - 1 - - - - - S9RETENTION - Keep retention on RAM section S9 when RAM section is switched off - 25 - 25 - - - On - On - 1 - - - - - S10RETENTION - Keep retention on RAM section S10 when RAM section is switched off - 26 - 26 - - - On - On - 1 - - - - - S11RETENTION - Keep retention on RAM section S11 when RAM section is switched off - 27 - 27 - - - On - On - 1 - - - - - S12RETENTION - Keep retention on RAM section S12 when RAM section is switched off - 28 - 28 - - - On - On - 1 - - - - - S13RETENTION - Keep retention on RAM section S13 when RAM section is switched off - 29 - 29 - - - On - On - 1 - - - - - S14RETENTION - Keep retention on RAM section S14 when RAM section is switched off - 30 - 30 - - - On - On - 1 - - - - - S15RETENTION - Keep retention on RAM section S15 when RAM section is switched off - 31 - 31 - - - On - On - 1 - - - - - - - POWERCLR - Description cluster: RAMn power control clear register - 0x008 - write-only - 0x0000FFFF - - - S0POWER - Keep RAM section S0 of RAMn on or off in System ON mode - 0 - 0 - - - Off - Off - 1 - - - - - S1POWER - Keep RAM section S1 of RAMn on or off in System ON mode - 1 - 1 - - - Off - Off - 1 - - - - - S2POWER - Keep RAM section S2 of RAMn on or off in System ON mode - 2 - 2 - - - Off - Off - 1 - - - - - S3POWER - Keep RAM section S3 of RAMn on or off in System ON mode - 3 - 3 - - - Off - Off - 1 - - - - - S4POWER - Keep RAM section S4 of RAMn on or off in System ON mode - 4 - 4 - - - Off - Off - 1 - - - - - S5POWER - Keep RAM section S5 of RAMn on or off in System ON mode - 5 - 5 - - - Off - Off - 1 - - - - - S6POWER - Keep RAM section S6 of RAMn on or off in System ON mode - 6 - 6 - - - Off - Off - 1 - - - - - S7POWER - Keep RAM section S7 of RAMn on or off in System ON mode - 7 - 7 - - - Off - Off - 1 - - - - - S8POWER - Keep RAM section S8 of RAMn on or off in System ON mode - 8 - 8 - - - Off - Off - 1 - - - - - S9POWER - Keep RAM section S9 of RAMn on or off in System ON mode - 9 - 9 - - - Off - Off - 1 - - - - - S10POWER - Keep RAM section S10 of RAMn on or off in System ON mode - 10 - 10 - - - Off - Off - 1 - - - - - S11POWER - Keep RAM section S11 of RAMn on or off in System ON mode - 11 - 11 - - - Off - Off - 1 - - - - - S12POWER - Keep RAM section S12 of RAMn on or off in System ON mode - 12 - 12 - - - Off - Off - 1 - - - - - S13POWER - Keep RAM section S13 of RAMn on or off in System ON mode - 13 - 13 - - - Off - Off - 1 - - - - - S14POWER - Keep RAM section S14 of RAMn on or off in System ON mode - 14 - 14 - - - Off - Off - 1 - - - - - S15POWER - Keep RAM section S15 of RAMn on or off in System ON mode - 15 - 15 - - - Off - Off - 1 - - - - - S0RETENTION - Keep retention on RAM section S0 when RAM section is switched off - 16 - 16 - - - Off - Off - 1 - - - - - S1RETENTION - Keep retention on RAM section S1 when RAM section is switched off - 17 - 17 - - - Off - Off - 1 - - - - - S2RETENTION - Keep retention on RAM section S2 when RAM section is switched off - 18 - 18 - - - Off - Off - 1 - - - - - S3RETENTION - Keep retention on RAM section S3 when RAM section is switched off - 19 - 19 - - - Off - Off - 1 - - - - - S4RETENTION - Keep retention on RAM section S4 when RAM section is switched off - 20 - 20 - - - Off - Off - 1 - - - - - S5RETENTION - Keep retention on RAM section S5 when RAM section is switched off - 21 - 21 - - - Off - Off - 1 - - - - - S6RETENTION - Keep retention on RAM section S6 when RAM section is switched off - 22 - 22 - - - Off - Off - 1 - - - - - S7RETENTION - Keep retention on RAM section S7 when RAM section is switched off - 23 - 23 - - - Off - Off - 1 - - - - - S8RETENTION - Keep retention on RAM section S8 when RAM section is switched off - 24 - 24 - - - Off - Off - 1 - - - - - S9RETENTION - Keep retention on RAM section S9 when RAM section is switched off - 25 - 25 - - - Off - Off - 1 - - - - - S10RETENTION - Keep retention on RAM section S10 when RAM section is switched off - 26 - 26 - - - Off - Off - 1 - - - - - S11RETENTION - Keep retention on RAM section S11 when RAM section is switched off - 27 - 27 - - - Off - Off - 1 - - - - - S12RETENTION - Keep retention on RAM section S12 when RAM section is switched off - 28 - 28 - - - Off - Off - 1 - - - - - S13RETENTION - Keep retention on RAM section S13 when RAM section is switched off - 29 - 29 - - - Off - Off - 1 - - - - - S14RETENTION - Keep retention on RAM section S14 when RAM section is switched off - 30 - 30 - - - Off - Off - 1 - - - - - S15RETENTION - Keep retention on RAM section S15 when RAM section is switched off - 31 - 31 - - - Off - Off - 1 - - - - - - - - - - P0 - GPIO Port 1 - 0x50000000 - GPIO - - 0 - 0x1000 - registers - - GPIO - 0x20 - - - OUT - Write GPIO port - 0x504 - read-write - - - PIN0 - Pin 0 - 0 - 0 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN1 - Pin 1 - 1 - 1 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN2 - Pin 2 - 2 - 2 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN3 - Pin 3 - 3 - 3 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN4 - Pin 4 - 4 - 4 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN5 - Pin 5 - 5 - 5 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN6 - Pin 6 - 6 - 6 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN7 - Pin 7 - 7 - 7 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN8 - Pin 8 - 8 - 8 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN9 - Pin 9 - 9 - 9 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN10 - Pin 10 - 10 - 10 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN11 - Pin 11 - 11 - 11 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN12 - Pin 12 - 12 - 12 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN13 - Pin 13 - 13 - 13 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN14 - Pin 14 - 14 - 14 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN15 - Pin 15 - 15 - 15 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN16 - Pin 16 - 16 - 16 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN17 - Pin 17 - 17 - 17 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN18 - Pin 18 - 18 - 18 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN19 - Pin 19 - 19 - 19 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN20 - Pin 20 - 20 - 20 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN21 - Pin 21 - 21 - 21 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN22 - Pin 22 - 22 - 22 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN23 - Pin 23 - 23 - 23 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN24 - Pin 24 - 24 - 24 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN25 - Pin 25 - 25 - 25 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN26 - Pin 26 - 26 - 26 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN27 - Pin 27 - 27 - 27 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN28 - Pin 28 - 28 - 28 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN29 - Pin 29 - 29 - 29 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN30 - Pin 30 - 30 - 30 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - PIN31 - Pin 31 - 31 - 31 - - - Low - Pin driver is low - 0 - - - High - Pin driver is high - 1 - - - - - - - OUTSET - Set individual bits in GPIO port - 0x508 - read-write - oneToSet - - - PIN0 - Pin 0 - 0 - 0 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN1 - Pin 1 - 1 - 1 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN2 - Pin 2 - 2 - 2 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN3 - Pin 3 - 3 - 3 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN4 - Pin 4 - 4 - 4 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN5 - Pin 5 - 5 - 5 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN6 - Pin 6 - 6 - 6 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN7 - Pin 7 - 7 - 7 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN8 - Pin 8 - 8 - 8 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN9 - Pin 9 - 9 - 9 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN10 - Pin 10 - 10 - 10 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN11 - Pin 11 - 11 - 11 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN12 - Pin 12 - 12 - 12 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN13 - Pin 13 - 13 - 13 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN14 - Pin 14 - 14 - 14 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN15 - Pin 15 - 15 - 15 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN16 - Pin 16 - 16 - 16 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN17 - Pin 17 - 17 - 17 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN18 - Pin 18 - 18 - 18 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN19 - Pin 19 - 19 - 19 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN20 - Pin 20 - 20 - 20 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN21 - Pin 21 - 21 - 21 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN22 - Pin 22 - 22 - 22 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN23 - Pin 23 - 23 - 23 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN24 - Pin 24 - 24 - 24 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN25 - Pin 25 - 25 - 25 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN26 - Pin 26 - 26 - 26 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN27 - Pin 27 - 27 - 27 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN28 - Pin 28 - 28 - 28 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN29 - Pin 29 - 29 - 29 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN30 - Pin 30 - 30 - 30 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - PIN31 - Pin 31 - 31 - 31 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Set - Write: writing a '1' sets the pin high; writing a '0' has no effect - 1 - - - - - - - OUTCLR - Clear individual bits in GPIO port - 0x50C - read-write - oneToClear - - - PIN0 - Pin 0 - 0 - 0 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN1 - Pin 1 - 1 - 1 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN2 - Pin 2 - 2 - 2 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN3 - Pin 3 - 3 - 3 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN4 - Pin 4 - 4 - 4 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN5 - Pin 5 - 5 - 5 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN6 - Pin 6 - 6 - 6 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN7 - Pin 7 - 7 - 7 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN8 - Pin 8 - 8 - 8 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN9 - Pin 9 - 9 - 9 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN10 - Pin 10 - 10 - 10 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN11 - Pin 11 - 11 - 11 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN12 - Pin 12 - 12 - 12 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN13 - Pin 13 - 13 - 13 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN14 - Pin 14 - 14 - 14 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN15 - Pin 15 - 15 - 15 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN16 - Pin 16 - 16 - 16 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN17 - Pin 17 - 17 - 17 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN18 - Pin 18 - 18 - 18 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN19 - Pin 19 - 19 - 19 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN20 - Pin 20 - 20 - 20 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN21 - Pin 21 - 21 - 21 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN22 - Pin 22 - 22 - 22 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN23 - Pin 23 - 23 - 23 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN24 - Pin 24 - 24 - 24 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN25 - Pin 25 - 25 - 25 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN26 - Pin 26 - 26 - 26 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN27 - Pin 27 - 27 - 27 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN28 - Pin 28 - 28 - 28 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN29 - Pin 29 - 29 - 29 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN30 - Pin 30 - 30 - 30 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - PIN31 - Pin 31 - 31 - 31 - - read - - Low - Read: pin driver is low - 0 - - - High - Read: pin driver is high - 1 - - - - write - - Clear - Write: writing a '1' sets the pin low; writing a '0' has no effect - 1 - - - - - - - IN - Read GPIO port - 0x510 - read-only - - - PIN0 - Pin 0 - 0 - 0 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN1 - Pin 1 - 1 - 1 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN2 - Pin 2 - 2 - 2 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN3 - Pin 3 - 3 - 3 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN4 - Pin 4 - 4 - 4 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN5 - Pin 5 - 5 - 5 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN6 - Pin 6 - 6 - 6 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN7 - Pin 7 - 7 - 7 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN8 - Pin 8 - 8 - 8 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN9 - Pin 9 - 9 - 9 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN10 - Pin 10 - 10 - 10 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN11 - Pin 11 - 11 - 11 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN12 - Pin 12 - 12 - 12 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN13 - Pin 13 - 13 - 13 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN14 - Pin 14 - 14 - 14 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN15 - Pin 15 - 15 - 15 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN16 - Pin 16 - 16 - 16 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN17 - Pin 17 - 17 - 17 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN18 - Pin 18 - 18 - 18 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN19 - Pin 19 - 19 - 19 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN20 - Pin 20 - 20 - 20 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN21 - Pin 21 - 21 - 21 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN22 - Pin 22 - 22 - 22 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN23 - Pin 23 - 23 - 23 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN24 - Pin 24 - 24 - 24 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN25 - Pin 25 - 25 - 25 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN26 - Pin 26 - 26 - 26 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN27 - Pin 27 - 27 - 27 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN28 - Pin 28 - 28 - 28 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN29 - Pin 29 - 29 - 29 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN30 - Pin 30 - 30 - 30 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - PIN31 - Pin 31 - 31 - 31 - - - Low - Pin input is low - 0 - - - High - Pin input is high - 1 - - - - - - - DIR - Direction of GPIO pins - 0x514 - read-write - - - PIN0 - Pin 0 - 0 - 0 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN1 - Pin 1 - 1 - 1 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN2 - Pin 2 - 2 - 2 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN3 - Pin 3 - 3 - 3 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN4 - Pin 4 - 4 - 4 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN5 - Pin 5 - 5 - 5 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN6 - Pin 6 - 6 - 6 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN7 - Pin 7 - 7 - 7 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN8 - Pin 8 - 8 - 8 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN9 - Pin 9 - 9 - 9 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN10 - Pin 10 - 10 - 10 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN11 - Pin 11 - 11 - 11 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN12 - Pin 12 - 12 - 12 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN13 - Pin 13 - 13 - 13 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN14 - Pin 14 - 14 - 14 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN15 - Pin 15 - 15 - 15 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN16 - Pin 16 - 16 - 16 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN17 - Pin 17 - 17 - 17 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN18 - Pin 18 - 18 - 18 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN19 - Pin 19 - 19 - 19 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN20 - Pin 20 - 20 - 20 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN21 - Pin 21 - 21 - 21 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN22 - Pin 22 - 22 - 22 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN23 - Pin 23 - 23 - 23 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN24 - Pin 24 - 24 - 24 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN25 - Pin 25 - 25 - 25 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN26 - Pin 26 - 26 - 26 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN27 - Pin 27 - 27 - 27 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN28 - Pin 28 - 28 - 28 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN29 - Pin 29 - 29 - 29 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN30 - Pin 30 - 30 - 30 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - PIN31 - Pin 31 - 31 - 31 - - - Input - Pin set as input - 0 - - - Output - Pin set as output - 1 - - - - - - - DIRSET - DIR set register - 0x518 - read-write - oneToSet - - - PIN0 - Set as output pin 0 - 0 - 0 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN1 - Set as output pin 1 - 1 - 1 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN2 - Set as output pin 2 - 2 - 2 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN3 - Set as output pin 3 - 3 - 3 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN4 - Set as output pin 4 - 4 - 4 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN5 - Set as output pin 5 - 5 - 5 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN6 - Set as output pin 6 - 6 - 6 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN7 - Set as output pin 7 - 7 - 7 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN8 - Set as output pin 8 - 8 - 8 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN9 - Set as output pin 9 - 9 - 9 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN10 - Set as output pin 10 - 10 - 10 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN11 - Set as output pin 11 - 11 - 11 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN12 - Set as output pin 12 - 12 - 12 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN13 - Set as output pin 13 - 13 - 13 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN14 - Set as output pin 14 - 14 - 14 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN15 - Set as output pin 15 - 15 - 15 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN16 - Set as output pin 16 - 16 - 16 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN17 - Set as output pin 17 - 17 - 17 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN18 - Set as output pin 18 - 18 - 18 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN19 - Set as output pin 19 - 19 - 19 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN20 - Set as output pin 20 - 20 - 20 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN21 - Set as output pin 21 - 21 - 21 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN22 - Set as output pin 22 - 22 - 22 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN23 - Set as output pin 23 - 23 - 23 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN24 - Set as output pin 24 - 24 - 24 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN25 - Set as output pin 25 - 25 - 25 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN26 - Set as output pin 26 - 26 - 26 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN27 - Set as output pin 27 - 27 - 27 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN28 - Set as output pin 28 - 28 - 28 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN29 - Set as output pin 29 - 29 - 29 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN30 - Set as output pin 30 - 30 - 30 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - PIN31 - Set as output pin 31 - 31 - 31 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Set - Write: writing a '1' sets pin to output; writing a '0' has no effect - 1 - - - - - - - DIRCLR - DIR clear register - 0x51C - read-write - oneToClear - - - PIN0 - Set as input pin 0 - 0 - 0 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN1 - Set as input pin 1 - 1 - 1 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN2 - Set as input pin 2 - 2 - 2 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN3 - Set as input pin 3 - 3 - 3 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN4 - Set as input pin 4 - 4 - 4 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN5 - Set as input pin 5 - 5 - 5 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN6 - Set as input pin 6 - 6 - 6 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN7 - Set as input pin 7 - 7 - 7 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN8 - Set as input pin 8 - 8 - 8 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN9 - Set as input pin 9 - 9 - 9 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN10 - Set as input pin 10 - 10 - 10 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN11 - Set as input pin 11 - 11 - 11 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN12 - Set as input pin 12 - 12 - 12 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN13 - Set as input pin 13 - 13 - 13 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN14 - Set as input pin 14 - 14 - 14 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN15 - Set as input pin 15 - 15 - 15 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN16 - Set as input pin 16 - 16 - 16 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN17 - Set as input pin 17 - 17 - 17 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN18 - Set as input pin 18 - 18 - 18 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN19 - Set as input pin 19 - 19 - 19 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN20 - Set as input pin 20 - 20 - 20 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN21 - Set as input pin 21 - 21 - 21 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN22 - Set as input pin 22 - 22 - 22 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN23 - Set as input pin 23 - 23 - 23 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN24 - Set as input pin 24 - 24 - 24 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN25 - Set as input pin 25 - 25 - 25 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN26 - Set as input pin 26 - 26 - 26 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN27 - Set as input pin 27 - 27 - 27 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN28 - Set as input pin 28 - 28 - 28 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN29 - Set as input pin 29 - 29 - 29 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN30 - Set as input pin 30 - 30 - 30 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - PIN31 - Set as input pin 31 - 31 - 31 - - read - - Input - Read: pin set as input - 0 - - - Output - Read: pin set as output - 1 - - - - write - - Clear - Write: writing a '1' sets pin to input; writing a '0' has no effect - 1 - - - - - - - LATCH - Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers - 0x520 - read-write - - - PIN0 - Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register. Write '1' to clear. - 0 - 0 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN1 - Status on whether PIN1 has met criteria set in PIN_CNF1.SENSE register. Write '1' to clear. - 1 - 1 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN2 - Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register. Write '1' to clear. - 2 - 2 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN3 - Status on whether PIN3 has met criteria set in PIN_CNF3.SENSE register. Write '1' to clear. - 3 - 3 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN4 - Status on whether PIN4 has met criteria set in PIN_CNF4.SENSE register. Write '1' to clear. - 4 - 4 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN5 - Status on whether PIN5 has met criteria set in PIN_CNF5.SENSE register. Write '1' to clear. - 5 - 5 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN6 - Status on whether PIN6 has met criteria set in PIN_CNF6.SENSE register. Write '1' to clear. - 6 - 6 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN7 - Status on whether PIN7 has met criteria set in PIN_CNF7.SENSE register. Write '1' to clear. - 7 - 7 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN8 - Status on whether PIN8 has met criteria set in PIN_CNF8.SENSE register. Write '1' to clear. - 8 - 8 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN9 - Status on whether PIN9 has met criteria set in PIN_CNF9.SENSE register. Write '1' to clear. - 9 - 9 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN10 - Status on whether PIN10 has met criteria set in PIN_CNF10.SENSE register. Write '1' to clear. - 10 - 10 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN11 - Status on whether PIN11 has met criteria set in PIN_CNF11.SENSE register. Write '1' to clear. - 11 - 11 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN12 - Status on whether PIN12 has met criteria set in PIN_CNF12.SENSE register. Write '1' to clear. - 12 - 12 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN13 - Status on whether PIN13 has met criteria set in PIN_CNF13.SENSE register. Write '1' to clear. - 13 - 13 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN14 - Status on whether PIN14 has met criteria set in PIN_CNF14.SENSE register. Write '1' to clear. - 14 - 14 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN15 - Status on whether PIN15 has met criteria set in PIN_CNF15.SENSE register. Write '1' to clear. - 15 - 15 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN16 - Status on whether PIN16 has met criteria set in PIN_CNF16.SENSE register. Write '1' to clear. - 16 - 16 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN17 - Status on whether PIN17 has met criteria set in PIN_CNF17.SENSE register. Write '1' to clear. - 17 - 17 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN18 - Status on whether PIN18 has met criteria set in PIN_CNF18.SENSE register. Write '1' to clear. - 18 - 18 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN19 - Status on whether PIN19 has met criteria set in PIN_CNF19.SENSE register. Write '1' to clear. - 19 - 19 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN20 - Status on whether PIN20 has met criteria set in PIN_CNF20.SENSE register. Write '1' to clear. - 20 - 20 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN21 - Status on whether PIN21 has met criteria set in PIN_CNF21.SENSE register. Write '1' to clear. - 21 - 21 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN22 - Status on whether PIN22 has met criteria set in PIN_CNF22.SENSE register. Write '1' to clear. - 22 - 22 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN23 - Status on whether PIN23 has met criteria set in PIN_CNF23.SENSE register. Write '1' to clear. - 23 - 23 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN24 - Status on whether PIN24 has met criteria set in PIN_CNF24.SENSE register. Write '1' to clear. - 24 - 24 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN25 - Status on whether PIN25 has met criteria set in PIN_CNF25.SENSE register. Write '1' to clear. - 25 - 25 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN26 - Status on whether PIN26 has met criteria set in PIN_CNF26.SENSE register. Write '1' to clear. - 26 - 26 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN27 - Status on whether PIN27 has met criteria set in PIN_CNF27.SENSE register. Write '1' to clear. - 27 - 27 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN28 - Status on whether PIN28 has met criteria set in PIN_CNF28.SENSE register. Write '1' to clear. - 28 - 28 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN29 - Status on whether PIN29 has met criteria set in PIN_CNF29.SENSE register. Write '1' to clear. - 29 - 29 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN30 - Status on whether PIN30 has met criteria set in PIN_CNF30.SENSE register. Write '1' to clear. - 30 - 30 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - PIN31 - Status on whether PIN31 has met criteria set in PIN_CNF31.SENSE register. Write '1' to clear. - 31 - 31 - - - NotLatched - Criteria has not been met - 0 - - - Latched - Criteria has been met - 1 - - - - - - - DETECTMODE - Select between default DETECT signal behaviour and LDETECT mode - 0x524 - read-write - - - DETECTMODE - Select between default DETECT signal behaviour and LDETECT mode - 0 - 0 - - - Default - DETECT directly connected to PIN DETECT signals - 0 - - - LDETECT - Use the latched LDETECT behaviour - 1 - - - - - - - 0x20 - 0x4 - PIN_CNF[%s] - Description collection: Configuration of GPIO pins - 0x700 - read-write - 0x00000002 - - - DIR - Pin direction. Same physical register as DIR register - 0 - 0 - - - Input - Configure pin as an input pin - 0 - - - Output - Configure pin as an output pin - 1 - - - - - INPUT - Connect or disconnect input buffer - 1 - 1 - - - Connect - Connect input buffer - 0 - - - Disconnect - Disconnect input buffer - 1 - - - - - PULL - Pull configuration - 2 - 3 - - - Disabled - No pull - 0 - - - Pulldown - Pull down on pin - 1 - - - Pullup - Pull up on pin - 3 - - - - - DRIVE - Drive configuration - 8 - 10 - - - S0S1 - Standard '0', standard '1' - 0 - - - H0S1 - High drive '0', standard '1' - 1 - - - S0H1 - Standard '0', high drive '1' - 2 - - - H0H1 - High drive '0', high 'drive '1'' - 3 - - - D0S1 - Disconnect '0' standard '1' (normally used for wired-or connections) - 4 - - - D0H1 - Disconnect '0', high drive '1' (normally used for wired-or connections) - 5 - - - S0D1 - Standard '0'. disconnect '1' (normally used for wired-and connections) - 6 - - - H0D1 - High drive '0', disconnect '1' (normally used for wired-and connections) - 7 - - - - - SENSE - Pin sensing mechanism - 16 - 17 - - - Disabled - Disabled - 0 - - - High - Sense for high level - 2 - - - Low - Sense for low level - 3 - - - - - - - - - P1 - GPIO Port 2 - 0x50000300 - P0 - - - RADIO - 2.4 GHz radio - 0x40001000 - - 0 - 0x1000 - registers - - - RADIO - 1 - - RADIO - 0x20 - - - TASKS_TXEN - Enable RADIO in TX mode - 0x000 - write-only - - - TASKS_TXEN - Enable RADIO in TX mode - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RXEN - Enable RADIO in RX mode - 0x004 - write-only - - - TASKS_RXEN - Enable RADIO in RX mode - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_START - Start RADIO - 0x008 - write-only - - - TASKS_START - Start RADIO - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop RADIO - 0x00C - write-only - - - TASKS_STOP - Stop RADIO - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_DISABLE - Disable RADIO - 0x010 - write-only - - - TASKS_DISABLE - Disable RADIO - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RSSISTART - Start the RSSI and take one single sample of the receive signal strength - 0x014 - write-only - - - TASKS_RSSISTART - Start the RSSI and take one single sample of the receive signal strength - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RSSISTOP - Stop the RSSI measurement - 0x018 - write-only - - - TASKS_RSSISTOP - Stop the RSSI measurement - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_BCSTART - Start the bit counter - 0x01C - write-only - - - TASKS_BCSTART - Start the bit counter - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_BCSTOP - Stop the bit counter - 0x020 - write-only - - - TASKS_BCSTOP - Stop the bit counter - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_EDSTART - Start the energy detect measurement used in IEEE 802.15.4 mode - 0x024 - write-only - - - TASKS_EDSTART - Start the energy detect measurement used in IEEE 802.15.4 mode - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_EDSTOP - Stop the energy detect measurement - 0x028 - write-only - - - TASKS_EDSTOP - Stop the energy detect measurement - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CCASTART - Start the clear channel assessment used in IEEE 802.15.4 mode - 0x02C - write-only - - - TASKS_CCASTART - Start the clear channel assessment used in IEEE 802.15.4 mode - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CCASTOP - Stop the clear channel assessment - 0x030 - write-only - - - TASKS_CCASTOP - Stop the clear channel assessment - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_READY - RADIO has ramped up and is ready to be started - 0x100 - read-write - - - EVENTS_READY - RADIO has ramped up and is ready to be started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ADDRESS - Address sent or received - 0x104 - read-write - - - EVENTS_ADDRESS - Address sent or received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_PAYLOAD - Packet payload sent or received - 0x108 - read-write - - - EVENTS_PAYLOAD - Packet payload sent or received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_END - Packet sent or received - 0x10C - read-write - - - EVENTS_END - Packet sent or received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_DISABLED - RADIO has been disabled - 0x110 - read-write - - - EVENTS_DISABLED - RADIO has been disabled - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_DEVMATCH - A device address match occurred on the last received packet - 0x114 - read-write - - - EVENTS_DEVMATCH - A device address match occurred on the last received packet - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_DEVMISS - No device address match occurred on the last received packet - 0x118 - read-write - - - EVENTS_DEVMISS - No device address match occurred on the last received packet - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RSSIEND - Sampling of receive signal strength complete - 0x11C - read-write - - - EVENTS_RSSIEND - Sampling of receive signal strength complete - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_BCMATCH - Bit counter reached bit count value - 0x128 - read-write - - - EVENTS_BCMATCH - Bit counter reached bit count value - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CRCOK - Packet received with CRC ok - 0x130 - read-write - - - EVENTS_CRCOK - Packet received with CRC ok - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CRCERROR - Packet received with CRC error - 0x134 - read-write - - - EVENTS_CRCERROR - Packet received with CRC error - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_FRAMESTART - IEEE 802.15.4 length field received - 0x138 - read-write - - - EVENTS_FRAMESTART - IEEE 802.15.4 length field received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_EDEND - Sampling of energy detection complete. A new ED sample is ready for readout from the RADIO.EDSAMPLE register. - 0x13C - read-write - - - EVENTS_EDEND - Sampling of energy detection complete. A new ED sample is ready for readout from the RADIO.EDSAMPLE register. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_EDSTOPPED - The sampling of energy detection has stopped - 0x140 - read-write - - - EVENTS_EDSTOPPED - The sampling of energy detection has stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CCAIDLE - Wireless medium in idle - clear to send - 0x144 - read-write - - - EVENTS_CCAIDLE - Wireless medium in idle - clear to send - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CCABUSY - Wireless medium busy - do not send - 0x148 - read-write - - - EVENTS_CCABUSY - Wireless medium busy - do not send - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CCASTOPPED - The CCA has stopped - 0x14C - read-write - - - EVENTS_CCASTOPPED - The CCA has stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RATEBOOST - Ble_LR CI field received, receive mode is changed from Ble_LR125Kbit to Ble_LR500Kbit. - 0x150 - read-write - - - EVENTS_RATEBOOST - Ble_LR CI field received, receive mode is changed from Ble_LR125Kbit to Ble_LR500Kbit. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXREADY - RADIO has ramped up and is ready to be started TX path - 0x154 - read-write - - - EVENTS_TXREADY - RADIO has ramped up and is ready to be started TX path - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXREADY - RADIO has ramped up and is ready to be started RX path - 0x158 - read-write - - - EVENTS_RXREADY - RADIO has ramped up and is ready to be started RX path - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_MHRMATCH - MAC header match found - 0x15C - read-write - - - EVENTS_MHRMATCH - MAC header match found - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_PHYEND - Generated in Ble_LR125Kbit, Ble_LR500Kbit and Ieee802154_250Kbit modes when last bit is sent on air. - 0x16C - read-write - - - EVENTS_PHYEND - Generated in Ble_LR125Kbit, Ble_LR500Kbit and Ieee802154_250Kbit modes when last bit is sent on air. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - READY_START - Shortcut between event READY and task START - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - END_DISABLE - Shortcut between event END and task DISABLE - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DISABLED_TXEN - Shortcut between event DISABLED and task TXEN - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DISABLED_RXEN - Shortcut between event DISABLED and task RXEN - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - ADDRESS_RSSISTART - Shortcut between event ADDRESS and task RSSISTART - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - END_START - Shortcut between event END and task START - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - ADDRESS_BCSTART - Shortcut between event ADDRESS and task BCSTART - 6 - 6 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DISABLED_RSSISTOP - Shortcut between event DISABLED and task RSSISTOP - 8 - 8 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - RXREADY_CCASTART - Shortcut between event RXREADY and task CCASTART - 11 - 11 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - CCAIDLE_TXEN - Shortcut between event CCAIDLE and task TXEN - 12 - 12 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - CCABUSY_DISABLE - Shortcut between event CCABUSY and task DISABLE - 13 - 13 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - FRAMESTART_BCSTART - Shortcut between event FRAMESTART and task BCSTART - 14 - 14 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - READY_EDSTART - Shortcut between event READY and task EDSTART - 15 - 15 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - EDEND_DISABLE - Shortcut between event EDEND and task DISABLE - 16 - 16 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - CCAIDLE_STOP - Shortcut between event CCAIDLE and task STOP - 17 - 17 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - TXREADY_START - Shortcut between event TXREADY and task START - 18 - 18 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - RXREADY_START - Shortcut between event RXREADY and task START - 19 - 19 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - PHYEND_DISABLE - Shortcut between event PHYEND and task DISABLE - 20 - 20 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - PHYEND_START - Shortcut between event PHYEND and task START - 21 - 21 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to enable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ADDRESS - Write '1' to enable interrupt for event ADDRESS - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PAYLOAD - Write '1' to enable interrupt for event PAYLOAD - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - END - Write '1' to enable interrupt for event END - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DISABLED - Write '1' to enable interrupt for event DISABLED - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DEVMATCH - Write '1' to enable interrupt for event DEVMATCH - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DEVMISS - Write '1' to enable interrupt for event DEVMISS - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RSSIEND - Write '1' to enable interrupt for event RSSIEND - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - BCMATCH - Write '1' to enable interrupt for event BCMATCH - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CRCOK - Write '1' to enable interrupt for event CRCOK - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CRCERROR - Write '1' to enable interrupt for event CRCERROR - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - FRAMESTART - Write '1' to enable interrupt for event FRAMESTART - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - EDEND - Write '1' to enable interrupt for event EDEND - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - EDSTOPPED - Write '1' to enable interrupt for event EDSTOPPED - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CCAIDLE - Write '1' to enable interrupt for event CCAIDLE - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CCABUSY - Write '1' to enable interrupt for event CCABUSY - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CCASTOPPED - Write '1' to enable interrupt for event CCASTOPPED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RATEBOOST - Write '1' to enable interrupt for event RATEBOOST - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXREADY - Write '1' to enable interrupt for event TXREADY - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXREADY - Write '1' to enable interrupt for event RXREADY - 22 - 22 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - MHRMATCH - Write '1' to enable interrupt for event MHRMATCH - 23 - 23 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PHYEND - Write '1' to enable interrupt for event PHYEND - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to disable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ADDRESS - Write '1' to disable interrupt for event ADDRESS - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PAYLOAD - Write '1' to disable interrupt for event PAYLOAD - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - END - Write '1' to disable interrupt for event END - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DISABLED - Write '1' to disable interrupt for event DISABLED - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DEVMATCH - Write '1' to disable interrupt for event DEVMATCH - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DEVMISS - Write '1' to disable interrupt for event DEVMISS - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RSSIEND - Write '1' to disable interrupt for event RSSIEND - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - BCMATCH - Write '1' to disable interrupt for event BCMATCH - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CRCOK - Write '1' to disable interrupt for event CRCOK - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CRCERROR - Write '1' to disable interrupt for event CRCERROR - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - FRAMESTART - Write '1' to disable interrupt for event FRAMESTART - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - EDEND - Write '1' to disable interrupt for event EDEND - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - EDSTOPPED - Write '1' to disable interrupt for event EDSTOPPED - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CCAIDLE - Write '1' to disable interrupt for event CCAIDLE - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CCABUSY - Write '1' to disable interrupt for event CCABUSY - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CCASTOPPED - Write '1' to disable interrupt for event CCASTOPPED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RATEBOOST - Write '1' to disable interrupt for event RATEBOOST - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXREADY - Write '1' to disable interrupt for event TXREADY - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXREADY - Write '1' to disable interrupt for event RXREADY - 22 - 22 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - MHRMATCH - Write '1' to disable interrupt for event MHRMATCH - 23 - 23 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PHYEND - Write '1' to disable interrupt for event PHYEND - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - CRCSTATUS - CRC status - 0x400 - read-only - - - CRCSTATUS - CRC status of packet received - 0 - 0 - - - CRCError - Packet received with CRC error - 0 - - - CRCOk - Packet received with CRC ok - 1 - - - - - - - RXMATCH - Received address - 0x408 - read-only - - - RXMATCH - Received address - 0 - 2 - - - - - RXCRC - CRC field of previously received packet - 0x40C - read-only - - - RXCRC - CRC field of previously received packet - 0 - 23 - - - - - DAI - Device address match index - 0x410 - read-only - - - DAI - Device address match index - 0 - 2 - - - - - PDUSTAT - Payload status - 0x414 - read-only - - - PDUSTAT - Status on payload length vs. PCNF1.MAXLEN - 0 - 0 - - - LessThan - Payload less than PCNF1.MAXLEN - 0 - - - GreaterThan - Payload greater than PCNF1.MAXLEN - 1 - - - - - CISTAT - Status on what rate packet is received with in Long Range - 1 - 2 - - - LR125kbit - Frame is received at 125kbps - 0 - - - LR500kbit - Frame is received at 500kbps - 1 - - - - - - - PACKETPTR - Packet pointer - 0x504 - read-write - - - PACKETPTR - Packet pointer - 0 - 31 - - - - - FREQUENCY - Frequency - 0x508 - read-write - 0x00000002 - - - FREQUENCY - Radio channel frequency - 0 - 6 - - - MAP - Channel map selection. - 8 - 8 - - - Default - Channel map between 2400 MHZ .. 2500 MHz - 0 - - - Low - Channel map between 2360 MHZ .. 2460 MHz - 1 - - - - - - - TXPOWER - Output power - 0x50C - read-write - - - TXPOWER - RADIO output power - 0 - 7 - - - Pos8dBm - +8 dBm - 0x8 - - - Pos7dBm - +7 dBm - 0x7 - - - Pos6dBm - +6 dBm - 0x6 - - - Pos5dBm - +5 dBm - 0x5 - - - Pos4dBm - +4 dBm - 0x4 - - - Pos3dBm - +3 dBm - 0x3 - - - Pos2dBm - +2 dBm - 0x2 - - - 0dBm - 0 dBm - 0x0 - - - Neg4dBm - -4 dBm - 0xFC - - - Neg8dBm - -8 dBm - 0xF8 - - - Neg12dBm - -12 dBm - 0xF4 - - - Neg16dBm - -16 dBm - 0xF0 - - - Neg20dBm - -20 dBm - 0xEC - - - Neg30dBm - Deprecated enumerator - -40 dBm - 0xE2 - - - Neg40dBm - -40 dBm - 0xD8 - - - - - - - MODE - Data rate and modulation - 0x510 - read-write - - - MODE - Radio data rate and modulation setting. The radio supports frequency-shift keying (FSK) modulation. - 0 - 3 - - - Nrf_1Mbit - 1 Mbit/s Nordic proprietary radio mode - 0 - - - Nrf_2Mbit - 2 Mbit/s Nordic proprietary radio mode - 1 - - - Ble_1Mbit - 1 Mbit/s BLE - 3 - - - Ble_2Mbit - 2 Mbit/s BLE - 4 - - - Ble_LR125Kbit - Long range 125 kbit/s TX, 125 kbit/s and 500 kbit/s RX - 5 - - - Ble_LR500Kbit - Long range 500 kbit/s TX, 125 kbit/s and 500 kbit/s RX - 6 - - - Ieee802154_250Kbit - IEEE 802.15.4-2006 250 kbit/s - 15 - - - - - - - PCNF0 - Packet configuration register 0 - 0x514 - read-write - - - LFLEN - Length on air of LENGTH field in number of bits. - 0 - 3 - - - S0LEN - Length on air of S0 field in number of bytes. - 8 - 8 - - - S1LEN - Length on air of S1 field in number of bits. - 16 - 19 - - - S1INCL - Include or exclude S1 field in RAM - 20 - 20 - - - Automatic - Include S1 field in RAM only if S1LEN &gt; 0 - 0 - - - Include - Always include S1 field in RAM independent of S1LEN - 1 - - - - - CILEN - Length of code indicator - long range - 22 - 23 - - - PLEN - Length of preamble on air. Decision point: TASKS_START task - 24 - 25 - - - 8bit - 8-bit preamble - 0 - - - 16bit - 16-bit preamble - 1 - - - 32bitZero - 32-bit zero preamble - used for IEEE 802.15.4 - 2 - - - LongRange - Preamble - used for BLE long range - 3 - - - - - CRCINC - Indicates if LENGTH field contains CRC or not - 26 - 26 - - - Exclude - LENGTH does not contain CRC - 0 - - - Include - LENGTH includes CRC - 1 - - - - - TERMLEN - Length of TERM field in Long Range operation - 29 - 30 - - - - - PCNF1 - Packet configuration register 1 - 0x518 - read-write - - - MAXLEN - Maximum length of packet payload. If the packet payload is larger than MAXLEN, the radio will truncate the payload to MAXLEN. - 0 - 7 - - - STATLEN - Static length in number of bytes - 8 - 15 - - - BALEN - Base address length in number of bytes - 16 - 18 - - - ENDIAN - On air endianness of packet, this applies to the S0, LENGTH, S1 and the PAYLOAD fields. - 24 - 24 - - - Little - Least significant bit on air first - 0 - - - Big - Most significant bit on air first - 1 - - - - - WHITEEN - Enable or disable packet whitening - 25 - 25 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - BASE0 - Base address 0 - 0x51C - read-write - - - BASE0 - Base address 0 - 0 - 31 - - - - - BASE1 - Base address 1 - 0x520 - read-write - - - BASE1 - Base address 1 - 0 - 31 - - - - - PREFIX0 - Prefixes bytes for logical addresses 0-3 - 0x524 - read-write - - - AP0 - Address prefix 0. - 0 - 7 - - - AP1 - Address prefix 1. - 8 - 15 - - - AP2 - Address prefix 2. - 16 - 23 - - - AP3 - Address prefix 3. - 24 - 31 - - - - - PREFIX1 - Prefixes bytes for logical addresses 4-7 - 0x528 - read-write - - - AP4 - Address prefix 4. - 0 - 7 - - - AP5 - Address prefix 5. - 8 - 15 - - - AP6 - Address prefix 6. - 16 - 23 - - - AP7 - Address prefix 7. - 24 - 31 - - - - - TXADDRESS - Transmit address select - 0x52C - read-write - - - TXADDRESS - Transmit address select - 0 - 2 - - - - - RXADDRESSES - Receive address select - 0x530 - read-write - - - ADDR0 - Enable or disable reception on logical address 0. - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR1 - Enable or disable reception on logical address 1. - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR2 - Enable or disable reception on logical address 2. - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR3 - Enable or disable reception on logical address 3. - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR4 - Enable or disable reception on logical address 4. - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR5 - Enable or disable reception on logical address 5. - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR6 - Enable or disable reception on logical address 6. - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ADDR7 - Enable or disable reception on logical address 7. - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - CRCCNF - CRC configuration - 0x534 - read-write - - - LEN - CRC length in number of bytes. - 0 - 1 - - - Disabled - CRC length is zero and CRC calculation is disabled - 0 - - - One - CRC length is one byte and CRC calculation is enabled - 1 - - - Two - CRC length is two bytes and CRC calculation is enabled - 2 - - - Three - CRC length is three bytes and CRC calculation is enabled - 3 - - - - - SKIPADDR - Include or exclude packet address field out of CRC calculation. - 8 - 9 - - - Include - CRC calculation includes address field - 0 - - - Skip - CRC calculation does not include address field. The CRC calculation will start at the first byte after the address. - 1 - - - Ieee802154 - CRC calculation as per 802.15.4 standard. Starting at first byte after length field. - 2 - - - - - - - CRCPOLY - CRC polynomial - 0x538 - read-write - 0x00000000 - - - CRCPOLY - CRC polynomial - 0 - 23 - - - - - CRCINIT - CRC initial value - 0x53C - read-write - - - CRCINIT - CRC initial value - 0 - 23 - - - - - TIFS - Interframe spacing in us - 0x544 - read-write - - - TIFS - Interframe spacing in us - 0 - 9 - - - - - RSSISAMPLE - RSSI sample - 0x548 - read-only - - - RSSISAMPLE - RSSI sample - 0 - 6 - - - - - STATE - Current radio state - 0x550 - read-only - - - STATE - Current radio state - 0 - 3 - - - Disabled - RADIO is in the Disabled state - 0 - - - RxRu - RADIO is in the RXRU state - 1 - - - RxIdle - RADIO is in the RXIDLE state - 2 - - - Rx - RADIO is in the RX state - 3 - - - RxDisable - RADIO is in the RXDISABLED state - 4 - - - TxRu - RADIO is in the TXRU state - 9 - - - TxIdle - RADIO is in the TXIDLE state - 10 - - - Tx - RADIO is in the TX state - 11 - - - TxDisable - RADIO is in the TXDISABLED state - 12 - - - - - - - DATAWHITEIV - Data whitening initial value - 0x554 - read-write - 0x00000040 - - - DATAWHITEIV - Data whitening initial value. Bit 6 is hard-wired to '1', writing '0' to it has no effect, and it will always be read back and used by the device as '1'. - 0 - 6 - - - - - BCC - Bit counter compare - 0x560 - read-write - - - BCC - Bit counter compare - 0 - 31 - - - - - 0x8 - 0x4 - DAB[%s] - Description collection: Device address base segment n - 0x600 - read-write - - - DAB - Device address base segment n - 0 - 31 - - - - - 0x8 - 0x4 - DAP[%s] - Description collection: Device address prefix n - 0x620 - read-write - - - DAP - Device address prefix n - 0 - 15 - - - - - DACNF - Device address match configuration - 0x640 - read-write - - - ENA0 - Enable or disable device address matching using device address 0 - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA1 - Enable or disable device address matching using device address 1 - 1 - 1 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA2 - Enable or disable device address matching using device address 2 - 2 - 2 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA3 - Enable or disable device address matching using device address 3 - 3 - 3 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA4 - Enable or disable device address matching using device address 4 - 4 - 4 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA5 - Enable or disable device address matching using device address 5 - 5 - 5 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA6 - Enable or disable device address matching using device address 6 - 6 - 6 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ENA7 - Enable or disable device address matching using device address 7 - 7 - 7 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - TXADD0 - TxAdd for device address 0 - 8 - 8 - - - TXADD1 - TxAdd for device address 1 - 9 - 9 - - - TXADD2 - TxAdd for device address 2 - 10 - 10 - - - TXADD3 - TxAdd for device address 3 - 11 - 11 - - - TXADD4 - TxAdd for device address 4 - 12 - 12 - - - TXADD5 - TxAdd for device address 5 - 13 - 13 - - - TXADD6 - TxAdd for device address 6 - 14 - 14 - - - TXADD7 - TxAdd for device address 7 - 15 - 15 - - - - - MHRMATCHCONF - Search pattern configuration - 0x644 - read-write - - - MHRMATCHCONF - Search pattern configuration - 0 - 31 - - - - - MHRMATCHMAS - Pattern mask - 0x648 - read-write - - - MHRMATCHMAS - Pattern mask - 0 - 31 - - - - - MODECNF0 - Radio mode configuration register 0 - 0x650 - read-write - 0x00000200 - - - RU - Radio ramp-up time - 0 - 0 - - - Default - Default ramp-up time (tRXEN and tTXEN), compatible with firmware written for nRF51 - 0 - - - Fast - Fast ramp-up (tRXEN,FAST and tTXEN,FAST), see electrical specification for more information - 1 - - - - - DTX - Default TX value - 8 - 9 - - - B1 - Transmit '1' - 0 - - - B0 - Transmit '0' - 1 - - - Center - Transmit center frequency - 2 - - - - - - - SFD - IEEE 802.15.4 start of frame delimiter - 0x660 - read-write - 0x000000A7 - - - SFD - IEEE 802.15.4 start of frame delimiter - 0 - 7 - - - - - EDCNT - IEEE 802.15.4 energy detect loop count - 0x664 - read-write - 0x00000000 - - - EDCNT - IEEE 802.15.4 energy detect loop count - 0 - 20 - - - - - EDSAMPLE - IEEE 802.15.4 energy detect level - 0x668 - read-write - 0x00000000 - - - EDLVL - IEEE 802.15.4 energy detect level - 0 - 7 - - - - - CCACTRL - IEEE 802.15.4 clear channel assessment control - 0x66C - read-write - 0x052D0000 - - - CCAMODE - CCA mode of operation - 0 - 2 - - - EdMode - Energy above threshold - 0 - - - CarrierMode - Carrier seen - 1 - - - CarrierAndEdMode - Energy above threshold AND carrier seen - 2 - - - CarrierOrEdMode - Energy above threshold OR carrier seen - 3 - - - EdModeTest1 - Energy above threshold test mode that will abort when first ED measurement over threshold is seen. No averaging. - 4 - - - - - CCAEDTHRES - CCA energy busy threshold. Used in all the CCA modes except CarrierMode. - 8 - 15 - - - CCACORRTHRES - CCA correlator busy threshold. Only relevant to CarrierMode, CarrierAndEdMode and CarrierOrEdMode. - 16 - 23 - - - CCACORRCNT - Limit for occurances above CCACORRTHRES. When not equal to zero the corrolator based signal detect is enabled. - 24 - 31 - - - - - POWER - Peripheral power control - 0xFFC - read-write - 0x00000001 - - - POWER - Peripheral power control. The peripheral and its registers will be reset to its initial state by switching the peripheral off and then back on again. - 0 - 0 - - - Disabled - Peripheral is powered off - 0 - - - Enabled - Peripheral is powered on - 1 - - - - - - - - - UART0 - Universal Asynchronous Receiver/Transmitter - 0x40002000 - UART - - 0 - 0x1000 - registers - - - UARTE0_UART0 - 2 - - UART - 0x20 - - - TASKS_STARTRX - Start UART receiver - 0x000 - write-only - - - TASKS_STARTRX - Start UART receiver - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOPRX - Stop UART receiver - 0x004 - write-only - - - TASKS_STOPRX - Stop UART receiver - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STARTTX - Start UART transmitter - 0x008 - write-only - - - TASKS_STARTTX - Start UART transmitter - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOPTX - Stop UART transmitter - 0x00C - write-only - - - TASKS_STOPTX - Stop UART transmitter - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SUSPEND - Suspend UART - 0x01C - write-only - - - TASKS_SUSPEND - Suspend UART - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_CTS - CTS is activated (set low). Clear To Send. - 0x100 - read-write - - - EVENTS_CTS - CTS is activated (set low). Clear To Send. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_NCTS - CTS is deactivated (set high). Not Clear To Send. - 0x104 - read-write - - - EVENTS_NCTS - CTS is deactivated (set high). Not Clear To Send. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXDRDY - Data received in RXD - 0x108 - read-write - - - EVENTS_RXDRDY - Data received in RXD - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXDRDY - Data sent from TXD - 0x11C - read-write - - - EVENTS_TXDRDY - Data sent from TXD - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ERROR - Error detected - 0x124 - read-write - - - EVENTS_ERROR - Error detected - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXTO - Receiver timeout - 0x144 - read-write - - - EVENTS_RXTO - Receiver timeout - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - CTS_STARTRX - Shortcut between event CTS and task STARTRX - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - NCTS_STOPRX - Shortcut between event NCTS and task STOPRX - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - CTS - Write '1' to enable interrupt for event CTS - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - NCTS - Write '1' to enable interrupt for event NCTS - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXDRDY - Write '1' to enable interrupt for event RXDRDY - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXDRDY - Write '1' to enable interrupt for event TXDRDY - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to enable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXTO - Write '1' to enable interrupt for event RXTO - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - CTS - Write '1' to disable interrupt for event CTS - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - NCTS - Write '1' to disable interrupt for event NCTS - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXDRDY - Write '1' to disable interrupt for event RXDRDY - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXDRDY - Write '1' to disable interrupt for event TXDRDY - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to disable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXTO - Write '1' to disable interrupt for event RXTO - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x480 - read-write - oneToClear - - - OVERRUN - Overrun error - 0 - 0 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - PARITY - Parity error - 1 - 1 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - FRAMING - Framing error occurred - 2 - 2 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - BREAK - Break condition - 3 - 3 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - - - ENABLE - Enable UART - 0x500 - read-write - - - ENABLE - Enable or disable UART - 0 - 3 - - - Disabled - Disable UART - 0 - - - Enabled - Enable UART - 4 - - - - - - - PSEL - Unspecified - UART_PSEL - read-write - 0x508 - - RTS - Pin select for RTS - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - TXD - Pin select for TXD - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - CTS - Pin select for CTS - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - RXD - Pin select for RXD - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - RXD - RXD register - 0x518 - read-only - modifyExternal - - - RXD - RX data received in previous transfers, double buffered - 0 - 7 - - - - - TXD - TXD register - 0x51C - write-only - - - TXD - TX data to be transferred - 0 - 7 - - - - - BAUDRATE - Baud rate. Accuracy depends on the HFCLK source selected. - 0x524 - read-write - 0x04000000 - - - BAUDRATE - Baud rate - 0 - 31 - - - Baud1200 - 1200 baud (actual rate: 1205) - 0x0004F000 - - - Baud2400 - 2400 baud (actual rate: 2396) - 0x0009D000 - - - Baud4800 - 4800 baud (actual rate: 4808) - 0x0013B000 - - - Baud9600 - 9600 baud (actual rate: 9598) - 0x00275000 - - - Baud14400 - 14400 baud (actual rate: 14414) - 0x003B0000 - - - Baud19200 - 19200 baud (actual rate: 19208) - 0x004EA000 - - - Baud28800 - 28800 baud (actual rate: 28829) - 0x0075F000 - - - Baud31250 - 31250 baud - 0x00800000 - - - Baud38400 - 38400 baud (actual rate: 38462) - 0x009D5000 - - - Baud56000 - 56000 baud (actual rate: 55944) - 0x00E50000 - - - Baud57600 - 57600 baud (actual rate: 57762) - 0x00EBF000 - - - Baud76800 - 76800 baud (actual rate: 76923) - 0x013A9000 - - - Baud115200 - 115200 baud (actual rate: 115942) - 0x01D7E000 - - - Baud230400 - 230400 baud (actual rate: 231884) - 0x03AFB000 - - - Baud250000 - 250000 baud - 0x04000000 - - - Baud460800 - 460800 baud (actual rate: 470588) - 0x075F7000 - - - Baud921600 - 921600 baud (actual rate: 941176) - 0x0EBED000 - - - Baud1M - 1Mega baud - 0x10000000 - - - - - - - CONFIG - Configuration of parity and hardware flow control - 0x56C - read-write - - - HWFC - Hardware flow control - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - PARITY - Parity - 1 - 3 - - - Excluded - Exclude parity bit - 0x0 - - - Included - Include parity bit - 0x7 - - - - - STOP - Stop bits - 4 - 4 - - - One - One stop bit - 0 - - - Two - Two stop bits - 1 - - - - - - - - - UARTE0 - UART with EasyDMA 0 - 0x40002000 - UART0 - UARTE - - 0 - 0x1000 - registers - - - UARTE0_UART0 - 2 - - UARTE - 0x20 - - - TASKS_STARTRX - Start UART receiver - 0x000 - write-only - - - TASKS_STARTRX - Start UART receiver - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOPRX - Stop UART receiver - 0x004 - write-only - - - TASKS_STOPRX - Stop UART receiver - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STARTTX - Start UART transmitter - 0x008 - write-only - - - TASKS_STARTTX - Start UART transmitter - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOPTX - Stop UART transmitter - 0x00C - write-only - - - TASKS_STOPTX - Stop UART transmitter - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_FLUSHRX - Flush RX FIFO into RX buffer - 0x02C - write-only - - - TASKS_FLUSHRX - Flush RX FIFO into RX buffer - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_CTS - CTS is activated (set low). Clear To Send. - 0x100 - read-write - - - EVENTS_CTS - CTS is activated (set low). Clear To Send. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_NCTS - CTS is deactivated (set high). Not Clear To Send. - 0x104 - read-write - - - EVENTS_NCTS - CTS is deactivated (set high). Not Clear To Send. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXDRDY - Data received in RXD (but potentially not yet transferred to Data RAM) - 0x108 - read-write - - - EVENTS_RXDRDY - Data received in RXD (but potentially not yet transferred to Data RAM) - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDRX - Receive buffer is filled up - 0x110 - read-write - - - EVENTS_ENDRX - Receive buffer is filled up - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXDRDY - Data sent from TXD - 0x11C - read-write - - - EVENTS_TXDRDY - Data sent from TXD - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDTX - Last TX byte transmitted - 0x120 - read-write - - - EVENTS_ENDTX - Last TX byte transmitted - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ERROR - Error detected - 0x124 - read-write - - - EVENTS_ERROR - Error detected - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXTO - Receiver timeout - 0x144 - read-write - - - EVENTS_RXTO - Receiver timeout - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXSTARTED - UART receiver has started - 0x14C - read-write - - - EVENTS_RXSTARTED - UART receiver has started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXSTARTED - UART transmitter has started - 0x150 - read-write - - - EVENTS_TXSTARTED - UART transmitter has started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXSTOPPED - Transmitter stopped - 0x158 - read-write - - - EVENTS_TXSTOPPED - Transmitter stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - ENDRX_STARTRX - Shortcut between event ENDRX and task STARTRX - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - ENDRX_STOPRX - Shortcut between event ENDRX and task STOPRX - 6 - 6 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - CTS - Enable or disable interrupt for event CTS - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - NCTS - Enable or disable interrupt for event NCTS - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXDRDY - Enable or disable interrupt for event RXDRDY - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDRX - Enable or disable interrupt for event ENDRX - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXDRDY - Enable or disable interrupt for event TXDRDY - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDTX - Enable or disable interrupt for event ENDTX - 8 - 8 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ERROR - Enable or disable interrupt for event ERROR - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXTO - Enable or disable interrupt for event RXTO - 17 - 17 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXSTARTED - Enable or disable interrupt for event RXSTARTED - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXSTARTED - Enable or disable interrupt for event TXSTARTED - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXSTOPPED - Enable or disable interrupt for event TXSTOPPED - 22 - 22 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - CTS - Write '1' to enable interrupt for event CTS - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - NCTS - Write '1' to enable interrupt for event NCTS - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXDRDY - Write '1' to enable interrupt for event RXDRDY - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDRX - Write '1' to enable interrupt for event ENDRX - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXDRDY - Write '1' to enable interrupt for event TXDRDY - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDTX - Write '1' to enable interrupt for event ENDTX - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to enable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXTO - Write '1' to enable interrupt for event RXTO - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXSTARTED - Write '1' to enable interrupt for event RXSTARTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXSTARTED - Write '1' to enable interrupt for event TXSTARTED - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXSTOPPED - Write '1' to enable interrupt for event TXSTOPPED - 22 - 22 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - CTS - Write '1' to disable interrupt for event CTS - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - NCTS - Write '1' to disable interrupt for event NCTS - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXDRDY - Write '1' to disable interrupt for event RXDRDY - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDRX - Write '1' to disable interrupt for event ENDRX - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXDRDY - Write '1' to disable interrupt for event TXDRDY - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDTX - Write '1' to disable interrupt for event ENDTX - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to disable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXTO - Write '1' to disable interrupt for event RXTO - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXSTARTED - Write '1' to disable interrupt for event RXSTARTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXSTARTED - Write '1' to disable interrupt for event TXSTARTED - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXSTOPPED - Write '1' to disable interrupt for event TXSTOPPED - 22 - 22 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source Note : this register is read / write one to clear. - 0x480 - read-write - oneToClear - - - OVERRUN - Overrun error - 0 - 0 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - PARITY - Parity error - 1 - 1 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - FRAMING - Framing error occurred - 2 - 2 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - BREAK - Break condition - 3 - 3 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - - - ENABLE - Enable UART - 0x500 - read-write - - - ENABLE - Enable or disable UARTE - 0 - 3 - - - Disabled - Disable UARTE - 0 - - - Enabled - Enable UARTE - 8 - - - - - - - PSEL - Unspecified - UARTE_PSEL - read-write - 0x508 - - RTS - Pin select for RTS signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - TXD - Pin select for TXD signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - CTS - Pin select for CTS signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - RXD - Pin select for RXD signal - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - BAUDRATE - Baud rate. Accuracy depends on the HFCLK source selected. - 0x524 - read-write - 0x04000000 - - - BAUDRATE - Baud rate - 0 - 31 - - - Baud1200 - 1200 baud (actual rate: 1205) - 0x0004F000 - - - Baud2400 - 2400 baud (actual rate: 2396) - 0x0009D000 - - - Baud4800 - 4800 baud (actual rate: 4808) - 0x0013B000 - - - Baud9600 - 9600 baud (actual rate: 9598) - 0x00275000 - - - Baud14400 - 14400 baud (actual rate: 14401) - 0x003AF000 - - - Baud19200 - 19200 baud (actual rate: 19208) - 0x004EA000 - - - Baud28800 - 28800 baud (actual rate: 28777) - 0x0075C000 - - - Baud31250 - 31250 baud - 0x00800000 - - - Baud38400 - 38400 baud (actual rate: 38369) - 0x009D0000 - - - Baud56000 - 56000 baud (actual rate: 55944) - 0x00E50000 - - - Baud57600 - 57600 baud (actual rate: 57554) - 0x00EB0000 - - - Baud76800 - 76800 baud (actual rate: 76923) - 0x013A9000 - - - Baud115200 - 115200 baud (actual rate: 115108) - 0x01D60000 - - - Baud230400 - 230400 baud (actual rate: 231884) - 0x03B00000 - - - Baud250000 - 250000 baud - 0x04000000 - - - Baud460800 - 460800 baud (actual rate: 457143) - 0x07400000 - - - Baud921600 - 921600 baud (actual rate: 941176) - 0x0F000000 - - - Baud1M - 1Mega baud - 0x10000000 - - - - - - - RXD - RXD EasyDMA channel - UARTE_RXD - read-write - 0x534 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in receive buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in receive buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 15 - - - - - - TXD - TXD EasyDMA channel - UARTE_TXD - read-write - 0x544 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in transmit buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in transmit buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 15 - - - - - - CONFIG - Configuration of parity and hardware flow control - 0x56C - read-write - - - HWFC - Hardware flow control - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - PARITY - Parity - 1 - 3 - - - Excluded - Exclude parity bit - 0x0 - - - Included - Include even parity bit - 0x7 - - - - - STOP - Stop bits - 4 - 4 - - - One - One stop bit - 0 - - - Two - Two stop bits - 1 - - - - - - - - - SPI0 - Serial Peripheral Interface 0 - 0x40003000 - SPI - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - SPI - 0x20 - - - EVENTS_READY - TXD byte sent and RXD byte received - 0x108 - read-write - - - EVENTS_READY - TXD byte sent and RXD byte received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to enable interrupt for event READY - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to disable interrupt for event READY - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - Enable SPI - 0x500 - read-write - - - ENABLE - Enable or disable SPI - 0 - 3 - - - Disabled - Disable SPI - 0 - - - Enabled - Enable SPI - 1 - - - - - - - PSEL - Unspecified - SPI_PSEL - read-write - 0x508 - - SCK - Pin select for SCK - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MOSI - Pin select for MOSI signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MISO - Pin select for MISO signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - RXD - RXD register - 0x518 - read-only - modifyExternal - - - RXD - RX data received. Double buffered - 0 - 7 - - - - - TXD - TXD register - 0x51C - read-write - - - TXD - TX data to send. Double buffered - 0 - 7 - - - - - FREQUENCY - SPI frequency. Accuracy depends on the HFCLK source selected. - 0x524 - read-write - 0x04000000 - - - FREQUENCY - SPI master data rate - 0 - 31 - - - K125 - 125 kbps - 0x02000000 - - - K250 - 250 kbps - 0x04000000 - - - K500 - 500 kbps - 0x08000000 - - - M1 - 1 Mbps - 0x10000000 - - - M2 - 2 Mbps - 0x20000000 - - - M4 - 4 Mbps - 0x40000000 - - - M8 - 8 Mbps - 0x80000000 - - - - - - - CONFIG - Configuration register - 0x554 - read-write - - - ORDER - Bit order - 0 - 0 - - - MsbFirst - Most significant bit shifted out first - 0 - - - LsbFirst - Least significant bit shifted out first - 1 - - - - - CPHA - Serial clock (SCK) phase - 1 - 1 - - - Leading - Sample on leading edge of clock, shift serial data on trailing edge - 0 - - - Trailing - Sample on trailing edge of clock, shift serial data on leading edge - 1 - - - - - CPOL - Serial clock (SCK) polarity - 2 - 2 - - - ActiveHigh - Active high - 0 - - - ActiveLow - Active low - 1 - - - - - - - - - SPIM0 - Serial Peripheral Interface Master with EasyDMA 0 - 0x40003000 - SPI0 - SPIM - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - SPIM - 0x20 - - - TASKS_START - Start SPI transaction - 0x010 - write-only - - - TASKS_START - Start SPI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop SPI transaction - 0x014 - write-only - - - TASKS_STOP - Stop SPI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SUSPEND - Suspend SPI transaction - 0x01C - write-only - - - TASKS_SUSPEND - Suspend SPI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RESUME - Resume SPI transaction - 0x020 - write-only - - - TASKS_RESUME - Resume SPI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_STOPPED - SPI transaction has stopped - 0x104 - read-write - - - EVENTS_STOPPED - SPI transaction has stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDRX - End of RXD buffer reached - 0x110 - read-write - - - EVENTS_ENDRX - End of RXD buffer reached - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_END - End of RXD buffer and TXD buffer reached - 0x118 - read-write - - - EVENTS_END - End of RXD buffer and TXD buffer reached - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDTX - End of TXD buffer reached - 0x120 - read-write - - - EVENTS_ENDTX - End of TXD buffer reached - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_STARTED - Transaction started - 0x14C - read-write - - - EVENTS_STARTED - Transaction started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - END_START - Shortcut between event END and task START - 17 - 17 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDRX - Write '1' to enable interrupt for event ENDRX - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - END - Write '1' to enable interrupt for event END - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDTX - Write '1' to enable interrupt for event ENDTX - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STARTED - Write '1' to enable interrupt for event STARTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDRX - Write '1' to disable interrupt for event ENDRX - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - END - Write '1' to disable interrupt for event END - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDTX - Write '1' to disable interrupt for event ENDTX - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STARTED - Write '1' to disable interrupt for event STARTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - STALLSTAT - Stall status for EasyDMA RAM accesses. The fields in this register is set to STALL by hardware whenever a stall occurres and can be cleared (set to NOSTALL) by the CPU. - 0x400 - read-write - 0x00000000 - - - TX - Stall status for EasyDMA RAM reads - 0 - 0 - - - NOSTALL - No stall - 0 - - - STALL - A stall has occurred - 1 - - - - - RX - Stall status for EasyDMA RAM writes - 1 - 1 - - - NOSTALL - No stall - 0 - - - STALL - A stall has occurred - 1 - - - - - - - ENABLE - Enable SPIM - 0x500 - read-write - - - ENABLE - Enable or disable SPIM - 0 - 3 - - - Disabled - Disable SPIM - 0 - - - Enabled - Enable SPIM - 7 - - - - - - - PSEL - Unspecified - SPIM_PSEL - read-write - 0x508 - - SCK - Pin select for SCK - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MOSI - Pin select for MOSI signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MISO - Pin select for MISO signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - CSN - Pin select for CSN - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - FREQUENCY - SPI frequency. Accuracy depends on the HFCLK source selected. - 0x524 - read-write - 0x04000000 - - - FREQUENCY - SPI master data rate - 0 - 31 - - - K125 - 125 kbps - 0x02000000 - - - K250 - 250 kbps - 0x04000000 - - - K500 - 500 kbps - 0x08000000 - - - M1 - 1 Mbps - 0x10000000 - - - M2 - 2 Mbps - 0x20000000 - - - M4 - 4 Mbps - 0x40000000 - - - M8 - 8 Mbps - 0x80000000 - - - M16 - 16 Mbps - 0x0A000000 - - - M32 - 32 Mbps - 0x14000000 - - - - - - - RXD - RXD EasyDMA channel - SPIM_RXD - read-write - 0x534 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in receive buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in receive buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 15 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 1 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - TXD - TXD EasyDMA channel - SPIM_TXD - read-write - 0x544 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Number of bytes in transmit buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in transmit buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 15 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 1 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - CONFIG - Configuration register - 0x554 - read-write - - - ORDER - Bit order - 0 - 0 - - - MsbFirst - Most significant bit shifted out first - 0 - - - LsbFirst - Least significant bit shifted out first - 1 - - - - - CPHA - Serial clock (SCK) phase - 1 - 1 - - - Leading - Sample on leading edge of clock, shift serial data on trailing edge - 0 - - - Trailing - Sample on trailing edge of clock, shift serial data on leading edge - 1 - - - - - CPOL - Serial clock (SCK) polarity - 2 - 2 - - - ActiveHigh - Active high - 0 - - - ActiveLow - Active low - 1 - - - - - - - IFTIMING - Unspecified - SPIM_IFTIMING - read-write - 0x560 - - RXDELAY - Sample delay for input serial data on MISO - 0x000 - read-write - 0x00000002 - - - RXDELAY - Sample delay for input serial data on MISO. The value specifies the number of 64 MHz clock cycles (15.625 ns) delay from the the sampling edge of SCK (leading edge for CONFIG.CPHA = 0, trailing edge for CONFIG.CPHA = 1) until the input serial data is sampled. As en example, if RXDELAY = 0 and CONFIG.CPHA = 0, the input serial data is sampled on the rising edge of SCK. - 0 - 2 - - - - - CSNDUR - Minimum duration between edge of CSN and edge of SCK and minimum duration CSN must stay high between transactions - 0x004 - read-write - 0x00000002 - - - CSNDUR - Minimum duration between edge of CSN and edge of SCK and minimum duration CSN must stay high between transactions. The value is specified in number of 64 MHz clock cycles (15.625 ns). - 0 - 7 - - - - - - CSNPOL - Polarity of CSN output - 0x568 - read-write - 0x00000000 - - - CSNPOL - Polarity of CSN output - 0 - 0 - - - LOW - Active low (idle state high) - 0 - - - HIGH - Active high (idle state low) - 1 - - - - - - - PSELDCX - Pin select for DCX signal - 0x56C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - DCXCNT - DCX configuration - 0x570 - read-write - - - DCXCNT - This register specifies the number of command bytes preceding the data bytes. The PSEL.DCX line will be low during transmission of command bytes and high during transmission of data bytes. Value 0xF indicates that all bytes are command bytes. - 0 - 3 - - - - - ORC - Byte transmitted after TXD.MAXCNT bytes have been transmitted in the case when RXD.MAXCNT is greater than TXD.MAXCNT - 0x5C0 - read-write - - - ORC - Byte transmitted after TXD.MAXCNT bytes have been transmitted in the case when RXD.MAXCNT is greater than TXD.MAXCNT. - 0 - 7 - - - - - - - SPIS0 - SPI Slave 0 - 0x40003000 - SPI0 - SPIS - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - SPIS - 0x20 - - - TASKS_ACQUIRE - Acquire SPI semaphore - 0x024 - write-only - - - TASKS_ACQUIRE - Acquire SPI semaphore - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RELEASE - Release SPI semaphore, enabling the SPI slave to acquire it - 0x028 - write-only - - - TASKS_RELEASE - Release SPI semaphore, enabling the SPI slave to acquire it - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_END - Granted transaction completed - 0x104 - read-write - - - EVENTS_END - Granted transaction completed - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDRX - End of RXD buffer reached - 0x110 - read-write - - - EVENTS_ENDRX - End of RXD buffer reached - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ACQUIRED - Semaphore acquired - 0x128 - read-write - - - EVENTS_ACQUIRED - Semaphore acquired - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - END_ACQUIRE - Shortcut between event END and task ACQUIRE - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - END - Write '1' to enable interrupt for event END - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDRX - Write '1' to enable interrupt for event ENDRX - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ACQUIRED - Write '1' to enable interrupt for event ACQUIRED - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - END - Write '1' to disable interrupt for event END - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDRX - Write '1' to disable interrupt for event ENDRX - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ACQUIRED - Write '1' to disable interrupt for event ACQUIRED - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - SEMSTAT - Semaphore status register - 0x400 - read-only - 0x00000001 - - - SEMSTAT - Semaphore status - 0 - 1 - - - Free - Semaphore is free - 0 - - - CPU - Semaphore is assigned to CPU - 1 - - - SPIS - Semaphore is assigned to SPI slave - 2 - - - CPUPending - Semaphore is assigned to SPI but a handover to the CPU is pending - 3 - - - - - - - STATUS - Status from last transaction - 0x440 - read-write - - - OVERREAD - TX buffer over-read detected, and prevented - 0 - 0 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - write - - Clear - Write: clear error on writing '1' - 1 - - - - - OVERFLOW - RX buffer overflow detected, and prevented - 1 - 1 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - write - - Clear - Write: clear error on writing '1' - 1 - - - - - - - ENABLE - Enable SPI slave - 0x500 - read-write - - - ENABLE - Enable or disable SPI slave - 0 - 3 - - - Disabled - Disable SPI slave - 0 - - - Enabled - Enable SPI slave - 2 - - - - - - - PSEL - Unspecified - SPIS_PSEL - read-write - 0x508 - - SCK - Pin select for SCK - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MISO - Pin select for MISO signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - MOSI - Pin select for MOSI signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - CSN - Pin select for CSN signal - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - RXD - Unspecified - SPIS_RXD - read-write - 0x534 - - PTR - RXD data pointer - 0x000 - read-write - - - PTR - RXD data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in receive buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in receive buffer - 0 - 15 - - - - - AMOUNT - Number of bytes received in last granted transaction - 0x008 - read-only - - - AMOUNT - Number of bytes received in the last granted transaction - 0 - 15 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 1 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - TXD - Unspecified - SPIS_TXD - read-write - 0x544 - - PTR - TXD data pointer - 0x000 - read-write - - - PTR - TXD data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in transmit buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in transmit buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transmitted in last granted transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transmitted in last granted transaction - 0 - 15 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 1 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - CONFIG - Configuration register - 0x554 - read-write - - - ORDER - Bit order - 0 - 0 - - - MsbFirst - Most significant bit shifted out first - 0 - - - LsbFirst - Least significant bit shifted out first - 1 - - - - - CPHA - Serial clock (SCK) phase - 1 - 1 - - - Leading - Sample on leading edge of clock, shift serial data on trailing edge - 0 - - - Trailing - Sample on trailing edge of clock, shift serial data on leading edge - 1 - - - - - CPOL - Serial clock (SCK) polarity - 2 - 2 - - - ActiveHigh - Active high - 0 - - - ActiveLow - Active low - 1 - - - - - - - DEF - Default character. Character clocked out in case of an ignored transaction. - 0x55C - read-write - - - DEF - Default character. Character clocked out in case of an ignored transaction. - 0 - 7 - - - - - ORC - Over-read character - 0x5C0 - read-write - - - ORC - Over-read character. Character clocked out after an over-read of the transmit buffer. - 0 - 7 - - - - - - - TWI0 - I2C compatible Two-Wire Interface 0 - 0x40003000 - SPI0 - TWI - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - TWI - 0x20 - - - TASKS_STARTRX - Start TWI receive sequence - 0x000 - write-only - - - TASKS_STARTRX - Start TWI receive sequence - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STARTTX - Start TWI transmit sequence - 0x008 - write-only - - - TASKS_STARTTX - Start TWI transmit sequence - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop TWI transaction - 0x014 - write-only - - - TASKS_STOP - Stop TWI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SUSPEND - Suspend TWI transaction - 0x01C - write-only - - - TASKS_SUSPEND - Suspend TWI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RESUME - Resume TWI transaction - 0x020 - write-only - - - TASKS_RESUME - Resume TWI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_STOPPED - TWI stopped - 0x104 - read-write - - - EVENTS_STOPPED - TWI stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXDREADY - TWI RXD byte received - 0x108 - read-write - - - EVENTS_RXDREADY - TWI RXD byte received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXDSENT - TWI TXD byte sent - 0x11C - read-write - - - EVENTS_TXDSENT - TWI TXD byte sent - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ERROR - TWI error - 0x124 - read-write - - - EVENTS_ERROR - TWI error - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_BB - TWI byte boundary, generated before each byte that is sent or received - 0x138 - read-write - - - EVENTS_BB - TWI byte boundary, generated before each byte that is sent or received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_SUSPENDED - TWI entered the suspended state - 0x148 - read-write - - - EVENTS_SUSPENDED - TWI entered the suspended state - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - BB_SUSPEND - Shortcut between event BB and task SUSPEND - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - BB_STOP - Shortcut between event BB and task STOP - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXDREADY - Write '1' to enable interrupt for event RXDREADY - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXDSENT - Write '1' to enable interrupt for event TXDSENT - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to enable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - BB - Write '1' to enable interrupt for event BB - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SUSPENDED - Write '1' to enable interrupt for event SUSPENDED - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXDREADY - Write '1' to disable interrupt for event RXDREADY - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXDSENT - Write '1' to disable interrupt for event TXDSENT - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to disable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - BB - Write '1' to disable interrupt for event BB - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SUSPENDED - Write '1' to disable interrupt for event SUSPENDED - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x4C4 - read-write - oneToClear - - - OVERRUN - Overrun error - 0 - 0 - - read - - NotPresent - Read: no overrun occured - 0 - - - Present - Read: overrun occured - 1 - - - - - ANACK - NACK received after sending the address (write '1' to clear) - 1 - 1 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - DNACK - NACK received after sending a data byte (write '1' to clear) - 2 - 2 - - read - - NotPresent - Read: error not present - 0 - - - Present - Read: error present - 1 - - - - - - - ENABLE - Enable TWI - 0x500 - read-write - - - ENABLE - Enable or disable TWI - 0 - 3 - - - Disabled - Disable TWI - 0 - - - Enabled - Enable TWI - 5 - - - - - - - PSEL - Unspecified - TWI_PSEL - read-write - 0x508 - - SCL - Pin select for SCL - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDA - Pin select for SDA - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - RXD - RXD register - 0x518 - read-only - modifyExternal - - - RXD - RXD register - 0 - 7 - - - - - TXD - TXD register - 0x51C - read-write - - - TXD - TXD register - 0 - 7 - - - - - FREQUENCY - TWI frequency. Accuracy depends on the HFCLK source selected. - 0x524 - read-write - 0x04000000 - - - FREQUENCY - TWI master clock frequency - 0 - 31 - - - K100 - 100 kbps - 0x01980000 - - - K250 - 250 kbps - 0x04000000 - - - K400 - 400 kbps (actual rate 410.256 kbps) - 0x06680000 - - - - - - - ADDRESS - Address used in the TWI transfer - 0x588 - read-write - - - ADDRESS - Address used in the TWI transfer - 0 - 6 - - - - - - - TWIM0 - I2C compatible Two-Wire Master Interface with EasyDMA 0 - 0x40003000 - SPI0 - TWIM - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - TWIM - 0x20 - - - TASKS_STARTRX - Start TWI receive sequence - 0x000 - write-only - - - TASKS_STARTRX - Start TWI receive sequence - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STARTTX - Start TWI transmit sequence - 0x008 - write-only - - - TASKS_STARTTX - Start TWI transmit sequence - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop TWI transaction. Must be issued while the TWI master is not suspended. - 0x014 - write-only - - - TASKS_STOP - Stop TWI transaction. Must be issued while the TWI master is not suspended. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SUSPEND - Suspend TWI transaction - 0x01C - write-only - - - TASKS_SUSPEND - Suspend TWI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RESUME - Resume TWI transaction - 0x020 - write-only - - - TASKS_RESUME - Resume TWI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_STOPPED - TWI stopped - 0x104 - read-write - - - EVENTS_STOPPED - TWI stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ERROR - TWI error - 0x124 - read-write - - - EVENTS_ERROR - TWI error - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_SUSPENDED - Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended. - 0x148 - read-write - - - EVENTS_SUSPENDED - Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXSTARTED - Receive sequence started - 0x14C - read-write - - - EVENTS_RXSTARTED - Receive sequence started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXSTARTED - Transmit sequence started - 0x150 - read-write - - - EVENTS_TXSTARTED - Transmit sequence started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_LASTRX - Byte boundary, starting to receive the last byte - 0x15C - read-write - - - EVENTS_LASTRX - Byte boundary, starting to receive the last byte - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_LASTTX - Byte boundary, starting to transmit the last byte - 0x160 - read-write - - - EVENTS_LASTTX - Byte boundary, starting to transmit the last byte - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - LASTTX_STARTRX - Shortcut between event LASTTX and task STARTRX - 7 - 7 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTTX_SUSPEND - Shortcut between event LASTTX and task SUSPEND - 8 - 8 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTTX_STOP - Shortcut between event LASTTX and task STOP - 9 - 9 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTRX_STARTTX - Shortcut between event LASTRX and task STARTTX - 10 - 10 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTRX_SUSPEND - Shortcut between event LASTRX and task SUSPEND - 11 - 11 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LASTRX_STOP - Shortcut between event LASTRX and task STOP - 12 - 12 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STOPPED - Enable or disable interrupt for event STOPPED - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ERROR - Enable or disable interrupt for event ERROR - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SUSPENDED - Enable or disable interrupt for event SUSPENDED - 18 - 18 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXSTARTED - Enable or disable interrupt for event RXSTARTED - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXSTARTED - Enable or disable interrupt for event TXSTARTED - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - LASTRX - Enable or disable interrupt for event LASTRX - 23 - 23 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - LASTTX - Enable or disable interrupt for event LASTTX - 24 - 24 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to enable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SUSPENDED - Write '1' to enable interrupt for event SUSPENDED - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXSTARTED - Write '1' to enable interrupt for event RXSTARTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXSTARTED - Write '1' to enable interrupt for event TXSTARTED - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - LASTRX - Write '1' to enable interrupt for event LASTRX - 23 - 23 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - LASTTX - Write '1' to enable interrupt for event LASTTX - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to disable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SUSPENDED - Write '1' to disable interrupt for event SUSPENDED - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXSTARTED - Write '1' to disable interrupt for event RXSTARTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXSTARTED - Write '1' to disable interrupt for event TXSTARTED - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - LASTRX - Write '1' to disable interrupt for event LASTRX - 23 - 23 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - LASTTX - Write '1' to disable interrupt for event LASTTX - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x4C4 - read-write - oneToClear - - - OVERRUN - Overrun error - 0 - 0 - - - NotReceived - Error did not occur - 0 - - - Received - Error occurred - 1 - - - - - ANACK - NACK received after sending the address (write '1' to clear) - 1 - 1 - - - NotReceived - Error did not occur - 0 - - - Received - Error occurred - 1 - - - - - DNACK - NACK received after sending a data byte (write '1' to clear) - 2 - 2 - - - NotReceived - Error did not occur - 0 - - - Received - Error occurred - 1 - - - - - - - ENABLE - Enable TWIM - 0x500 - read-write - - - ENABLE - Enable or disable TWIM - 0 - 3 - - - Disabled - Disable TWIM - 0 - - - Enabled - Enable TWIM - 6 - - - - - - - PSEL - Unspecified - TWIM_PSEL - read-write - 0x508 - - SCL - Pin select for SCL signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDA - Pin select for SDA signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - FREQUENCY - TWI frequency. Accuracy depends on the HFCLK source selected. - 0x524 - read-write - 0x04000000 - - - FREQUENCY - TWI master clock frequency - 0 - 31 - - - K100 - 100 kbps - 0x01980000 - - - K250 - 250 kbps - 0x04000000 - - - K400 - 400 kbps - 0x06400000 - - - - - - - RXD - RXD EasyDMA channel - TWIM_RXD - read-write - 0x534 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in receive buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in receive buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte. - 0 - 15 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 2 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - TXD - TXD EasyDMA channel - TWIM_TXD - read-write - 0x544 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in transmit buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in transmit buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte. - 0 - 15 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 2 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - ADDRESS - Address used in the TWI transfer - 0x588 - read-write - - - ADDRESS - Address used in the TWI transfer - 0 - 6 - - - - - - - TWIS0 - I2C compatible Two-Wire Slave Interface with EasyDMA 0 - 0x40003000 - SPI0 - TWIS - - 0 - 0x1000 - registers - - - SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 - 3 - - TWIS - 0x20 - - - TASKS_STOP - Stop TWI transaction - 0x014 - write-only - - - TASKS_STOP - Stop TWI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SUSPEND - Suspend TWI transaction - 0x01C - write-only - - - TASKS_SUSPEND - Suspend TWI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RESUME - Resume TWI transaction - 0x020 - write-only - - - TASKS_RESUME - Resume TWI transaction - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_PREPARERX - Prepare the TWI slave to respond to a write command - 0x030 - write-only - - - TASKS_PREPARERX - Prepare the TWI slave to respond to a write command - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_PREPARETX - Prepare the TWI slave to respond to a read command - 0x034 - write-only - - - TASKS_PREPARETX - Prepare the TWI slave to respond to a read command - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_STOPPED - TWI stopped - 0x104 - read-write - - - EVENTS_STOPPED - TWI stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ERROR - TWI error - 0x124 - read-write - - - EVENTS_ERROR - TWI error - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXSTARTED - Receive sequence started - 0x14C - read-write - - - EVENTS_RXSTARTED - Receive sequence started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXSTARTED - Transmit sequence started - 0x150 - read-write - - - EVENTS_TXSTARTED - Transmit sequence started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_WRITE - Write command received - 0x164 - read-write - - - EVENTS_WRITE - Write command received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_READ - Read command received - 0x168 - read-write - - - EVENTS_READ - Read command received - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - WRITE_SUSPEND - Shortcut between event WRITE and task SUSPEND - 13 - 13 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - READ_SUSPEND - Shortcut between event READ and task SUSPEND - 14 - 14 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STOPPED - Enable or disable interrupt for event STOPPED - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ERROR - Enable or disable interrupt for event ERROR - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXSTARTED - Enable or disable interrupt for event RXSTARTED - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXSTARTED - Enable or disable interrupt for event TXSTARTED - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - WRITE - Enable or disable interrupt for event WRITE - 25 - 25 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - READ - Enable or disable interrupt for event READ - 26 - 26 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to enable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXSTARTED - Write '1' to enable interrupt for event RXSTARTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXSTARTED - Write '1' to enable interrupt for event TXSTARTED - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - WRITE - Write '1' to enable interrupt for event WRITE - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - READ - Write '1' to enable interrupt for event READ - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to disable interrupt for event ERROR - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXSTARTED - Write '1' to disable interrupt for event RXSTARTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXSTARTED - Write '1' to disable interrupt for event TXSTARTED - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - WRITE - Write '1' to disable interrupt for event WRITE - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - READ - Write '1' to disable interrupt for event READ - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSRC - Error source - 0x4D0 - read-write - oneToClear - - - OVERFLOW - RX buffer overflow detected, and prevented - 0 - 0 - - - NotDetected - Error did not occur - 0 - - - Detected - Error occurred - 1 - - - - - DNACK - NACK sent after receiving a data byte - 2 - 2 - - - NotReceived - Error did not occur - 0 - - - Received - Error occurred - 1 - - - - - OVERREAD - TX buffer over-read detected, and prevented - 3 - 3 - - - NotDetected - Error did not occur - 0 - - - Detected - Error occurred - 1 - - - - - - - MATCH - Status register indicating which address had a match - 0x4D4 - read-only - - - MATCH - Which of the addresses in {ADDRESS} matched the incoming address - 0 - 0 - - - - - ENABLE - Enable TWIS - 0x500 - read-write - - - ENABLE - Enable or disable TWIS - 0 - 3 - - - Disabled - Disable TWIS - 0 - - - Enabled - Enable TWIS - 9 - - - - - - - PSEL - Unspecified - TWIS_PSEL - read-write - 0x508 - - SCL - Pin select for SCL signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDA - Pin select for SDA signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - RXD - RXD EasyDMA channel - TWIS_RXD - read-write - 0x534 - - PTR - RXD Data pointer - 0x000 - read-write - - - PTR - RXD Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in RXD buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in RXD buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transferred in the last RXD transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last RXD transaction - 0 - 15 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 1 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - TXD - TXD EasyDMA channel - TWIS_TXD - read-write - 0x544 - - PTR - TXD Data pointer - 0x000 - read-write - - - PTR - TXD Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of bytes in TXD buffer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes in TXD buffer - 0 - 15 - - - - - AMOUNT - Number of bytes transferred in the last TXD transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last TXD transaction - 0 - 15 - - - - - LIST - EasyDMA list type - 0x00C - read-write - - - LIST - List type - 0 - 1 - - - Disabled - Disable EasyDMA list - 0 - - - ArrayList - Use array list - 1 - - - - - - - - 0x2 - 0x4 - ADDRESS[%s] - Description collection: TWI slave address n - 0x588 - read-write - - - ADDRESS - TWI slave address - 0 - 6 - - - - - CONFIG - Configuration register for the address match mechanism - 0x594 - read-write - 0x00000001 - - - ADDRESS0 - Enable or disable address matching on ADDRESS[0] - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - ADDRESS1 - Enable or disable address matching on ADDRESS[1] - 1 - 1 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - - - ORC - Over-read character. Character sent out in case of an over-read of the transmit buffer. - 0x5C0 - read-write - - - ORC - Over-read character. Character sent out in case of an over-read of the transmit buffer. - 0 - 7 - - - - - - - SPI1 - Serial Peripheral Interface 1 - 0x40004000 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - SPIM1 - Serial Peripheral Interface Master with EasyDMA 1 - 0x40004000 - SPI1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - SPIS1 - SPI Slave 1 - 0x40004000 - SPI1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - TWI1 - I2C compatible Two-Wire Interface 1 - 0x40004000 - SPI1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - TWIM1 - I2C compatible Two-Wire Master Interface with EasyDMA 1 - 0x40004000 - SPI1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - TWIS1 - I2C compatible Two-Wire Slave Interface with EasyDMA 1 - 0x40004000 - SPI1 - - SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 - 4 - - - - NFCT - NFC-A compatible radio - 0x40005000 - - 0 - 0x1000 - registers - - - NFCT - 5 - - NFCT - 0x20 - - - TASKS_ACTIVATE - Activate NFCT peripheral for incoming and outgoing frames, change state to activated - 0x000 - write-only - - - TASKS_ACTIVATE - Activate NFCT peripheral for incoming and outgoing frames, change state to activated - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_DISABLE - Disable NFCT peripheral - 0x004 - write-only - - - TASKS_DISABLE - Disable NFCT peripheral - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SENSE - Enable NFC sense field mode, change state to sense mode - 0x008 - write-only - - - TASKS_SENSE - Enable NFC sense field mode, change state to sense mode - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STARTTX - Start transmission of an outgoing frame, change state to transmit - 0x00C - write-only - - - TASKS_STARTTX - Start transmission of an outgoing frame, change state to transmit - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_ENABLERXDATA - Initializes the EasyDMA for receive. - 0x01C - write-only - - - TASKS_ENABLERXDATA - Initializes the EasyDMA for receive. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_GOIDLE - Force state machine to IDLE state - 0x024 - write-only - - - TASKS_GOIDLE - Force state machine to IDLE state - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_GOSLEEP - Force state machine to SLEEP_A state - 0x028 - write-only - - - TASKS_GOSLEEP - Force state machine to SLEEP_A state - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_READY - The NFCT peripheral is ready to receive and send frames - 0x100 - read-write - - - EVENTS_READY - The NFCT peripheral is ready to receive and send frames - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_FIELDDETECTED - Remote NFC field detected - 0x104 - read-write - - - EVENTS_FIELDDETECTED - Remote NFC field detected - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_FIELDLOST - Remote NFC field lost - 0x108 - read-write - - - EVENTS_FIELDLOST - Remote NFC field lost - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXFRAMESTART - Marks the start of the first symbol of a transmitted frame - 0x10C - read-write - - - EVENTS_TXFRAMESTART - Marks the start of the first symbol of a transmitted frame - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXFRAMEEND - Marks the end of the last transmitted on-air symbol of a frame - 0x110 - read-write - - - EVENTS_TXFRAMEEND - Marks the end of the last transmitted on-air symbol of a frame - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXFRAMESTART - Marks the end of the first symbol of a received frame - 0x114 - read-write - - - EVENTS_RXFRAMESTART - Marks the end of the first symbol of a received frame - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXFRAMEEND - Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer - 0x118 - read-write - - - EVENTS_RXFRAMEEND - Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ERROR - NFC error reported. The ERRORSTATUS register contains details on the source of the error. - 0x11C - read-write - - - EVENTS_ERROR - NFC error reported. The ERRORSTATUS register contains details on the source of the error. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RXERROR - NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error. - 0x128 - read-write - - - EVENTS_RXERROR - NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDRX - RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full. - 0x12C - read-write - - - EVENTS_ENDRX - RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDTX - Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer - 0x130 - read-write - - - EVENTS_ENDTX - Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_AUTOCOLRESSTARTED - Auto collision resolution process has started - 0x138 - read-write - - - EVENTS_AUTOCOLRESSTARTED - Auto collision resolution process has started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_COLLISION - NFC auto collision resolution error reported. - 0x148 - read-write - - - EVENTS_COLLISION - NFC auto collision resolution error reported. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_SELECTED - NFC auto collision resolution successfully completed - 0x14C - read-write - - - EVENTS_SELECTED - NFC auto collision resolution successfully completed - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_STARTED - EasyDMA is ready to receive or send frames. - 0x150 - read-write - - - EVENTS_STARTED - EasyDMA is ready to receive or send frames. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - FIELDDETECTED_ACTIVATE - Shortcut between event FIELDDETECTED and task ACTIVATE - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - FIELDLOST_SENSE - Shortcut between event FIELDLOST and task SENSE - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - TXFRAMEEND_ENABLERXDATA - Shortcut between event TXFRAMEEND and task ENABLERXDATA - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - READY - Enable or disable interrupt for event READY - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - FIELDDETECTED - Enable or disable interrupt for event FIELDDETECTED - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - FIELDLOST - Enable or disable interrupt for event FIELDLOST - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXFRAMESTART - Enable or disable interrupt for event TXFRAMESTART - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXFRAMEEND - Enable or disable interrupt for event TXFRAMEEND - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXFRAMESTART - Enable or disable interrupt for event RXFRAMESTART - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXFRAMEEND - Enable or disable interrupt for event RXFRAMEEND - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ERROR - Enable or disable interrupt for event ERROR - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RXERROR - Enable or disable interrupt for event RXERROR - 10 - 10 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDRX - Enable or disable interrupt for event ENDRX - 11 - 11 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDTX - Enable or disable interrupt for event ENDTX - 12 - 12 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - AUTOCOLRESSTARTED - Enable or disable interrupt for event AUTOCOLRESSTARTED - 14 - 14 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - COLLISION - Enable or disable interrupt for event COLLISION - 18 - 18 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SELECTED - Enable or disable interrupt for event SELECTED - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STARTED - Enable or disable interrupt for event STARTED - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to enable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - FIELDDETECTED - Write '1' to enable interrupt for event FIELDDETECTED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - FIELDLOST - Write '1' to enable interrupt for event FIELDLOST - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXFRAMESTART - Write '1' to enable interrupt for event TXFRAMESTART - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXFRAMEEND - Write '1' to enable interrupt for event TXFRAMEEND - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXFRAMESTART - Write '1' to enable interrupt for event RXFRAMESTART - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXFRAMEEND - Write '1' to enable interrupt for event RXFRAMEEND - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Write '1' to enable interrupt for event ERROR - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RXERROR - Write '1' to enable interrupt for event RXERROR - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDRX - Write '1' to enable interrupt for event ENDRX - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDTX - Write '1' to enable interrupt for event ENDTX - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - AUTOCOLRESSTARTED - Write '1' to enable interrupt for event AUTOCOLRESSTARTED - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COLLISION - Write '1' to enable interrupt for event COLLISION - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SELECTED - Write '1' to enable interrupt for event SELECTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STARTED - Write '1' to enable interrupt for event STARTED - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to disable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - FIELDDETECTED - Write '1' to disable interrupt for event FIELDDETECTED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - FIELDLOST - Write '1' to disable interrupt for event FIELDLOST - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXFRAMESTART - Write '1' to disable interrupt for event TXFRAMESTART - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXFRAMEEND - Write '1' to disable interrupt for event TXFRAMEEND - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXFRAMESTART - Write '1' to disable interrupt for event RXFRAMESTART - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXFRAMEEND - Write '1' to disable interrupt for event RXFRAMEEND - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Write '1' to disable interrupt for event ERROR - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RXERROR - Write '1' to disable interrupt for event RXERROR - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDRX - Write '1' to disable interrupt for event ENDRX - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDTX - Write '1' to disable interrupt for event ENDTX - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - AUTOCOLRESSTARTED - Write '1' to disable interrupt for event AUTOCOLRESSTARTED - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COLLISION - Write '1' to disable interrupt for event COLLISION - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SELECTED - Write '1' to disable interrupt for event SELECTED - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STARTED - Write '1' to disable interrupt for event STARTED - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ERRORSTATUS - NFC Error Status register - 0x404 - read-write - oneToClear - - - FRAMEDELAYTIMEOUT - No STARTTX task triggered before expiration of the time set in FRAMEDELAYMAX - 0 - 0 - - - - - FRAMESTATUS - Unspecified - NFCT_FRAMESTATUS - read-write - 0x40C - - RX - Result of last incoming frame - 0x000 - read-write - oneToClear - - - CRCERROR - No valid end of frame (EoF) detected - 0 - 0 - - - CRCCorrect - Valid CRC detected - 0 - - - CRCError - CRC received does not match local check - 1 - - - - - PARITYSTATUS - Parity status of received frame - 2 - 2 - - - ParityOK - Frame received with parity OK - 0 - - - ParityError - Frame received with parity error - 1 - - - - - OVERRUN - Overrun detected - 3 - 3 - - - NoOverrun - No overrun detected - 0 - - - Overrun - Overrun error - 1 - - - - - - - - NFCTAGSTATE - NfcTag state register - 0x410 - read-only - - - NFCTAGSTATE - NfcTag state - 0 - 2 - - - Disabled - Disabled or sense - 0 - - - RampUp - RampUp - 2 - - - Idle - Idle - 3 - - - Receive - Receive - 4 - - - FrameDelay - FrameDelay - 5 - - - Transmit - Transmit - 6 - - - - - - - SLEEPSTATE - Sleep state during automatic collision resolution - 0x420 - read-only - 0x00000000 - - - SLEEPSTATE - Reflects the sleep state during automatic collision resolution. Set to IDLE - by a GOIDLE task. Set to SLEEP_A when a valid SLEEP_REQ frame is received or by a - GOSLEEP task. - 0 - 0 - - - Idle - State is IDLE. - 0 - - - SleepA - State is SLEEP_A. - 1 - - - - - - - FIELDPRESENT - Indicates the presence or not of a valid field - 0x43C - read-only - - - FIELDPRESENT - Indicates if a valid field is present. Available only in the activated state. - 0 - 0 - - - NoField - No valid field detected - 0 - - - FieldPresent - Valid field detected - 1 - - - - - LOCKDETECT - Indicates if the low level has locked to the field - 1 - 1 - - - NotLocked - Not locked to field - 0 - - - Locked - Locked to field - 1 - - - - - - - FRAMEDELAYMIN - Minimum frame delay - 0x504 - read-write - 0x00000480 - - - FRAMEDELAYMIN - Minimum frame delay in number of 13.56 MHz clocks - 0 - 15 - - - - - FRAMEDELAYMAX - Maximum frame delay - 0x508 - read-write - 0x00001000 - - - FRAMEDELAYMAX - Maximum frame delay in number of 13.56 MHz clocks - 0 - 19 - - - - - FRAMEDELAYMODE - Configuration register for the Frame Delay Timer - 0x50C - read-write - 0x00000001 - - - FRAMEDELAYMODE - Configuration register for the Frame Delay Timer - 0 - 1 - - - FreeRun - Transmission is independent of frame timer and will start when the STARTTX task is triggered. No timeout. - 0 - - - Window - Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX - 1 - - - ExactVal - Frame is transmitted exactly at FRAMEDELAYMAX - 2 - - - WindowGrid - Frame is transmitted on a bit grid between FRAMEDELAYMIN and FRAMEDELAYMAX - 3 - - - - - - - PACKETPTR - Packet pointer for TXD and RXD data storage in Data RAM - 0x510 - read-write - 0x00000000 - - - PTR - Packet pointer for TXD and RXD data storage in Data RAM. This address is a byte-aligned RAM address. - 0 - 31 - - - - - MAXLEN - Size of the RAM buffer allocated to TXD and RXD data storage each - 0x514 - read-write - - - MAXLEN - Size of the RAM buffer allocated to TXD and RXD data storage each - 0 - 8 - - - - - TXD - Unspecified - NFCT_TXD - read-write - 0x518 - - FRAMECONFIG - Configuration of outgoing frames - 0x000 - read-write - 0x00000017 - - - PARITY - Indicates if parity is added to the frame - 0 - 0 - - - NoParity - Parity is not added to TX frames - 0 - - - Parity - Parity is added to TX frames - 1 - - - - - DISCARDMODE - Discarding unused bits at start or end of a frame - 1 - 1 - - - DiscardEnd - Unused bits are discarded at end of frame (EoF) - 0 - - - DiscardStart - Unused bits are discarded at start of frame (SoF) - 1 - - - - - SOF - Adding SoF or not in TX frames - 2 - 2 - - - NoSoF - SoF symbol not added - 0 - - - SoF - SoF symbol added - 1 - - - - - CRCMODETX - CRC mode for outgoing frames - 4 - 4 - - - NoCRCTX - CRC is not added to the frame - 0 - - - CRC16TX - 16 bit CRC added to the frame based on all the data read from RAM that is used in the frame - 1 - - - - - - - AMOUNT - Size of outgoing frame - 0x004 - read-write - - - TXDATABITS - Number of bits in the last or first byte read from RAM that shall be included in the frame (excluding parity bit). - 0 - 2 - - - TXDATABYTES - Number of complete bytes that shall be included in the frame, excluding CRC, parity and framing - 3 - 11 - - - - - - RXD - Unspecified - NFCT_RXD - read-write - 0x520 - - FRAMECONFIG - Configuration of incoming frames - 0x000 - read-write - 0x00000015 - - - PARITY - Indicates if parity expected in RX frame - 0 - 0 - - - NoParity - Parity is not expected in RX frames - 0 - - - Parity - Parity is expected in RX frames - 1 - - - - - SOF - SoF expected or not in RX frames - 2 - 2 - - - NoSoF - SoF symbol is not expected in RX frames - 0 - - - SoF - SoF symbol is expected in RX frames - 1 - - - - - CRCMODERX - CRC mode for incoming frames - 4 - 4 - - - NoCRCRX - CRC is not expected in RX frames - 0 - - - CRC16RX - Last 16 bits in RX frame is CRC, CRC is checked and CRCSTATUS updated - 1 - - - - - - - AMOUNT - Size of last incoming frame - 0x004 - read-only - - - RXDATABITS - Number of bits in the last byte in the frame, if less than 8 (including CRC, but excluding parity and SoF/EoF framing). - 0 - 2 - - - RXDATABYTES - Number of complete bytes received in the frame (including CRC, but excluding parity and SoF/EoF framing) - 3 - 11 - - - - - - NFCID1_LAST - Last NFCID1 part (4, 7 or 10 bytes ID) - 0x590 - read-write - 0x00006363 - - - NFCID1_Z - NFCID1 byte Z (very last byte sent) - 0 - 7 - - - NFCID1_Y - NFCID1 byte Y - 8 - 15 - - - NFCID1_X - NFCID1 byte X - 16 - 23 - - - NFCID1_W - NFCID1 byte W - 24 - 31 - - - - - NFCID1_2ND_LAST - Second last NFCID1 part (7 or 10 bytes ID) - 0x594 - read-write - - - NFCID1_V - NFCID1 byte V - 0 - 7 - - - NFCID1_U - NFCID1 byte U - 8 - 15 - - - NFCID1_T - NFCID1 byte T - 16 - 23 - - - - - NFCID1_3RD_LAST - Third last NFCID1 part (10 bytes ID) - 0x598 - read-write - - - NFCID1_S - NFCID1 byte S - 0 - 7 - - - NFCID1_R - NFCID1 byte R - 8 - 15 - - - NFCID1_Q - NFCID1 byte Q - 16 - 23 - - - - - AUTOCOLRESCONFIG - Controls the auto collision resolution function. This setting must be done before the NFCT peripheral is enabled. - 0x59C - read-write - 0x00000002 - - - MODE - Enables/disables auto collision resolution - 0 - 0 - - - Enabled - Auto collision resolution enabled - 0 - - - Disabled - Auto collision resolution disabled - 1 - - - - - - - SENSRES - NFC-A SENS_RES auto-response settings - 0x5A0 - read-write - 0x00000001 - - - BITFRAMESDD - Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification - 0 - 4 - - - SDD00000 - SDD pattern 00000 - 0 - - - SDD00001 - SDD pattern 00001 - 1 - - - SDD00010 - SDD pattern 00010 - 2 - - - SDD00100 - SDD pattern 00100 - 4 - - - SDD01000 - SDD pattern 01000 - 8 - - - SDD10000 - SDD pattern 10000 - 16 - - - - - RFU5 - Reserved for future use. Shall be 0. - 5 - 5 - - - NFCIDSIZE - NFCID1 size. This value is used by the auto collision resolution engine. - 6 - 7 - - - NFCID1Single - NFCID1 size: single (4 bytes) - 0 - - - NFCID1Double - NFCID1 size: double (7 bytes) - 1 - - - NFCID1Triple - NFCID1 size: triple (10 bytes) - 2 - - - - - PLATFCONFIG - Tag platform configuration as defined by the b4:b1 of byte 2 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification - 8 - 11 - - - RFU74 - Reserved for future use. Shall be 0. - 12 - 15 - - - - - SELRES - NFC-A SEL_RES auto-response settings - 0x5A4 - read-write - - - RFU10 - Reserved for future use. Shall be 0. - 0 - 1 - - - CASCADE - Cascade as defined by the b3 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification (controlled by hardware, shall be 0) - 2 - 2 - - - RFU43 - Reserved for future use. Shall be 0. - 3 - 4 - - - PROTOCOL - Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification - 5 - 6 - - - RFU7 - Reserved for future use. Shall be 0. - 7 - 7 - - - - - - - GPIOTE - GPIO Tasks and Events - 0x40006000 - - 0 - 0x1000 - registers - - - GPIOTE - 6 - - GPIOTE - 0x20 - - - 0x8 - 0x4 - TASKS_OUT[%s] - Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY. - 0x000 - write-only - - - TASKS_OUT - Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - 0x8 - 0x4 - TASKS_SET[%s] - Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high. - 0x030 - write-only - - - TASKS_SET - Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - 0x8 - 0x4 - TASKS_CLR[%s] - Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low. - 0x060 - write-only - - - TASKS_CLR - Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - 0x8 - 0x4 - EVENTS_IN[%s] - Description collection: Event generated from pin specified in CONFIG[n].PSEL - 0x100 - read-write - - - EVENTS_IN - Event generated from pin specified in CONFIG[n].PSEL - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_PORT - Event generated from multiple input GPIO pins with SENSE mechanism enabled - 0x17C - read-write - - - EVENTS_PORT - Event generated from multiple input GPIO pins with SENSE mechanism enabled - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - IN0 - Write '1' to enable interrupt for event IN[0] - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN1 - Write '1' to enable interrupt for event IN[1] - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN2 - Write '1' to enable interrupt for event IN[2] - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN3 - Write '1' to enable interrupt for event IN[3] - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN4 - Write '1' to enable interrupt for event IN[4] - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN5 - Write '1' to enable interrupt for event IN[5] - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN6 - Write '1' to enable interrupt for event IN[6] - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - IN7 - Write '1' to enable interrupt for event IN[7] - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PORT - Write '1' to enable interrupt for event PORT - 31 - 31 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - IN0 - Write '1' to disable interrupt for event IN[0] - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN1 - Write '1' to disable interrupt for event IN[1] - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN2 - Write '1' to disable interrupt for event IN[2] - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN3 - Write '1' to disable interrupt for event IN[3] - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN4 - Write '1' to disable interrupt for event IN[4] - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN5 - Write '1' to disable interrupt for event IN[5] - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN6 - Write '1' to disable interrupt for event IN[6] - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - IN7 - Write '1' to disable interrupt for event IN[7] - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PORT - Write '1' to disable interrupt for event PORT - 31 - 31 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - 0x8 - 0x4 - CONFIG[%s] - Description collection: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event - 0x510 - read-write - - - MODE - Mode - 0 - 1 - - - Disabled - Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module. - 0 - - - Event - Event mode - 1 - - - Task - Task mode - 3 - - - - - PSEL - GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event - 8 - 12 - - - PORT - Port number - 13 - 13 - - - POLARITY - When In task mode: Operation to be performed on output when OUT[n] task is triggered. When In event mode: Operation on input that shall trigger IN[n] event. - 16 - 17 - - - None - Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity. - 0 - - - LoToHi - Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin. - 1 - - - HiToLo - Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin. - 2 - - - Toggle - Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin. - 3 - - - - - OUTINIT - When in task mode: Initial value of the output when the GPIOTE channel is configured. When in event mode: No effect. - 20 - 20 - - - Low - Task mode: Initial value of pin before task triggering is low - 0 - - - High - Task mode: Initial value of pin before task triggering is high - 1 - - - - - - - - - SAADC - Successive approximation register (SAR) analog-to-digital converter - 0x40007000 - - 0 - 0x1000 - registers - - - SAADC - 7 - - SAADC - 0x20 - - - TASKS_START - Starts the SAADC and prepares the result buffer in RAM - 0x000 - write-only - - - TASKS_START - Starts the SAADC and prepares the result buffer in RAM - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SAMPLE - Takes one SAADC sample - 0x004 - write-only - - - TASKS_SAMPLE - Takes one SAADC sample - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stops the SAADC and terminates all on-going conversions - 0x008 - write-only - - - TASKS_STOP - Stops the SAADC and terminates all on-going conversions - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CALIBRATEOFFSET - Starts offset auto-calibration - 0x00C - write-only - - - TASKS_CALIBRATEOFFSET - Starts offset auto-calibration - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_STARTED - The SAADC has started - 0x100 - read-write - - - EVENTS_STARTED - The SAADC has started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_END - The SAADC has filled up the result buffer - 0x104 - read-write - - - EVENTS_END - The SAADC has filled up the result buffer - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_DONE - A conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM. - 0x108 - read-write - - - EVENTS_DONE - A conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RESULTDONE - Result ready for transfer to RAM - 0x10C - read-write - - - EVENTS_RESULTDONE - Result ready for transfer to RAM - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CALIBRATEDONE - Calibration is complete - 0x110 - read-write - - - EVENTS_CALIBRATEDONE - Calibration is complete - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_STOPPED - The SAADC has stopped - 0x114 - read-write - - - EVENTS_STOPPED - The SAADC has stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - 8 - 0x008 - EVENTS_CH[%s] - Peripheral events. - SAADC_EVENTS_CH - read-write - 0x118 - - LIMITH - Description cluster: Last result is equal or above CH[n].LIMIT.HIGH - 0x000 - read-write - - - LIMITH - Last result is equal or above CH[n].LIMIT.HIGH - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - LIMITL - Description cluster: Last result is equal or below CH[n].LIMIT.LOW - 0x004 - read-write - - - LIMITL - Last result is equal or below CH[n].LIMIT.LOW - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STARTED - Enable or disable interrupt for event STARTED - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - END - Enable or disable interrupt for event END - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - DONE - Enable or disable interrupt for event DONE - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - RESULTDONE - Enable or disable interrupt for event RESULTDONE - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CALIBRATEDONE - Enable or disable interrupt for event CALIBRATEDONE - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STOPPED - Enable or disable interrupt for event STOPPED - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH0LIMITH - Enable or disable interrupt for event CH0LIMITH - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH0LIMITL - Enable or disable interrupt for event CH0LIMITL - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH1LIMITH - Enable or disable interrupt for event CH1LIMITH - 8 - 8 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH1LIMITL - Enable or disable interrupt for event CH1LIMITL - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH2LIMITH - Enable or disable interrupt for event CH2LIMITH - 10 - 10 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH2LIMITL - Enable or disable interrupt for event CH2LIMITL - 11 - 11 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH3LIMITH - Enable or disable interrupt for event CH3LIMITH - 12 - 12 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH3LIMITL - Enable or disable interrupt for event CH3LIMITL - 13 - 13 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH4LIMITH - Enable or disable interrupt for event CH4LIMITH - 14 - 14 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH4LIMITL - Enable or disable interrupt for event CH4LIMITL - 15 - 15 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH5LIMITH - Enable or disable interrupt for event CH5LIMITH - 16 - 16 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH5LIMITL - Enable or disable interrupt for event CH5LIMITL - 17 - 17 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH6LIMITH - Enable or disable interrupt for event CH6LIMITH - 18 - 18 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH6LIMITL - Enable or disable interrupt for event CH6LIMITL - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH7LIMITH - Enable or disable interrupt for event CH7LIMITH - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CH7LIMITL - Enable or disable interrupt for event CH7LIMITL - 21 - 21 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STARTED - Write '1' to enable interrupt for event STARTED - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - END - Write '1' to enable interrupt for event END - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DONE - Write '1' to enable interrupt for event DONE - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RESULTDONE - Write '1' to enable interrupt for event RESULTDONE - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CALIBRATEDONE - Write '1' to enable interrupt for event CALIBRATEDONE - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH0LIMITH - Write '1' to enable interrupt for event CH0LIMITH - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH0LIMITL - Write '1' to enable interrupt for event CH0LIMITL - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH1LIMITH - Write '1' to enable interrupt for event CH1LIMITH - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH1LIMITL - Write '1' to enable interrupt for event CH1LIMITL - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH2LIMITH - Write '1' to enable interrupt for event CH2LIMITH - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH2LIMITL - Write '1' to enable interrupt for event CH2LIMITL - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH3LIMITH - Write '1' to enable interrupt for event CH3LIMITH - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH3LIMITL - Write '1' to enable interrupt for event CH3LIMITL - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH4LIMITH - Write '1' to enable interrupt for event CH4LIMITH - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH4LIMITL - Write '1' to enable interrupt for event CH4LIMITL - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH5LIMITH - Write '1' to enable interrupt for event CH5LIMITH - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH5LIMITL - Write '1' to enable interrupt for event CH5LIMITL - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH6LIMITH - Write '1' to enable interrupt for event CH6LIMITH - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH6LIMITL - Write '1' to enable interrupt for event CH6LIMITL - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH7LIMITH - Write '1' to enable interrupt for event CH7LIMITH - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CH7LIMITL - Write '1' to enable interrupt for event CH7LIMITL - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STARTED - Write '1' to disable interrupt for event STARTED - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - END - Write '1' to disable interrupt for event END - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DONE - Write '1' to disable interrupt for event DONE - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RESULTDONE - Write '1' to disable interrupt for event RESULTDONE - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CALIBRATEDONE - Write '1' to disable interrupt for event CALIBRATEDONE - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH0LIMITH - Write '1' to disable interrupt for event CH0LIMITH - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH0LIMITL - Write '1' to disable interrupt for event CH0LIMITL - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH1LIMITH - Write '1' to disable interrupt for event CH1LIMITH - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH1LIMITL - Write '1' to disable interrupt for event CH1LIMITL - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH2LIMITH - Write '1' to disable interrupt for event CH2LIMITH - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH2LIMITL - Write '1' to disable interrupt for event CH2LIMITL - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH3LIMITH - Write '1' to disable interrupt for event CH3LIMITH - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH3LIMITL - Write '1' to disable interrupt for event CH3LIMITL - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH4LIMITH - Write '1' to disable interrupt for event CH4LIMITH - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH4LIMITL - Write '1' to disable interrupt for event CH4LIMITL - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH5LIMITH - Write '1' to disable interrupt for event CH5LIMITH - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH5LIMITL - Write '1' to disable interrupt for event CH5LIMITL - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH6LIMITH - Write '1' to disable interrupt for event CH6LIMITH - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH6LIMITL - Write '1' to disable interrupt for event CH6LIMITL - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH7LIMITH - Write '1' to disable interrupt for event CH7LIMITH - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CH7LIMITL - Write '1' to disable interrupt for event CH7LIMITL - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - STATUS - Status - 0x400 - read-only - - - STATUS - Status - 0 - 0 - - - Ready - SAADC is ready. No on-going conversions. - 0 - - - Busy - SAADC is busy. Conversion in progress. - 1 - - - - - - - ENABLE - Enable or disable SAADC - 0x500 - read-write - - - ENABLE - Enable or disable SAADC - 0 - 0 - - - Disabled - Disable SAADC - 0 - - - Enabled - Enable SAADC - 1 - - - - - - - 8 - 0x010 - CH[%s] - Unspecified - SAADC_CH - read-write - 0x510 - - PSELP - Description cluster: Input positive pin selection for CH[n] - 0x000 - read-write - 0x00000000 - - - PSELP - Analog positive input channel - 0 - 4 - - - NC - Not connected - 0 - - - AnalogInput0 - AIN0 - 1 - - - AnalogInput1 - AIN1 - 2 - - - AnalogInput2 - AIN2 - 3 - - - AnalogInput3 - AIN3 - 4 - - - AnalogInput4 - AIN4 - 5 - - - AnalogInput5 - AIN5 - 6 - - - AnalogInput6 - AIN6 - 7 - - - AnalogInput7 - AIN7 - 8 - - - VDD - VDD - 9 - - - VDDHDIV5 - VDDH/5 - 0x0D - - - - - - - PSELN - Description cluster: Input negative pin selection for CH[n] - 0x004 - read-write - 0x00000000 - - - PSELN - Analog negative input, enables differential channel - 0 - 4 - - - NC - Not connected - 0 - - - AnalogInput0 - AIN0 - 1 - - - AnalogInput1 - AIN1 - 2 - - - AnalogInput2 - AIN2 - 3 - - - AnalogInput3 - AIN3 - 4 - - - AnalogInput4 - AIN4 - 5 - - - AnalogInput5 - AIN5 - 6 - - - AnalogInput6 - AIN6 - 7 - - - AnalogInput7 - AIN7 - 8 - - - VDD - VDD - 9 - - - VDDHDIV5 - VDDH/5 - 0x0D - - - - - - - CONFIG - Description cluster: Input configuration for CH[n] - 0x008 - read-write - 0x00020000 - - - RESP - Positive channel resistor control - 0 - 1 - - - Bypass - Bypass resistor ladder - 0 - - - Pulldown - Pull-down to GND - 1 - - - Pullup - Pull-up to VDD - 2 - - - VDD1_2 - Set input at VDD/2 - 3 - - - - - RESN - Negative channel resistor control - 4 - 5 - - - Bypass - Bypass resistor ladder - 0 - - - Pulldown - Pull-down to GND - 1 - - - Pullup - Pull-up to VDD - 2 - - - VDD1_2 - Set input at VDD/2 - 3 - - - - - GAIN - Gain control - 8 - 10 - - - Gain1_6 - 1/6 - 0 - - - Gain1_5 - 1/5 - 1 - - - Gain1_4 - 1/4 - 2 - - - Gain1_3 - 1/3 - 3 - - - Gain1_2 - 1/2 - 4 - - - Gain1 - 1 - 5 - - - Gain2 - 2 - 6 - - - Gain4 - 4 - 7 - - - - - REFSEL - Reference control - 12 - 12 - - - Internal - Internal reference (0.6 V) - 0 - - - VDD1_4 - VDD/4 as reference - 1 - - - - - TACQ - Acquisition time, the time the SAADC uses to sample the input voltage - 16 - 18 - - - 3us - 3 us - 0 - - - 5us - 5 us - 1 - - - 10us - 10 us - 2 - - - 15us - 15 us - 3 - - - 20us - 20 us - 4 - - - 40us - 40 us - 5 - - - - - MODE - Enable differential mode - 20 - 20 - - - SE - Single-ended, PSELN will be ignored, negative input to SAADC shorted to GND - 0 - - - Diff - Differential - 1 - - - - - BURST - Enable burst mode - 24 - 24 - - - Disabled - Burst mode is disabled (normal operation) - 0 - - - Enabled - Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM. - 1 - - - - - - - LIMIT - Description cluster: High/low limits for event monitoring of a channel - 0x00C - read-write - 0x7FFF8000 - - - LOW - Low level limit - 0 - 15 - - - HIGH - High level limit - 16 - 31 - - - - - - RESOLUTION - Resolution configuration - 0x5F0 - read-write - 0x00000001 - - - VAL - Set the resolution - 0 - 2 - - - 8bit - 8 bits - 0 - - - 10bit - 10 bits - 1 - - - 12bit - 12 bits - 2 - - - 14bit - 14 bits - 3 - - - - - - - OVERSAMPLE - Oversampling configuration. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used. - 0x5F4 - read-write - - - OVERSAMPLE - Oversample control - 0 - 3 - - - Bypass - Bypass oversampling - 0 - - - Over2x - Oversample 2x - 1 - - - Over4x - Oversample 4x - 2 - - - Over8x - Oversample 8x - 3 - - - Over16x - Oversample 16x - 4 - - - Over32x - Oversample 32x - 5 - - - Over64x - Oversample 64x - 6 - - - Over128x - Oversample 128x - 7 - - - Over256x - Oversample 256x - 8 - - - - - - - SAMPLERATE - Controls normal or continuous sample rate - 0x5F8 - read-write - - - CC - Capture and compare value. Sample rate is 16 MHz/CC - 0 - 10 - - - MODE - Select mode for sample rate control - 12 - 12 - - - Task - Rate is controlled from SAMPLE task - 0 - - - Timers - Rate is controlled from local timer (use CC to control the rate) - 1 - - - - - - - RESULT - RESULT EasyDMA channel - SAADC_RESULT - read-write - 0x62C - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer - 0 - 31 - - - - - MAXCNT - Maximum number of 16-bit samples to be written to output RAM buffer - 0x004 - read-write - - - MAXCNT - Maximum number of 16-bit samples to be written to output RAM buffer - 0 - 14 - - - - - AMOUNT - Number of 16-bit samples written to output RAM buffer since the previous START task - 0x008 - read-only - - - AMOUNT - Number of 16-bit samples written to output RAM buffer since the previous START task. This register can be read after an END or STOPPED event. - 0 - 14 - - - - - - - - TIMER0 - Timer/Counter 0 - 0x40008000 - TIMER - - 0 - 0x1000 - registers - - - TIMER0 - 8 - - TIMER - 0x20 - - - TASKS_START - Start Timer - 0x000 - write-only - - - TASKS_START - Start Timer - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop Timer - 0x004 - write-only - - - TASKS_STOP - Stop Timer - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_COUNT - Increment Timer (Counter mode only) - 0x008 - write-only - - - TASKS_COUNT - Increment Timer (Counter mode only) - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CLEAR - Clear time - 0x00C - write-only - - - TASKS_CLEAR - Clear time - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SHUTDOWN - Deprecated register - Shut down timer - 0x010 - write-only - - - TASKS_SHUTDOWN - Deprecated field - Shut down timer - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - 0x6 - 0x4 - TASKS_CAPTURE[%s] - Description collection: Capture Timer value to CC[n] register - 0x040 - write-only - - - TASKS_CAPTURE - Capture Timer value to CC[n] register - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - 0x6 - 0x4 - EVENTS_COMPARE[%s] - Description collection: Compare event on CC[n] match - 0x140 - read-write - - - EVENTS_COMPARE - Compare event on CC[n] match - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - COMPARE0_CLEAR - Shortcut between event COMPARE[0] and task CLEAR - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE1_CLEAR - Shortcut between event COMPARE[1] and task CLEAR - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE2_CLEAR - Shortcut between event COMPARE[2] and task CLEAR - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE3_CLEAR - Shortcut between event COMPARE[3] and task CLEAR - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE4_CLEAR - Shortcut between event COMPARE[4] and task CLEAR - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE5_CLEAR - Shortcut between event COMPARE[5] and task CLEAR - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE0_STOP - Shortcut between event COMPARE[0] and task STOP - 8 - 8 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE1_STOP - Shortcut between event COMPARE[1] and task STOP - 9 - 9 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE2_STOP - Shortcut between event COMPARE[2] and task STOP - 10 - 10 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE3_STOP - Shortcut between event COMPARE[3] and task STOP - 11 - 11 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE4_STOP - Shortcut between event COMPARE[4] and task STOP - 12 - 12 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - COMPARE5_STOP - Shortcut between event COMPARE[5] and task STOP - 13 - 13 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - COMPARE0 - Write '1' to enable interrupt for event COMPARE[0] - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE1 - Write '1' to enable interrupt for event COMPARE[1] - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE2 - Write '1' to enable interrupt for event COMPARE[2] - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE3 - Write '1' to enable interrupt for event COMPARE[3] - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE4 - Write '1' to enable interrupt for event COMPARE[4] - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE5 - Write '1' to enable interrupt for event COMPARE[5] - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - COMPARE0 - Write '1' to disable interrupt for event COMPARE[0] - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE1 - Write '1' to disable interrupt for event COMPARE[1] - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE2 - Write '1' to disable interrupt for event COMPARE[2] - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE3 - Write '1' to disable interrupt for event COMPARE[3] - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE4 - Write '1' to disable interrupt for event COMPARE[4] - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE5 - Write '1' to disable interrupt for event COMPARE[5] - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - MODE - Timer mode selection - 0x504 - read-write - - - MODE - Timer mode - 0 - 1 - - - Timer - Select Timer mode - 0 - - - Counter - Deprecated enumerator - Select Counter mode - 1 - - - LowPowerCounter - Select Low Power Counter mode - 2 - - - - - - - BITMODE - Configure the number of bits used by the TIMER - 0x508 - read-write - - - BITMODE - Timer bit width - 0 - 1 - - - 16Bit - 16 bit timer bit width - 0 - - - 08Bit - 8 bit timer bit width - 1 - - - 24Bit - 24 bit timer bit width - 2 - - - 32Bit - 32 bit timer bit width - 3 - - - - - - - PRESCALER - Timer prescaler register - 0x510 - read-write - 0x00000004 - - - PRESCALER - Prescaler value - 0 - 3 - - - - - 0x6 - 0x4 - CC[%s] - Description collection: Capture/Compare register n - 0x540 - read-write - - - CC - Capture/Compare value - 0 - 31 - - - - - - - TIMER1 - Timer/Counter 1 - 0x40009000 - - TIMER1 - 9 - - - - TIMER2 - Timer/Counter 2 - 0x4000A000 - - TIMER2 - 10 - - - - RTC0 - Real time counter 0 - 0x4000B000 - RTC - - 0 - 0x1000 - registers - - - RTC0 - 11 - - RTC - 0x20 - - - TASKS_START - Start RTC COUNTER - 0x000 - write-only - - - TASKS_START - Start RTC COUNTER - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop RTC COUNTER - 0x004 - write-only - - - TASKS_STOP - Stop RTC COUNTER - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CLEAR - Clear RTC COUNTER - 0x008 - write-only - - - TASKS_CLEAR - Clear RTC COUNTER - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_TRIGOVRFLW - Set COUNTER to 0xFFFFF0 - 0x00C - write-only - - - TASKS_TRIGOVRFLW - Set COUNTER to 0xFFFFF0 - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_TICK - Event on COUNTER increment - 0x100 - read-write - - - EVENTS_TICK - Event on COUNTER increment - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_OVRFLW - Event on COUNTER overflow - 0x104 - read-write - - - EVENTS_OVRFLW - Event on COUNTER overflow - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - 0x4 - 0x4 - EVENTS_COMPARE[%s] - Description collection: Compare event on CC[n] match - 0x140 - read-write - - - EVENTS_COMPARE - Compare event on CC[n] match - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - TICK - Write '1' to enable interrupt for event TICK - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - OVRFLW - Write '1' to enable interrupt for event OVRFLW - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE0 - Write '1' to enable interrupt for event COMPARE[0] - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE1 - Write '1' to enable interrupt for event COMPARE[1] - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE2 - Write '1' to enable interrupt for event COMPARE[2] - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE3 - Write '1' to enable interrupt for event COMPARE[3] - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - TICK - Write '1' to disable interrupt for event TICK - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - OVRFLW - Write '1' to disable interrupt for event OVRFLW - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE0 - Write '1' to disable interrupt for event COMPARE[0] - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE1 - Write '1' to disable interrupt for event COMPARE[1] - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE2 - Write '1' to disable interrupt for event COMPARE[2] - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE3 - Write '1' to disable interrupt for event COMPARE[3] - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - EVTEN - Enable or disable event routing - 0x340 - read-write - - - TICK - Enable or disable event routing for event TICK - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Disable - 1 - - - - - OVRFLW - Enable or disable event routing for event OVRFLW - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Disable - 1 - - - - - COMPARE0 - Enable or disable event routing for event COMPARE[0] - 16 - 16 - - - Disabled - Disable - 0 - - - Enabled - Disable - 1 - - - - - COMPARE1 - Enable or disable event routing for event COMPARE[1] - 17 - 17 - - - Disabled - Disable - 0 - - - Enabled - Disable - 1 - - - - - COMPARE2 - Enable or disable event routing for event COMPARE[2] - 18 - 18 - - - Disabled - Disable - 0 - - - Enabled - Disable - 1 - - - - - COMPARE3 - Enable or disable event routing for event COMPARE[3] - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Disable - 1 - - - - - - - EVTENSET - Enable event routing - 0x344 - read-write - - - TICK - Write '1' to enable event routing for event TICK - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - OVRFLW - Write '1' to enable event routing for event OVRFLW - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE0 - Write '1' to enable event routing for event COMPARE[0] - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE1 - Write '1' to enable event routing for event COMPARE[1] - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE2 - Write '1' to enable event routing for event COMPARE[2] - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - COMPARE3 - Write '1' to enable event routing for event COMPARE[3] - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - EVTENCLR - Disable event routing - 0x348 - read-write - - - TICK - Write '1' to disable event routing for event TICK - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - OVRFLW - Write '1' to disable event routing for event OVRFLW - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE0 - Write '1' to disable event routing for event COMPARE[0] - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE1 - Write '1' to disable event routing for event COMPARE[1] - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE2 - Write '1' to disable event routing for event COMPARE[2] - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - COMPARE3 - Write '1' to disable event routing for event COMPARE[3] - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - COUNTER - Current COUNTER value - 0x504 - read-only - - - COUNTER - Counter value - 0 - 23 - - - - - PRESCALER - 12 bit prescaler for COUNTER frequency (32768/(PRESCALER+1)).Must be written when RTC is stopped - 0x508 - read-write - - - PRESCALER - Prescaler value - 0 - 11 - - - - - 0x4 - 0x4 - CC[%s] - Description collection: Compare register n - 0x540 - read-write - - - COMPARE - Compare value - 0 - 23 - - - - - - - TEMP - Temperature Sensor - 0x4000C000 - - 0 - 0x1000 - registers - - - TEMP - 12 - - TEMP - 0x20 - - - TASKS_START - Start temperature measurement - 0x000 - write-only - - - TASKS_START - Start temperature measurement - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop temperature measurement - 0x004 - write-only - - - TASKS_STOP - Stop temperature measurement - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_DATARDY - Temperature measurement complete, data ready - 0x100 - read-write - - - EVENTS_DATARDY - Temperature measurement complete, data ready - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - DATARDY - Write '1' to enable interrupt for event DATARDY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - DATARDY - Write '1' to disable interrupt for event DATARDY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - TEMP - Temperature in degC (0.25deg steps) - 0x508 - read-only - int32_t - - - TEMP - Temperature in degC (0.25deg steps) - 0 - 31 - - - - - A0 - Slope of 1st piece wise linear function - 0x520 - read-write - 0x00000326 - - - A0 - Slope of 1st piece wise linear function - 0 - 11 - - - - - A1 - Slope of 2nd piece wise linear function - 0x524 - read-write - 0x00000348 - - - A1 - Slope of 2nd piece wise linear function - 0 - 11 - - - - - A2 - Slope of 3rd piece wise linear function - 0x528 - read-write - 0x000003AA - - - A2 - Slope of 3rd piece wise linear function - 0 - 11 - - - - - A3 - Slope of 4th piece wise linear function - 0x52C - read-write - 0x0000040E - - - A3 - Slope of 4th piece wise linear function - 0 - 11 - - - - - A4 - Slope of 5th piece wise linear function - 0x530 - read-write - 0x000004BD - - - A4 - Slope of 5th piece wise linear function - 0 - 11 - - - - - A5 - Slope of 6th piece wise linear function - 0x534 - read-write - 0x000005A3 - - - A5 - Slope of 6th piece wise linear function - 0 - 11 - - - - - B0 - y-intercept of 1st piece wise linear function - 0x540 - read-write - 0x00003FEF - - - B0 - y-intercept of 1st piece wise linear function - 0 - 13 - - - - - B1 - y-intercept of 2nd piece wise linear function - 0x544 - read-write - 0x00003FBE - - - B1 - y-intercept of 2nd piece wise linear function - 0 - 13 - - - - - B2 - y-intercept of 3rd piece wise linear function - 0x548 - read-write - 0x00003FBE - - - B2 - y-intercept of 3rd piece wise linear function - 0 - 13 - - - - - B3 - y-intercept of 4th piece wise linear function - 0x54C - read-write - 0x00000012 - - - B3 - y-intercept of 4th piece wise linear function - 0 - 13 - - - - - B4 - y-intercept of 5th piece wise linear function - 0x550 - read-write - 0x00000124 - - - B4 - y-intercept of 5th piece wise linear function - 0 - 13 - - - - - B5 - y-intercept of 6th piece wise linear function - 0x554 - read-write - 0x0000027C - - - B5 - y-intercept of 6th piece wise linear function - 0 - 13 - - - - - T0 - End point of 1st piece wise linear function - 0x560 - read-write - 0x000000E2 - - - T0 - End point of 1st piece wise linear function - 0 - 7 - - - - - T1 - End point of 2nd piece wise linear function - 0x564 - read-write - 0x00000000 - - - T1 - End point of 2nd piece wise linear function - 0 - 7 - - - - - T2 - End point of 3rd piece wise linear function - 0x568 - read-write - 0x00000019 - - - T2 - End point of 3rd piece wise linear function - 0 - 7 - - - - - T3 - End point of 4th piece wise linear function - 0x56C - read-write - 0x0000003C - - - T3 - End point of 4th piece wise linear function - 0 - 7 - - - - - T4 - End point of 5th piece wise linear function - 0x570 - read-write - 0x00000050 - - - T4 - End point of 5th piece wise linear function - 0 - 7 - - - - - - - RNG - Random Number Generator - 0x4000D000 - - 0 - 0x1000 - registers - - - RNG - 13 - - RNG - 0x20 - - - TASKS_START - Task starting the random number generator - 0x000 - write-only - - - TASKS_START - Task starting the random number generator - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Task stopping the random number generator - 0x004 - write-only - - - TASKS_STOP - Task stopping the random number generator - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_VALRDY - Event being generated for every new random number written to the VALUE register - 0x100 - read-write - - - EVENTS_VALRDY - Event being generated for every new random number written to the VALUE register - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - VALRDY_STOP - Shortcut between event VALRDY and task STOP - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - VALRDY - Write '1' to enable interrupt for event VALRDY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - VALRDY - Write '1' to disable interrupt for event VALRDY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - CONFIG - Configuration register - 0x504 - read-write - - - DERCEN - Bias correction - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enabled - 1 - - - - - - - VALUE - Output random number - 0x508 - read-only - - - VALUE - Generated random number - 0 - 7 - - - - - - - ECB - AES ECB Mode Encryption - 0x4000E000 - - 0 - 0x1000 - registers - - - ECB - 14 - - ECB - 0x20 - - - TASKS_STARTECB - Start ECB block encrypt - 0x000 - write-only - - - TASKS_STARTECB - Start ECB block encrypt - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOPECB - Abort a possible executing ECB operation - 0x004 - write-only - - - TASKS_STOPECB - Abort a possible executing ECB operation - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_ENDECB - ECB block encrypt complete - 0x100 - read-write - - - EVENTS_ENDECB - ECB block encrypt complete - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ERRORECB - ECB block encrypt aborted because of a STOPECB task or due to an error - 0x104 - read-write - - - EVENTS_ERRORECB - ECB block encrypt aborted because of a STOPECB task or due to an error - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - ENDECB - Write '1' to enable interrupt for event ENDECB - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERRORECB - Write '1' to enable interrupt for event ERRORECB - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - ENDECB - Write '1' to disable interrupt for event ENDECB - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERRORECB - Write '1' to disable interrupt for event ERRORECB - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ECBDATAPTR - ECB block encrypt memory pointers - 0x504 - read-write - - - ECBDATAPTR - Pointer to the ECB data structure (see Table 1 ECB data structure overview) - 0 - 31 - - - - - - - AAR - Accelerated Address Resolver - 0x4000F000 - - 0 - 0x1000 - registers - - - CCM_AAR - 15 - - AAR - 0x20 - - - TASKS_START - Start resolving addresses based on IRKs specified in the IRK data structure - 0x000 - write-only - - - TASKS_START - Start resolving addresses based on IRKs specified in the IRK data structure - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop resolving addresses - 0x008 - write-only - - - TASKS_STOP - Stop resolving addresses - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_END - Address resolution procedure complete - 0x100 - read-write - - - EVENTS_END - Address resolution procedure complete - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_RESOLVED - Address resolved - 0x104 - read-write - - - EVENTS_RESOLVED - Address resolved - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_NOTRESOLVED - Address not resolved - 0x108 - read-write - - - EVENTS_NOTRESOLVED - Address not resolved - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - END - Write '1' to enable interrupt for event END - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - RESOLVED - Write '1' to enable interrupt for event RESOLVED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - NOTRESOLVED - Write '1' to enable interrupt for event NOTRESOLVED - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - END - Write '1' to disable interrupt for event END - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - RESOLVED - Write '1' to disable interrupt for event RESOLVED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - NOTRESOLVED - Write '1' to disable interrupt for event NOTRESOLVED - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - STATUS - Resolution status - 0x400 - read-only - - - STATUS - The IRK that was used last time an address was resolved - 0 - 3 - - - - - ENABLE - Enable AAR - 0x500 - read-write - - - ENABLE - Enable or disable AAR - 0 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 3 - - - - - - - NIRK - Number of IRKs - 0x504 - read-write - 0x00000001 - - - NIRK - Number of Identity root keys available in the IRK data structure - 0 - 4 - - - - - IRKPTR - Pointer to IRK data structure - 0x508 - read-write - - - IRKPTR - Pointer to the IRK data structure - 0 - 31 - - - - - ADDRPTR - Pointer to the resolvable address - 0x510 - read-write - - - ADDRPTR - Pointer to the resolvable address (6-bytes) - 0 - 31 - - - - - SCRATCHPTR - Pointer to data area used for temporary storage - 0x514 - read-write - - - SCRATCHPTR - Pointer to a scratch data area used for temporary storage during resolution.A space of minimum 3 bytes must be reserved. - 0 - 31 - - - - - - - CCM - AES CCM Mode Encryption - 0x4000F000 - AAR - - 0 - 0x1000 - registers - - - CCM_AAR - 15 - - CCM - 0x20 - - - TASKS_KSGEN - Start generation of key-stream. This operation will stop by itself when completed. - 0x000 - write-only - - - TASKS_KSGEN - Start generation of key-stream. This operation will stop by itself when completed. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_CRYPT - Start encryption/decryption. This operation will stop by itself when completed. - 0x004 - write-only - - - TASKS_CRYPT - Start encryption/decryption. This operation will stop by itself when completed. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop encryption/decryption - 0x008 - write-only - - - TASKS_STOP - Stop encryption/decryption - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RATEOVERRIDE - Override DATARATE setting in MODE register with the contents of the RATEOVERRIDE register for any ongoing encryption/decryption - 0x00C - write-only - - - TASKS_RATEOVERRIDE - Override DATARATE setting in MODE register with the contents of the RATEOVERRIDE register for any ongoing encryption/decryption - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_ENDKSGEN - Key-stream generation complete - 0x100 - read-write - - - EVENTS_ENDKSGEN - Key-stream generation complete - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDCRYPT - Encrypt/decrypt complete - 0x104 - read-write - - - EVENTS_ENDCRYPT - Encrypt/decrypt complete - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ERROR - Deprecated register - CCM error event - 0x108 - read-write - - - EVENTS_ERROR - Deprecated field - CCM error event - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - ENDKSGEN_CRYPT - Shortcut between event ENDKSGEN and task CRYPT - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - ENDKSGEN - Write '1' to enable interrupt for event ENDKSGEN - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDCRYPT - Write '1' to enable interrupt for event ENDCRYPT - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ERROR - Deprecated intsetfield - Write '1' to enable interrupt for event ERROR - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - ENDKSGEN - Write '1' to disable interrupt for event ENDKSGEN - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDCRYPT - Write '1' to disable interrupt for event ENDCRYPT - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ERROR - Deprecated intclrfield - Write '1' to disable interrupt for event ERROR - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - MICSTATUS - MIC check result - 0x400 - read-only - - - MICSTATUS - The result of the MIC check performed during the previous decryption operation - 0 - 0 - - - CheckFailed - MIC check failed - 0 - - - CheckPassed - MIC check passed - 1 - - - - - - - ENABLE - Enable - 0x500 - read-write - - - ENABLE - Enable or disable CCM - 0 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 2 - - - - - - - MODE - Operation mode - 0x504 - read-write - 0x00000001 - - - MODE - The mode of operation to be used. The settings in this register apply whenever either the KSGEN or CRYPT tasks are triggered. - 0 - 0 - - - Encryption - AES CCM packet encryption mode - 0 - - - Decryption - AES CCM packet decryption mode - 1 - - - - - DATARATE - Radio data rate that the CCM shall run synchronous with - 16 - 17 - - - 1Mbit - 1 Mbps - 0 - - - 2Mbit - 2 Mbps - 1 - - - 125Kbps - 125 Kbps - 2 - - - 500Kbps - 500 Kbps - 3 - - - - - LENGTH - Packet length configuration - 24 - 24 - - - Default - Default length. Effective length of LENGTH field in encrypted/decrypted packet is 5 bits. A key-stream for packet payloads up to 27 bytes will be generated. - 0 - - - Extended - Extended length. Effective length of LENGTH field in encrypted/decrypted packet is 8 bits. A key-stream for packet payloads up to MAXPACKETSIZE bytes will be generated. - 1 - - - - - - - CNFPTR - Pointer to data structure holding AES key and NONCE vector - 0x508 - read-write - - - CNFPTR - Pointer to the data structure holding the AES key and the CCM NONCE vector (see Table 1 CCM data structure overview) - 0 - 31 - - - - - INPTR - Input pointer - 0x50C - read-write - - - INPTR - Input pointer - 0 - 31 - - - - - OUTPTR - Output pointer - 0x510 - read-write - - - OUTPTR - Output pointer - 0 - 31 - - - - - SCRATCHPTR - Pointer to data area used for temporary storage - 0x514 - read-write - - - SCRATCHPTR - Pointer to a scratch data area used for temporary storage during key-stream generation, - MIC generation and encryption/decryption. - 0 - 31 - - - - - MAXPACKETSIZE - Length of key-stream generated when MODE.LENGTH = Extended. - 0x518 - read-write - 0x000000FB - - - MAXPACKETSIZE - Length of key-stream generated when MODE.LENGTH = Extended. This value must be greater or equal to the subsequent packet payload to be encrypted/decrypted. - 0 - 7 - - - - - RATEOVERRIDE - Data rate override setting. - 0x51C - read-write - 0x00000000 - - - RATEOVERRIDE - Data rate override setting. - 0 - 1 - - - 1Mbit - 1 Mbps - 0 - - - 2Mbit - 2 Mbps - 1 - - - 125Kbps - 125 Kbps - 2 - - - 500Kbps - 500 Kbps - 3 - - - - - - - - - WDT - Watchdog Timer - 0x40010000 - - 0 - 0x1000 - registers - - - WDT - 16 - - WDT - 0x20 - - - TASKS_START - Start the watchdog - 0x000 - write-only - - - TASKS_START - Start the watchdog - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_TIMEOUT - Watchdog timeout - 0x100 - read-write - - - EVENTS_TIMEOUT - Watchdog timeout - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - TIMEOUT - Write '1' to enable interrupt for event TIMEOUT - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - TIMEOUT - Write '1' to disable interrupt for event TIMEOUT - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - RUNSTATUS - Run status - 0x400 - read-only - - - RUNSTATUS - Indicates whether or not the watchdog is running - 0 - 0 - - - NotRunning - Watchdog not running - 0 - - - Running - Watchdog is running - 1 - - - - - - - REQSTATUS - Request status - 0x404 - read-only - 0x00000001 - - - RR0 - Request status for RR[0] register - 0 - 0 - - - DisabledOrRequested - RR[0] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[0] register is enabled, and are not yet requesting reload - 1 - - - - - RR1 - Request status for RR[1] register - 1 - 1 - - - DisabledOrRequested - RR[1] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[1] register is enabled, and are not yet requesting reload - 1 - - - - - RR2 - Request status for RR[2] register - 2 - 2 - - - DisabledOrRequested - RR[2] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[2] register is enabled, and are not yet requesting reload - 1 - - - - - RR3 - Request status for RR[3] register - 3 - 3 - - - DisabledOrRequested - RR[3] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[3] register is enabled, and are not yet requesting reload - 1 - - - - - RR4 - Request status for RR[4] register - 4 - 4 - - - DisabledOrRequested - RR[4] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[4] register is enabled, and are not yet requesting reload - 1 - - - - - RR5 - Request status for RR[5] register - 5 - 5 - - - DisabledOrRequested - RR[5] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[5] register is enabled, and are not yet requesting reload - 1 - - - - - RR6 - Request status for RR[6] register - 6 - 6 - - - DisabledOrRequested - RR[6] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[6] register is enabled, and are not yet requesting reload - 1 - - - - - RR7 - Request status for RR[7] register - 7 - 7 - - - DisabledOrRequested - RR[7] register is not enabled, or are already requesting reload - 0 - - - EnabledAndUnrequested - RR[7] register is enabled, and are not yet requesting reload - 1 - - - - - - - CRV - Counter reload value - 0x504 - read-write - 0xFFFFFFFF - - - CRV - Counter reload value in number of cycles of the 32.768 kHz clock - 0 - 31 - - - - - RREN - Enable register for reload request registers - 0x508 - read-write - 0x00000001 - - - RR0 - Enable or disable RR[0] register - 0 - 0 - - - Disabled - Disable RR[0] register - 0 - - - Enabled - Enable RR[0] register - 1 - - - - - RR1 - Enable or disable RR[1] register - 1 - 1 - - - Disabled - Disable RR[1] register - 0 - - - Enabled - Enable RR[1] register - 1 - - - - - RR2 - Enable or disable RR[2] register - 2 - 2 - - - Disabled - Disable RR[2] register - 0 - - - Enabled - Enable RR[2] register - 1 - - - - - RR3 - Enable or disable RR[3] register - 3 - 3 - - - Disabled - Disable RR[3] register - 0 - - - Enabled - Enable RR[3] register - 1 - - - - - RR4 - Enable or disable RR[4] register - 4 - 4 - - - Disabled - Disable RR[4] register - 0 - - - Enabled - Enable RR[4] register - 1 - - - - - RR5 - Enable or disable RR[5] register - 5 - 5 - - - Disabled - Disable RR[5] register - 0 - - - Enabled - Enable RR[5] register - 1 - - - - - RR6 - Enable or disable RR[6] register - 6 - 6 - - - Disabled - Disable RR[6] register - 0 - - - Enabled - Enable RR[6] register - 1 - - - - - RR7 - Enable or disable RR[7] register - 7 - 7 - - - Disabled - Disable RR[7] register - 0 - - - Enabled - Enable RR[7] register - 1 - - - - - - - CONFIG - Configuration register - 0x50C - read-write - 0x00000001 - - - SLEEP - Configure the watchdog to either be paused, or kept running, while the CPU is sleeping - 0 - 0 - - - Pause - Pause watchdog while the CPU is sleeping - 0 - - - Run - Keep the watchdog running while the CPU is sleeping - 1 - - - - - HALT - Configure the watchdog to either be paused, or kept running, while the CPU is halted by the debugger - 3 - 3 - - - Pause - Pause watchdog while the CPU is halted by the debugger - 0 - - - Run - Keep the watchdog running while the CPU is halted by the debugger - 1 - - - - - - - 0x8 - 0x4 - RR[%s] - Description collection: Reload request n - 0x600 - write-only - - - RR - Reload request register - 0 - 31 - - - Reload - Value to request a reload of the watchdog timer - 0x6E524635 - - - - - - - - - RTC1 - Real time counter 1 - 0x40011000 - - RTC1 - 17 - - - - QDEC - Quadrature Decoder - 0x40012000 - - 0 - 0x1000 - registers - - - QDEC - 18 - - QDEC - 0x20 - - - TASKS_START - Task starting the quadrature decoder - 0x000 - write-only - - - TASKS_START - Task starting the quadrature decoder - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Task stopping the quadrature decoder - 0x004 - write-only - - - TASKS_STOP - Task stopping the quadrature decoder - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_READCLRACC - Read and clear ACC and ACCDBL - 0x008 - write-only - - - TASKS_READCLRACC - Read and clear ACC and ACCDBL - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RDCLRACC - Read and clear ACC - 0x00C - write-only - - - TASKS_RDCLRACC - Read and clear ACC - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_RDCLRDBL - Read and clear ACCDBL - 0x010 - write-only - - - TASKS_RDCLRDBL - Read and clear ACCDBL - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_SAMPLERDY - Event being generated for every new sample value written to the SAMPLE register - 0x100 - read-write - - - EVENTS_SAMPLERDY - Event being generated for every new sample value written to the SAMPLE register - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_REPORTRDY - Non-null report ready - 0x104 - read-write - - - EVENTS_REPORTRDY - Non-null report ready - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ACCOF - ACC or ACCDBL register overflow - 0x108 - read-write - - - EVENTS_ACCOF - ACC or ACCDBL register overflow - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_DBLRDY - Double displacement(s) detected - 0x10C - read-write - - - EVENTS_DBLRDY - Double displacement(s) detected - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_STOPPED - QDEC has been stopped - 0x110 - read-write - - - EVENTS_STOPPED - QDEC has been stopped - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - REPORTRDY_READCLRACC - Shortcut between event REPORTRDY and task READCLRACC - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - SAMPLERDY_STOP - Shortcut between event SAMPLERDY and task STOP - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - REPORTRDY_RDCLRACC - Shortcut between event REPORTRDY and task RDCLRACC - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - REPORTRDY_STOP - Shortcut between event REPORTRDY and task STOP - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DBLRDY_RDCLRDBL - Shortcut between event DBLRDY and task RDCLRDBL - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DBLRDY_STOP - Shortcut between event DBLRDY and task STOP - 5 - 5 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - SAMPLERDY_READCLRACC - Shortcut between event SAMPLERDY and task READCLRACC - 6 - 6 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - SAMPLERDY - Write '1' to enable interrupt for event SAMPLERDY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REPORTRDY - Write '1' to enable interrupt for event REPORTRDY - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ACCOF - Write '1' to enable interrupt for event ACCOF - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DBLRDY - Write '1' to enable interrupt for event DBLRDY - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - SAMPLERDY - Write '1' to disable interrupt for event SAMPLERDY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REPORTRDY - Write '1' to disable interrupt for event REPORTRDY - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ACCOF - Write '1' to disable interrupt for event ACCOF - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DBLRDY - Write '1' to disable interrupt for event DBLRDY - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - Enable the quadrature decoder - 0x500 - read-write - - - ENABLE - Enable or disable the quadrature decoder - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - LEDPOL - LED output pin polarity - 0x504 - read-write - - - LEDPOL - LED output pin polarity - 0 - 0 - - - ActiveLow - Led active on output pin low - 0 - - - ActiveHigh - Led active on output pin high - 1 - - - - - - - SAMPLEPER - Sample period - 0x508 - read-write - - - SAMPLEPER - Sample period. The SAMPLE register will be updated for every new sample - 0 - 3 - - - 128us - 128 us - 0 - - - 256us - 256 us - 1 - - - 512us - 512 us - 2 - - - 1024us - 1024 us - 3 - - - 2048us - 2048 us - 4 - - - 4096us - 4096 us - 5 - - - 8192us - 8192 us - 6 - - - 16384us - 16384 us - 7 - - - 32ms - 32768 us - 8 - - - 65ms - 65536 us - 9 - - - 131ms - 131072 us - 10 - - - - - - - SAMPLE - Motion sample value - 0x50C - read-only - int32_t - - - SAMPLE - Last motion sample - 0 - 31 - - - - - REPORTPER - Number of samples to be taken before REPORTRDY and DBLRDY events can be generated - 0x510 - read-write - - - REPORTPER - Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated - 0 - 3 - - - 10Smpl - 10 samples / report - 0 - - - 40Smpl - 40 samples / report - 1 - - - 80Smpl - 80 samples / report - 2 - - - 120Smpl - 120 samples / report - 3 - - - 160Smpl - 160 samples / report - 4 - - - 200Smpl - 200 samples / report - 5 - - - 240Smpl - 240 samples / report - 6 - - - 280Smpl - 280 samples / report - 7 - - - 1Smpl - 1 sample / report - 8 - - - - - - - ACC - Register accumulating the valid transitions - 0x514 - read-only - int32_t - - - ACC - Register accumulating all valid samples (not double transition) read from the SAMPLE register - 0 - 31 - - - - - ACCREAD - Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task - 0x518 - read-only - int32_t - - - ACCREAD - Snapshot of the ACC register. - 0 - 31 - - - - - PSEL - Unspecified - QDEC_PSEL - read-write - 0x51C - - LED - Pin select for LED signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - A - Pin select for A signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - B - Pin select for B signal - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - DBFEN - Enable input debounce filters - 0x528 - read-write - - - DBFEN - Enable input debounce filters - 0 - 0 - - - Disabled - Debounce input filters disabled - 0 - - - Enabled - Debounce input filters enabled - 1 - - - - - - - LEDPRE - Time period the LED is switched ON prior to sampling - 0x540 - read-write - 0x00000010 - - - LEDPRE - Period in us the LED is switched on prior to sampling - 0 - 8 - - - - - ACCDBL - Register accumulating the number of detected double transitions - 0x544 - read-only - - - ACCDBL - Register accumulating the number of detected double or illegal transitions. ( SAMPLE = 2 ). - 0 - 3 - - - - - ACCDBLREAD - Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task - 0x548 - read-only - - - ACCDBLREAD - Snapshot of the ACCDBL register. This field is updated when the READCLRACC or RDCLRDBL task is triggered. - 0 - 3 - - - - - - - COMP - Comparator - 0x40013000 - - 0 - 0x1000 - registers - - - COMP_LPCOMP - 19 - - COMP - 0x20 - - - TASKS_START - Start comparator - 0x000 - write-only - - - TASKS_START - Start comparator - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop comparator - 0x004 - write-only - - - TASKS_STOP - Stop comparator - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SAMPLE - Sample comparator value - 0x008 - write-only - - - TASKS_SAMPLE - Sample comparator value - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_READY - COMP is ready and output is valid - 0x100 - read-write - - - EVENTS_READY - COMP is ready and output is valid - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_DOWN - Downward crossing - 0x104 - read-write - - - EVENTS_DOWN - Downward crossing - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_UP - Upward crossing - 0x108 - read-write - - - EVENTS_UP - Upward crossing - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CROSS - Downward or upward crossing - 0x10C - read-write - - - EVENTS_CROSS - Downward or upward crossing - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - READY_SAMPLE - Shortcut between event READY and task SAMPLE - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - READY_STOP - Shortcut between event READY and task STOP - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DOWN_STOP - Shortcut between event DOWN and task STOP - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - UP_STOP - Shortcut between event UP and task STOP - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - CROSS_STOP - Shortcut between event CROSS and task STOP - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - READY - Enable or disable interrupt for event READY - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - DOWN - Enable or disable interrupt for event DOWN - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - UP - Enable or disable interrupt for event UP - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - CROSS - Enable or disable interrupt for event CROSS - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to enable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DOWN - Write '1' to enable interrupt for event DOWN - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - UP - Write '1' to enable interrupt for event UP - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CROSS - Write '1' to enable interrupt for event CROSS - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to disable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DOWN - Write '1' to disable interrupt for event DOWN - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - UP - Write '1' to disable interrupt for event UP - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CROSS - Write '1' to disable interrupt for event CROSS - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - RESULT - Compare result - 0x400 - read-only - - - RESULT - Result of last compare. Decision point SAMPLE task. - 0 - 0 - - - Below - Input voltage is below the threshold (VIN+ &lt; VIN-) - 0 - - - Above - Input voltage is above the threshold (VIN+ &gt; VIN-) - 1 - - - - - - - ENABLE - COMP enable - 0x500 - read-write - - - ENABLE - Enable or disable COMP - 0 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 2 - - - - - - - PSEL - Pin select - 0x504 - read-write - - - PSEL - Analog pin select - 0 - 2 - - - AnalogInput0 - AIN0 selected as analog input - 0 - - - AnalogInput1 - AIN1 selected as analog input - 1 - - - AnalogInput2 - AIN2 selected as analog input - 2 - - - AnalogInput3 - AIN3 selected as analog input - 3 - - - AnalogInput4 - AIN4 selected as analog input - 4 - - - AnalogInput5 - AIN5 selected as analog input - 5 - - - AnalogInput6 - AIN6 selected as analog input - 6 - - - AnalogInput7 - AIN7 selected as analog input - 7 - - - - - - - REFSEL - Reference source select for single-ended mode - 0x508 - read-write - 0x00000004 - - - REFSEL - Reference select - 0 - 2 - - - Int1V2 - VREF = internal 1.2 V reference (VDD &gt;= 1.7 V) - 0 - - - Int1V8 - VREF = internal 1.8 V reference (VDD &gt;= VREF + 0.2 V) - 1 - - - Int2V4 - VREF = internal 2.4 V reference (VDD &gt;= VREF + 0.2 V) - 2 - - - VDD - VREF = VDD - 4 - - - ARef - VREF = AREF (VDD &gt;= VREF &gt;= AREFMIN) - 5 - - - - - - - EXTREFSEL - External reference select - 0x50C - read-write - - - EXTREFSEL - External analog reference select - 0 - 2 - - - AnalogReference0 - Use AIN0 as external analog reference - 0 - - - AnalogReference1 - Use AIN1 as external analog reference - 1 - - - AnalogReference2 - Use AIN2 as external analog reference - 2 - - - AnalogReference3 - Use AIN3 as external analog reference - 3 - - - AnalogReference4 - Use AIN4 as external analog reference - 4 - - - AnalogReference5 - Use AIN5 as external analog reference - 5 - - - AnalogReference6 - Use AIN6 as external analog reference - 6 - - - AnalogReference7 - Use AIN7 as external analog reference - 7 - - - - - - - TH - Threshold configuration for hysteresis unit - 0x530 - read-write - 0x00000000 - - - THDOWN - VDOWN = (THDOWN+1)/64*VREF - 0 - 5 - - - THUP - VUP = (THUP+1)/64*VREF - 8 - 13 - - - - - MODE - Mode configuration - 0x534 - read-write - - - SP - Speed and power modes - 0 - 1 - - - Low - Low-power mode - 0 - - - Normal - Normal mode - 1 - - - High - High-speed mode - 2 - - - - - MAIN - Main operation modes - 8 - 8 - - - SE - Single-ended mode - 0 - - - Diff - Differential mode - 1 - - - - - - - HYST - Comparator hysteresis enable - 0x538 - read-write - - - HYST - Comparator hysteresis - 0 - 0 - - - NoHyst - Comparator hysteresis disabled - 0 - - - Hyst50mV - Comparator hysteresis enabled - 1 - - - - - - - - - LPCOMP - Low Power Comparator - 0x40013000 - COMP - - 0 - 0x1000 - registers - - - COMP_LPCOMP - 19 - - LPCOMP - 0x20 - - - TASKS_START - Start comparator - 0x000 - write-only - - - TASKS_START - Start comparator - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stop comparator - 0x004 - write-only - - - TASKS_STOP - Stop comparator - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_SAMPLE - Sample comparator value - 0x008 - write-only - - - TASKS_SAMPLE - Sample comparator value - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_READY - LPCOMP is ready and output is valid - 0x100 - read-write - - - EVENTS_READY - LPCOMP is ready and output is valid - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_DOWN - Downward crossing - 0x104 - read-write - - - EVENTS_DOWN - Downward crossing - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_UP - Upward crossing - 0x108 - read-write - - - EVENTS_UP - Upward crossing - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_CROSS - Downward or upward crossing - 0x10C - read-write - - - EVENTS_CROSS - Downward or upward crossing - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - READY_SAMPLE - Shortcut between event READY and task SAMPLE - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - READY_STOP - Shortcut between event READY and task STOP - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - DOWN_STOP - Shortcut between event DOWN and task STOP - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - UP_STOP - Shortcut between event UP and task STOP - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - CROSS_STOP - Shortcut between event CROSS and task STOP - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to enable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - DOWN - Write '1' to enable interrupt for event DOWN - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - UP - Write '1' to enable interrupt for event UP - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - CROSS - Write '1' to enable interrupt for event CROSS - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to disable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - DOWN - Write '1' to disable interrupt for event DOWN - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - UP - Write '1' to disable interrupt for event UP - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - CROSS - Write '1' to disable interrupt for event CROSS - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - RESULT - Compare result - 0x400 - read-only - - - RESULT - Result of last compare. Decision point SAMPLE task. - 0 - 0 - - - Below - Input voltage is below the reference threshold (VIN+ &lt; VIN-). - 0 - - - Above - Input voltage is above the reference threshold (VIN+ &gt; VIN-). - 1 - - - - - - - ENABLE - Enable LPCOMP - 0x500 - read-write - - - ENABLE - Enable or disable LPCOMP - 0 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - PSEL - Input pin select - 0x504 - read-write - - - PSEL - Analog pin select - 0 - 2 - - - AnalogInput0 - AIN0 selected as analog input - 0 - - - AnalogInput1 - AIN1 selected as analog input - 1 - - - AnalogInput2 - AIN2 selected as analog input - 2 - - - AnalogInput3 - AIN3 selected as analog input - 3 - - - AnalogInput4 - AIN4 selected as analog input - 4 - - - AnalogInput5 - AIN5 selected as analog input - 5 - - - AnalogInput6 - AIN6 selected as analog input - 6 - - - AnalogInput7 - AIN7 selected as analog input - 7 - - - - - - - REFSEL - Reference select - 0x508 - read-write - 0x00000004 - - - REFSEL - Reference select - 0 - 3 - - - Ref1_8Vdd - VDD * 1/8 selected as reference - 0 - - - Ref2_8Vdd - VDD * 2/8 selected as reference - 1 - - - Ref3_8Vdd - VDD * 3/8 selected as reference - 2 - - - Ref4_8Vdd - VDD * 4/8 selected as reference - 3 - - - Ref5_8Vdd - VDD * 5/8 selected as reference - 4 - - - Ref6_8Vdd - VDD * 6/8 selected as reference - 5 - - - Ref7_8Vdd - VDD * 7/8 selected as reference - 6 - - - ARef - External analog reference selected - 7 - - - Ref1_16Vdd - VDD * 1/16 selected as reference - 8 - - - Ref3_16Vdd - VDD * 3/16 selected as reference - 9 - - - Ref5_16Vdd - VDD * 5/16 selected as reference - 10 - - - Ref7_16Vdd - VDD * 7/16 selected as reference - 11 - - - Ref9_16Vdd - VDD * 9/16 selected as reference - 12 - - - Ref11_16Vdd - VDD * 11/16 selected as reference - 13 - - - Ref13_16Vdd - VDD * 13/16 selected as reference - 14 - - - Ref15_16Vdd - VDD * 15/16 selected as reference - 15 - - - - - - - EXTREFSEL - External reference select - 0x50C - read-write - - - EXTREFSEL - External analog reference select - 0 - 0 - - - AnalogReference0 - Use AIN0 as external analog reference - 0 - - - AnalogReference1 - Use AIN1 as external analog reference - 1 - - - - - - - ANADETECT - Analog detect configuration - 0x520 - read-write - - - ANADETECT - Analog detect configuration - 0 - 1 - - - Cross - Generate ANADETECT on crossing, both upward crossing and downward crossing - 0 - - - Up - Generate ANADETECT on upward crossing only - 1 - - - Down - Generate ANADETECT on downward crossing only - 2 - - - - - - - HYST - Comparator hysteresis enable - 0x538 - read-write - - - HYST - Comparator hysteresis enable - 0 - 0 - - - Disabled - Comparator hysteresis disabled - 0 - - - Enabled - Comparator hysteresis enabled - 1 - - - - - - - - - EGU0 - Event Generator Unit 0 - 0x40014000 - EGU - - 0 - 0x1000 - registers - - - SWI0_EGU0 - 20 - - EGU - 0x20 - - - 0x10 - 0x4 - TASKS_TRIGGER[%s] - Description collection: Trigger n for triggering the corresponding TRIGGERED[n] event - 0x000 - write-only - - - TASKS_TRIGGER - Trigger n for triggering the corresponding TRIGGERED[n] event - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - 0x10 - 0x4 - EVENTS_TRIGGERED[%s] - Description collection: Event number n generated by triggering the corresponding TRIGGER[n] task - 0x100 - read-write - - - EVENTS_TRIGGERED - Event number n generated by triggering the corresponding TRIGGER[n] task - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - TRIGGERED0 - Enable or disable interrupt for event TRIGGERED[0] - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED1 - Enable or disable interrupt for event TRIGGERED[1] - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED2 - Enable or disable interrupt for event TRIGGERED[2] - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED3 - Enable or disable interrupt for event TRIGGERED[3] - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED4 - Enable or disable interrupt for event TRIGGERED[4] - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED5 - Enable or disable interrupt for event TRIGGERED[5] - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED6 - Enable or disable interrupt for event TRIGGERED[6] - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED7 - Enable or disable interrupt for event TRIGGERED[7] - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED8 - Enable or disable interrupt for event TRIGGERED[8] - 8 - 8 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED9 - Enable or disable interrupt for event TRIGGERED[9] - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED10 - Enable or disable interrupt for event TRIGGERED[10] - 10 - 10 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED11 - Enable or disable interrupt for event TRIGGERED[11] - 11 - 11 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED12 - Enable or disable interrupt for event TRIGGERED[12] - 12 - 12 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED13 - Enable or disable interrupt for event TRIGGERED[13] - 13 - 13 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED14 - Enable or disable interrupt for event TRIGGERED[14] - 14 - 14 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TRIGGERED15 - Enable or disable interrupt for event TRIGGERED[15] - 15 - 15 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - TRIGGERED0 - Write '1' to enable interrupt for event TRIGGERED[0] - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED1 - Write '1' to enable interrupt for event TRIGGERED[1] - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED2 - Write '1' to enable interrupt for event TRIGGERED[2] - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED3 - Write '1' to enable interrupt for event TRIGGERED[3] - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED4 - Write '1' to enable interrupt for event TRIGGERED[4] - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED5 - Write '1' to enable interrupt for event TRIGGERED[5] - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED6 - Write '1' to enable interrupt for event TRIGGERED[6] - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED7 - Write '1' to enable interrupt for event TRIGGERED[7] - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED8 - Write '1' to enable interrupt for event TRIGGERED[8] - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED9 - Write '1' to enable interrupt for event TRIGGERED[9] - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED10 - Write '1' to enable interrupt for event TRIGGERED[10] - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED11 - Write '1' to enable interrupt for event TRIGGERED[11] - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED12 - Write '1' to enable interrupt for event TRIGGERED[12] - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED13 - Write '1' to enable interrupt for event TRIGGERED[13] - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED14 - Write '1' to enable interrupt for event TRIGGERED[14] - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TRIGGERED15 - Write '1' to enable interrupt for event TRIGGERED[15] - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - TRIGGERED0 - Write '1' to disable interrupt for event TRIGGERED[0] - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED1 - Write '1' to disable interrupt for event TRIGGERED[1] - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED2 - Write '1' to disable interrupt for event TRIGGERED[2] - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED3 - Write '1' to disable interrupt for event TRIGGERED[3] - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED4 - Write '1' to disable interrupt for event TRIGGERED[4] - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED5 - Write '1' to disable interrupt for event TRIGGERED[5] - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED6 - Write '1' to disable interrupt for event TRIGGERED[6] - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED7 - Write '1' to disable interrupt for event TRIGGERED[7] - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED8 - Write '1' to disable interrupt for event TRIGGERED[8] - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED9 - Write '1' to disable interrupt for event TRIGGERED[9] - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED10 - Write '1' to disable interrupt for event TRIGGERED[10] - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED11 - Write '1' to disable interrupt for event TRIGGERED[11] - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED12 - Write '1' to disable interrupt for event TRIGGERED[12] - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED13 - Write '1' to disable interrupt for event TRIGGERED[13] - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED14 - Write '1' to disable interrupt for event TRIGGERED[14] - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TRIGGERED15 - Write '1' to disable interrupt for event TRIGGERED[15] - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - - - SWI0 - Software interrupt 0 - 0x40014000 - EGU0 - SWI - - 0 - 0x1000 - registers - - - SWI0_EGU0 - 20 - - SWI - 0x20 - - - UNUSED - Unused. - 0x000 - 0x00000000 - read-only - - - - - EGU1 - Event Generator Unit 1 - 0x40015000 - - SWI1_EGU1 - 21 - - - - SWI1 - Software interrupt 1 - 0x40015000 - EGU1 - - SWI1_EGU1 - 21 - - - - EGU2 - Event Generator Unit 2 - 0x40016000 - - SWI2_EGU2 - 22 - - - - SWI2 - Software interrupt 2 - 0x40016000 - EGU2 - - SWI2_EGU2 - 22 - - - - EGU3 - Event Generator Unit 3 - 0x40017000 - - SWI3_EGU3 - 23 - - - - SWI3 - Software interrupt 3 - 0x40017000 - EGU3 - - SWI3_EGU3 - 23 - - - - EGU4 - Event Generator Unit 4 - 0x40018000 - - SWI4_EGU4 - 24 - - - - SWI4 - Software interrupt 4 - 0x40018000 - EGU4 - - SWI4_EGU4 - 24 - - - - EGU5 - Event Generator Unit 5 - 0x40019000 - - SWI5_EGU5 - 25 - - - - SWI5 - Software interrupt 5 - 0x40019000 - EGU5 - - SWI5_EGU5 - 25 - - - - TIMER3 - Timer/Counter 3 - 0x4001A000 - - TIMER3 - 26 - - - - TIMER4 - Timer/Counter 4 - 0x4001B000 - - TIMER4 - 27 - - - - PWM0 - Pulse width modulation unit 0 - 0x4001C000 - PWM - - 0 - 0x1000 - registers - - - PWM0 - 28 - - PWM - 0x20 - - - TASKS_STOP - Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback - 0x004 - write-only - - - TASKS_STOP - Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - 0x2 - 0x4 - TASKS_SEQSTART[%s] - Description collection: Loads the first PWM value on all enabled channels from sequence n, and starts playing that sequence at the rate defined in SEQ[n]REFRESH and/or DECODER.MODE. Causes PWM generation to start if not running. - 0x008 - write-only - - - TASKS_SEQSTART - Loads the first PWM value on all enabled channels from sequence n, and starts playing that sequence at the rate defined in SEQ[n]REFRESH and/or DECODER.MODE. Causes PWM generation to start if not running. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_NEXTSTEP - Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start if not running. - 0x010 - write-only - - - TASKS_NEXTSTEP - Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start if not running. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_STOPPED - Response to STOP task, emitted when PWM pulses are no longer generated - 0x104 - read-write - - - EVENTS_STOPPED - Response to STOP task, emitted when PWM pulses are no longer generated - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - 0x2 - 0x4 - EVENTS_SEQSTARTED[%s] - Description collection: First PWM period started on sequence n - 0x108 - read-write - - - EVENTS_SEQSTARTED - First PWM period started on sequence n - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - 0x2 - 0x4 - EVENTS_SEQEND[%s] - Description collection: Emitted at end of every sequence n, when last value from RAM has been applied to wave counter - 0x110 - read-write - - - EVENTS_SEQEND - Emitted at end of every sequence n, when last value from RAM has been applied to wave counter - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_PWMPERIODEND - Emitted at the end of each PWM period - 0x118 - read-write - - - EVENTS_PWMPERIODEND - Emitted at the end of each PWM period - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_LOOPSDONE - Concatenated sequences have been played the amount of times defined in LOOP.CNT - 0x11C - read-write - - - EVENTS_LOOPSDONE - Concatenated sequences have been played the amount of times defined in LOOP.CNT - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - SEQEND0_STOP - Shortcut between event SEQEND[0] and task STOP - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - SEQEND1_STOP - Shortcut between event SEQEND[1] and task STOP - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LOOPSDONE_SEQSTART0 - Shortcut between event LOOPSDONE and task SEQSTART[0] - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LOOPSDONE_SEQSTART1 - Shortcut between event LOOPSDONE and task SEQSTART[1] - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - LOOPSDONE_STOP - Shortcut between event LOOPSDONE and task STOP - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STOPPED - Enable or disable interrupt for event STOPPED - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SEQSTARTED0 - Enable or disable interrupt for event SEQSTARTED[0] - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SEQSTARTED1 - Enable or disable interrupt for event SEQSTARTED[1] - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SEQEND0 - Enable or disable interrupt for event SEQEND[0] - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SEQEND1 - Enable or disable interrupt for event SEQEND[1] - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PWMPERIODEND - Enable or disable interrupt for event PWMPERIODEND - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - LOOPSDONE - Enable or disable interrupt for event LOOPSDONE - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SEQSTARTED0 - Write '1' to enable interrupt for event SEQSTARTED[0] - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SEQSTARTED1 - Write '1' to enable interrupt for event SEQSTARTED[1] - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SEQEND0 - Write '1' to enable interrupt for event SEQEND[0] - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SEQEND1 - Write '1' to enable interrupt for event SEQEND[1] - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PWMPERIODEND - Write '1' to enable interrupt for event PWMPERIODEND - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - LOOPSDONE - Write '1' to enable interrupt for event LOOPSDONE - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SEQSTARTED0 - Write '1' to disable interrupt for event SEQSTARTED[0] - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SEQSTARTED1 - Write '1' to disable interrupt for event SEQSTARTED[1] - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SEQEND0 - Write '1' to disable interrupt for event SEQEND[0] - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SEQEND1 - Write '1' to disable interrupt for event SEQEND[1] - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PWMPERIODEND - Write '1' to disable interrupt for event PWMPERIODEND - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - LOOPSDONE - Write '1' to disable interrupt for event LOOPSDONE - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - PWM module enable register - 0x500 - read-write - 0x00000000 - - - ENABLE - Enable or disable PWM module - 0 - 0 - - - Disabled - Disabled - 0 - - - Enabled - Enable - 1 - - - - - - - MODE - Selects operating mode of the wave counter - 0x504 - read-write - 0x00000000 - - - UPDOWN - Selects up mode or up-and-down mode for the counter - 0 - 0 - - - Up - Up counter, edge-aligned PWM duty cycle - 0 - - - UpAndDown - Up and down counter, center-aligned PWM duty cycle - 1 - - - - - - - COUNTERTOP - Value up to which the pulse generator counter counts - 0x508 - read-write - 0x000003FF - - - COUNTERTOP - Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM are used. - 0 - 14 - - - - - PRESCALER - Configuration for PWM_CLK - 0x50C - read-write - 0x00000000 - - - PRESCALER - Prescaler of PWM_CLK - 0 - 2 - - - DIV_1 - Divide by 1 (16 MHz) - 0 - - - DIV_2 - Divide by 2 (8 MHz) - 1 - - - DIV_4 - Divide by 4 (4 MHz) - 2 - - - DIV_8 - Divide by 8 (2 MHz) - 3 - - - DIV_16 - Divide by 16 (1 MHz) - 4 - - - DIV_32 - Divide by 32 (500 kHz) - 5 - - - DIV_64 - Divide by 64 (250 kHz) - 6 - - - DIV_128 - Divide by 128 (125 kHz) - 7 - - - - - - - DECODER - Configuration of the decoder - 0x510 - read-write - 0x00000000 - - - LOAD - How a sequence is read from RAM and spread to the compare register - 0 - 1 - - - Common - 1st half word (16-bit) used in all PWM channels 0..3 - 0 - - - Grouped - 1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3 - 1 - - - Individual - 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in ch.3 - 2 - - - WaveForm - 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in COUNTERTOP - 3 - - - - - MODE - Selects source for advancing the active sequence - 8 - 8 - - - RefreshCount - SEQ[n].REFRESH is used to determine loading internal compare registers - 0 - - - NextStep - NEXTSTEP task causes a new value to be loaded to internal compare registers - 1 - - - - - - - LOOP - Number of playbacks of a loop - 0x514 - read-write - 0x00000000 - - - CNT - Number of playbacks of pattern cycles - 0 - 15 - - - Disabled - Looping disabled (stop at the end of the sequence) - 0 - - - - - - - 2 - 0x020 - SEQ[%s] - Unspecified - PWM_SEQ - read-write - 0x520 - - PTR - Description cluster: Beginning address in RAM of this sequence - 0x000 - read-write - 0x00000000 - - - PTR - Beginning address in RAM of this sequence - 0 - 31 - - - - - CNT - Description cluster: Number of values (duty cycles) in this sequence - 0x004 - read-write - 0x00000000 - - - CNT - Number of values (duty cycles) in this sequence - 0 - 14 - - - Disabled - Sequence is disabled, and shall not be started as it is empty - 0 - - - - - - - REFRESH - Description cluster: Number of additional PWM periods between samples loaded into compare register - 0x008 - read-write - 0x00000001 - - - CNT - Number of additional PWM periods between samples loaded into compare register (load every REFRESH.CNT+1 PWM periods) - 0 - 23 - - - Continuous - Update every PWM period - 0 - - - - - - - ENDDELAY - Description cluster: Time added after the sequence - 0x00C - read-write - 0x00000000 - - - CNT - Time added after the sequence in PWM periods - 0 - 23 - - - - - - PSEL - Unspecified - PWM_PSEL - read-write - 0x560 - - 0x4 - 0x4 - OUT[%s] - Description collection: Output pin select for PWM channel n - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - - - PDM - Pulse Density Modulation (Digital Microphone) Interface - 0x4001D000 - - 0 - 0x1000 - registers - - - PDM - 29 - - PDM - 0x20 - - - TASKS_START - Starts continuous PDM transfer - 0x000 - write-only - - - TASKS_START - Starts continuous PDM transfer - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stops PDM transfer - 0x004 - write-only - - - TASKS_STOP - Stops PDM transfer - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_STARTED - PDM transfer has started - 0x100 - read-write - - - EVENTS_STARTED - PDM transfer has started - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_STOPPED - PDM transfer has finished - 0x104 - read-write - - - EVENTS_STOPPED - PDM transfer has finished - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_END - The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM - 0x108 - read-write - - - EVENTS_END - The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - STARTED - Enable or disable interrupt for event STARTED - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STOPPED - Enable or disable interrupt for event STOPPED - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - END - Enable or disable interrupt for event END - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - STARTED - Write '1' to enable interrupt for event STARTED - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - END - Write '1' to enable interrupt for event END - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - STARTED - Write '1' to disable interrupt for event STARTED - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - END - Write '1' to disable interrupt for event END - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - PDM module enable register - 0x500 - read-write - 0x00000000 - - - ENABLE - Enable or disable PDM module - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - PDMCLKCTRL - PDM clock generator control - 0x504 - read-write - 0x08400000 - - - FREQ - PDM_CLK frequency - 0 - 31 - - - 1000K - PDM_CLK = 32 MHz / 32 = 1.000 MHz - 0x08000000 - - - Default - PDM_CLK = 32 MHz / 31 = 1.032 MHz. Nominal clock for RATIO=Ratio64. - 0x08400000 - - - 1067K - PDM_CLK = 32 MHz / 30 = 1.067 MHz - 0x08800000 - - - 1231K - PDM_CLK = 32 MHz / 26 = 1.231 MHz - 0x09800000 - - - 1280K - PDM_CLK = 32 MHz / 25 = 1.280 MHz. Nominal clock for RATIO=Ratio80. - 0x0A000000 - - - 1333K - PDM_CLK = 32 MHz / 24 = 1.333 MHz - 0x0A800000 - - - - - - - MODE - Defines the routing of the connected PDM microphones' signals - 0x508 - read-write - 0x00000000 - - - OPERATION - Mono or stereo operation - 0 - 0 - - - Stereo - Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0] - 0 - - - Mono - Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0] - 1 - - - - - EDGE - Defines on which PDM_CLK edge Left (or mono) is sampled - 1 - 1 - - - LeftFalling - Left (or mono) is sampled on falling edge of PDM_CLK - 0 - - - LeftRising - Left (or mono) is sampled on rising edge of PDM_CLK - 1 - - - - - - - GAINL - Left output gain adjustment - 0x518 - read-write - 0x00000028 - - - GAINL - Left output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) 0x00 -20 dB gain adjust 0x01 -19.5 dB gain adjust (...) 0x27 -0.5 dB gain adjust 0x28 0 dB gain adjust 0x29 +0.5 dB gain adjust (...) 0x4F +19.5 dB gain adjust 0x50 +20 dB gain adjust - 0 - 6 - - - MinGain - -20dB gain adjustment (minimum) - 0x00 - - - DefaultGain - 0dB gain adjustment - 0x28 - - - MaxGain - +20dB gain adjustment (maximum) - 0x50 - - - - - - - GAINR - Right output gain adjustment - 0x51C - read-write - 0x00000028 - - - GAINR - Right output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) - 0 - 6 - - - MinGain - -20dB gain adjustment (minimum) - 0x00 - - - DefaultGain - 0dB gain adjustment - 0x28 - - - MaxGain - +20dB gain adjustment (maximum) - 0x50 - - - - - - - RATIO - Selects the ratio between PDM_CLK and output sample rate. Change PDMCLKCTRL accordingly. - 0x520 - read-write - 0x00000000 - - - RATIO - Selects the ratio between PDM_CLK and output sample rate - 0 - 0 - - - Ratio64 - Ratio of 64 - 0 - - - Ratio80 - Ratio of 80 - 1 - - - - - - - PSEL - Unspecified - PDM_PSEL - read-write - 0x540 - - CLK - Pin number configuration for PDM CLK signal - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - DIN - Pin number configuration for PDM DIN signal - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - SAMPLE - Unspecified - PDM_SAMPLE - read-write - 0x560 - - PTR - RAM address pointer to write samples to with EasyDMA - 0x000 - read-write - - - SAMPLEPTR - Address to write PDM samples to over DMA - 0 - 31 - - - - - MAXCNT - Number of samples to allocate memory for in EasyDMA mode - 0x004 - read-write - - - BUFFSIZE - Length of DMA RAM allocation in number of samples - 0 - 14 - - - - - - - - ACL - Access control lists - 0x4001E000 - - 0 - 0x1000 - registers - - ACL - 0x20 - - - 8 - 0x010 - ACL[%s] - Unspecified - ACL_ACL - read-write - 0x800 - - ADDR - Description cluster: Configure the word-aligned start address of region n to protect - 0x000 - read-writeonce - 0x00000000 - - - ADDR - Valid word-aligned start address of region n to protect. Address must point to a flash page boundary. - 0 - 31 - - - - - SIZE - Description cluster: Size of region to protect counting from address ACL[n].ADDR. Write '0' as no effect. - 0x004 - read-writeonce - 0x00000000 - - - SIZE - Size of flash region n in bytes. Must be a multiple of the flash page size, and the maximum region size is limited to 512kB. - 0 - 31 - - - - - PERM - Description cluster: Access permissions for region n as defined by start address ACL[n].ADDR and size ACL[n].SIZE - 0x008 - read-writeonce - 0x00000000 - - - WRITE - Configure write and erase permissions for region n. Write '0' has no effect. - 1 - 1 - - - Enable - Allow write and erase instructions to region n - 0 - - - Disable - Block write and erase instructions to region n - 1 - - - - - READ - Configure read permissions for region n. Write '0' has no effect. - 2 - 2 - - - Enable - Allow read instructions to region n - 0 - - - Disable - Block read instructions to region n - 1 - - - - - - - - - - NVMC - Non Volatile Memory Controller - 0x4001E000 - ACL - - 0 - 0x1000 - registers - - NVMC - 0x20 - - - READY - Ready flag - 0x400 - read-only - 0x00000001 - - - READY - NVMC is ready or busy - 0 - 0 - - - Busy - NVMC is busy (on-going write or erase operation) - 0 - - - Ready - NVMC is ready - 1 - - - - - - - READYNEXT - Ready flag - 0x408 - read-only - - - READYNEXT - NVMC can accept a new write operation - 0 - 0 - - - Busy - NVMC cannot accept any write operation - 0 - - - Ready - NVMC is ready - 1 - - - - - - - CONFIG - Configuration register - 0x504 - read-write - - - WEN - Program memory access mode. It is strongly recommended to only activate erase and write modes when they are actively used. Enabling write or erase will invalidate the cache and keep it invalidated. - 0 - 1 - - - Ren - Read only access - 0 - - - Wen - Write enabled - 1 - - - Een - Erase enabled - 2 - - - - - - - ERASEPAGE - Register for erasing a page in code area - 0x508 - read-write - - - ERASEPAGE - Register for starting erase of a page in code area - 0 - 31 - - - - - ERASEPCR1 - Deprecated register - Register for erasing a page in code area. Equivalent to ERASEPAGE. - 0x508 - read-write - ERASEPAGE - - - ERASEPCR1 - Register for erasing a page in code area. Equivalent to ERASEPAGE. - 0 - 31 - - - - - ERASEALL - Register for erasing all non-volatile user memory - 0x50C - read-write - - - ERASEALL - Erase all non-volatile memory including UICR registers. Note that the erase must be enabled using CONFIG.WEN before the non-volatile memory can be erased. - 0 - 0 - - - NoOperation - No operation - 0 - - - Erase - Start chip erase - 1 - - - - - - - ERASEPCR0 - Deprecated register - Register for erasing a page in code area. Equivalent to ERASEPAGE. - 0x510 - read-write - - - ERASEPCR0 - Register for starting erase of a page in code area. Equivalent to ERASEPAGE. - 0 - 31 - - - - - ERASEUICR - Register for erasing user information configuration registers - 0x514 - read-write - - - ERASEUICR - Register starting erase of all user information configuration registers. Note that the erase must be enabled using CONFIG.WEN before the UICR can be erased. - 0 - 0 - - - NoOperation - No operation - 0 - - - Erase - Start erase of UICR - 1 - - - - - - - ERASEPAGEPARTIAL - Register for partial erase of a page in code area - 0x518 - read-write - - - ERASEPAGEPARTIAL - Register for starting partial erase of a page in code area - 0 - 31 - - - - - ERASEPAGEPARTIALCFG - Register for partial erase configuration - 0x51C - read-write - 0x0000000A - - - DURATION - Duration of the partial erase in milliseconds - 0 - 6 - - - - - ICACHECNF - I-code cache configuration register. - 0x540 - read-write - 0x00000000 - - - CACHEEN - Cache enable - 0 - 0 - - - Disabled - Disable cache. Invalidates all cache entries. - 0 - - - Enabled - Enable cache - 1 - - - - - CACHEPROFEN - Cache profiling enable - 8 - 8 - - - Disabled - Disable cache profiling - 0 - - - Enabled - Enable cache profiling - 1 - - - - - - - IHIT - I-code cache hit counter. - 0x548 - read-write - - - HITS - Number of cache hits - 0 - 31 - - - - - IMISS - I-code cache miss counter. - 0x54C - read-write - - - MISSES - Number of cache misses - 0 - 31 - - - - - - - PPI - Programmable Peripheral Interconnect - 0x4001F000 - - 0 - 0x1000 - registers - - PPI - 0x20 - - - 6 - 0x008 - TASKS_CHG[%s] - Channel group tasks - PPI_TASKS_CHG - write-only - 0x000 - - EN - Description cluster: Enable channel group n - 0x000 - write-only - - - EN - Enable channel group n - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - DIS - Description cluster: Disable channel group n - 0x004 - write-only - - - DIS - Disable channel group n - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - - CHEN - Channel enable register - 0x500 - read-write - - - CH0 - Enable or disable channel 0 - 0 - 0 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH1 - Enable or disable channel 1 - 1 - 1 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH2 - Enable or disable channel 2 - 2 - 2 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH3 - Enable or disable channel 3 - 3 - 3 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH4 - Enable or disable channel 4 - 4 - 4 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH5 - Enable or disable channel 5 - 5 - 5 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH6 - Enable or disable channel 6 - 6 - 6 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH7 - Enable or disable channel 7 - 7 - 7 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH8 - Enable or disable channel 8 - 8 - 8 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH9 - Enable or disable channel 9 - 9 - 9 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH10 - Enable or disable channel 10 - 10 - 10 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH11 - Enable or disable channel 11 - 11 - 11 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH12 - Enable or disable channel 12 - 12 - 12 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH13 - Enable or disable channel 13 - 13 - 13 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH14 - Enable or disable channel 14 - 14 - 14 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH15 - Enable or disable channel 15 - 15 - 15 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH16 - Enable or disable channel 16 - 16 - 16 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH17 - Enable or disable channel 17 - 17 - 17 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH18 - Enable or disable channel 18 - 18 - 18 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH19 - Enable or disable channel 19 - 19 - 19 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH20 - Enable or disable channel 20 - 20 - 20 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH21 - Enable or disable channel 21 - 21 - 21 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH22 - Enable or disable channel 22 - 22 - 22 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH23 - Enable or disable channel 23 - 23 - 23 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH24 - Enable or disable channel 24 - 24 - 24 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH25 - Enable or disable channel 25 - 25 - 25 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH26 - Enable or disable channel 26 - 26 - 26 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH27 - Enable or disable channel 27 - 27 - 27 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH28 - Enable or disable channel 28 - 28 - 28 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH29 - Enable or disable channel 29 - 29 - 29 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH30 - Enable or disable channel 30 - 30 - 30 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - CH31 - Enable or disable channel 31 - 31 - 31 - - - Disabled - Disable channel - 0 - - - Enabled - Enable channel - 1 - - - - - - - CHENSET - Channel enable set register - 0x504 - read-write - oneToSet - - - CH0 - Channel 0 enable set register. Writing '0' has no effect - 0 - 0 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH1 - Channel 1 enable set register. Writing '0' has no effect - 1 - 1 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH2 - Channel 2 enable set register. Writing '0' has no effect - 2 - 2 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH3 - Channel 3 enable set register. Writing '0' has no effect - 3 - 3 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH4 - Channel 4 enable set register. Writing '0' has no effect - 4 - 4 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH5 - Channel 5 enable set register. Writing '0' has no effect - 5 - 5 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH6 - Channel 6 enable set register. Writing '0' has no effect - 6 - 6 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH7 - Channel 7 enable set register. Writing '0' has no effect - 7 - 7 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH8 - Channel 8 enable set register. Writing '0' has no effect - 8 - 8 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH9 - Channel 9 enable set register. Writing '0' has no effect - 9 - 9 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH10 - Channel 10 enable set register. Writing '0' has no effect - 10 - 10 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH11 - Channel 11 enable set register. Writing '0' has no effect - 11 - 11 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH12 - Channel 12 enable set register. Writing '0' has no effect - 12 - 12 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH13 - Channel 13 enable set register. Writing '0' has no effect - 13 - 13 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH14 - Channel 14 enable set register. Writing '0' has no effect - 14 - 14 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH15 - Channel 15 enable set register. Writing '0' has no effect - 15 - 15 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH16 - Channel 16 enable set register. Writing '0' has no effect - 16 - 16 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH17 - Channel 17 enable set register. Writing '0' has no effect - 17 - 17 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH18 - Channel 18 enable set register. Writing '0' has no effect - 18 - 18 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH19 - Channel 19 enable set register. Writing '0' has no effect - 19 - 19 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH20 - Channel 20 enable set register. Writing '0' has no effect - 20 - 20 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH21 - Channel 21 enable set register. Writing '0' has no effect - 21 - 21 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH22 - Channel 22 enable set register. Writing '0' has no effect - 22 - 22 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH23 - Channel 23 enable set register. Writing '0' has no effect - 23 - 23 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH24 - Channel 24 enable set register. Writing '0' has no effect - 24 - 24 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH25 - Channel 25 enable set register. Writing '0' has no effect - 25 - 25 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH26 - Channel 26 enable set register. Writing '0' has no effect - 26 - 26 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH27 - Channel 27 enable set register. Writing '0' has no effect - 27 - 27 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH28 - Channel 28 enable set register. Writing '0' has no effect - 28 - 28 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH29 - Channel 29 enable set register. Writing '0' has no effect - 29 - 29 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH30 - Channel 30 enable set register. Writing '0' has no effect - 30 - 30 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - CH31 - Channel 31 enable set register. Writing '0' has no effect - 31 - 31 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Set - Write: Enable channel - 1 - - - - - - - CHENCLR - Channel enable clear register - 0x508 - read-write - oneToClear - - - CH0 - Channel 0 enable clear register. Writing '0' has no effect - 0 - 0 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH1 - Channel 1 enable clear register. Writing '0' has no effect - 1 - 1 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH2 - Channel 2 enable clear register. Writing '0' has no effect - 2 - 2 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH3 - Channel 3 enable clear register. Writing '0' has no effect - 3 - 3 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH4 - Channel 4 enable clear register. Writing '0' has no effect - 4 - 4 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH5 - Channel 5 enable clear register. Writing '0' has no effect - 5 - 5 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH6 - Channel 6 enable clear register. Writing '0' has no effect - 6 - 6 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH7 - Channel 7 enable clear register. Writing '0' has no effect - 7 - 7 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH8 - Channel 8 enable clear register. Writing '0' has no effect - 8 - 8 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH9 - Channel 9 enable clear register. Writing '0' has no effect - 9 - 9 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH10 - Channel 10 enable clear register. Writing '0' has no effect - 10 - 10 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH11 - Channel 11 enable clear register. Writing '0' has no effect - 11 - 11 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH12 - Channel 12 enable clear register. Writing '0' has no effect - 12 - 12 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH13 - Channel 13 enable clear register. Writing '0' has no effect - 13 - 13 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH14 - Channel 14 enable clear register. Writing '0' has no effect - 14 - 14 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH15 - Channel 15 enable clear register. Writing '0' has no effect - 15 - 15 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH16 - Channel 16 enable clear register. Writing '0' has no effect - 16 - 16 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH17 - Channel 17 enable clear register. Writing '0' has no effect - 17 - 17 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH18 - Channel 18 enable clear register. Writing '0' has no effect - 18 - 18 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH19 - Channel 19 enable clear register. Writing '0' has no effect - 19 - 19 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH20 - Channel 20 enable clear register. Writing '0' has no effect - 20 - 20 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH21 - Channel 21 enable clear register. Writing '0' has no effect - 21 - 21 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH22 - Channel 22 enable clear register. Writing '0' has no effect - 22 - 22 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH23 - Channel 23 enable clear register. Writing '0' has no effect - 23 - 23 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH24 - Channel 24 enable clear register. Writing '0' has no effect - 24 - 24 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH25 - Channel 25 enable clear register. Writing '0' has no effect - 25 - 25 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH26 - Channel 26 enable clear register. Writing '0' has no effect - 26 - 26 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH27 - Channel 27 enable clear register. Writing '0' has no effect - 27 - 27 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH28 - Channel 28 enable clear register. Writing '0' has no effect - 28 - 28 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH29 - Channel 29 enable clear register. Writing '0' has no effect - 29 - 29 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH30 - Channel 30 enable clear register. Writing '0' has no effect - 30 - 30 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - CH31 - Channel 31 enable clear register. Writing '0' has no effect - 31 - 31 - - read - - Disabled - Read: channel disabled - 0 - - - Enabled - Read: channel enabled - 1 - - - - write - - Clear - Write: disable channel - 1 - - - - - - - 20 - 0x008 - CH[%s] - PPI Channel - PPI_CH - read-write - 0x510 - - EEP - Description cluster: Channel n event end-point - 0x000 - read-write - - - EEP - Pointer to event register. Accepts only addresses to registers from the Event group. - 0 - 31 - - - - - TEP - Description cluster: Channel n task end-point - 0x004 - read-write - - - TEP - Pointer to task register. Accepts only addresses to registers from the Task group. - 0 - 31 - - - - - - 0x6 - 0x4 - CHG[%s] - Description collection: Channel group n - 0x800 - read-write - - - CH0 - Include or exclude channel 0 - 0 - 0 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH1 - Include or exclude channel 1 - 1 - 1 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH2 - Include or exclude channel 2 - 2 - 2 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH3 - Include or exclude channel 3 - 3 - 3 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH4 - Include or exclude channel 4 - 4 - 4 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH5 - Include or exclude channel 5 - 5 - 5 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH6 - Include or exclude channel 6 - 6 - 6 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH7 - Include or exclude channel 7 - 7 - 7 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH8 - Include or exclude channel 8 - 8 - 8 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH9 - Include or exclude channel 9 - 9 - 9 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH10 - Include or exclude channel 10 - 10 - 10 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH11 - Include or exclude channel 11 - 11 - 11 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH12 - Include or exclude channel 12 - 12 - 12 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH13 - Include or exclude channel 13 - 13 - 13 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH14 - Include or exclude channel 14 - 14 - 14 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH15 - Include or exclude channel 15 - 15 - 15 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH16 - Include or exclude channel 16 - 16 - 16 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH17 - Include or exclude channel 17 - 17 - 17 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH18 - Include or exclude channel 18 - 18 - 18 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH19 - Include or exclude channel 19 - 19 - 19 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH20 - Include or exclude channel 20 - 20 - 20 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH21 - Include or exclude channel 21 - 21 - 21 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH22 - Include or exclude channel 22 - 22 - 22 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH23 - Include or exclude channel 23 - 23 - 23 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH24 - Include or exclude channel 24 - 24 - 24 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH25 - Include or exclude channel 25 - 25 - 25 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH26 - Include or exclude channel 26 - 26 - 26 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH27 - Include or exclude channel 27 - 27 - 27 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH28 - Include or exclude channel 28 - 28 - 28 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH29 - Include or exclude channel 29 - 29 - 29 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH30 - Include or exclude channel 30 - 30 - 30 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - CH31 - Include or exclude channel 31 - 31 - 31 - - - Excluded - Exclude - 0 - - - Included - Include - 1 - - - - - - - 32 - 0x004 - FORK[%s] - Fork - PPI_FORK - read-write - 0x910 - - TEP - Description cluster: Channel n task end-point - 0x000 - read-write - - - TEP - Pointer to task register - 0 - 31 - - - - - - - - MWU - Memory Watch Unit - 0x40020000 - - 0 - 0x1000 - registers - - - MWU - 32 - - MWU - 0x20 - - - 4 - 0x008 - EVENTS_REGION[%s] - Peripheral events. - MWU_EVENTS_REGION - read-write - 0x100 - - WA - Description cluster: Write access to region n detected - 0x000 - read-write - - - WA - Write access to region n detected - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - RA - Description cluster: Read access to region n detected - 0x004 - read-write - - - RA - Read access to region n detected - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - - 2 - 0x008 - EVENTS_PREGION[%s] - Peripheral events. - MWU_EVENTS_PREGION - read-write - 0x160 - - WA - Description cluster: Write access to peripheral region n detected - 0x000 - read-write - - - WA - Write access to peripheral region n detected - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - RA - Description cluster: Read access to peripheral region n detected - 0x004 - read-write - - - RA - Read access to peripheral region n detected - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - REGION0WA - Enable or disable interrupt for event REGION0WA - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION0RA - Enable or disable interrupt for event REGION0RA - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION1WA - Enable or disable interrupt for event REGION1WA - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION1RA - Enable or disable interrupt for event REGION1RA - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION2WA - Enable or disable interrupt for event REGION2WA - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION2RA - Enable or disable interrupt for event REGION2RA - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION3WA - Enable or disable interrupt for event REGION3WA - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION3RA - Enable or disable interrupt for event REGION3RA - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION0WA - Enable or disable interrupt for event PREGION0WA - 24 - 24 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION0RA - Enable or disable interrupt for event PREGION0RA - 25 - 25 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION1WA - Enable or disable interrupt for event PREGION1WA - 26 - 26 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION1RA - Enable or disable interrupt for event PREGION1RA - 27 - 27 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - REGION0WA - Write '1' to enable interrupt for event REGION0WA - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION0RA - Write '1' to enable interrupt for event REGION0RA - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION1WA - Write '1' to enable interrupt for event REGION1WA - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION1RA - Write '1' to enable interrupt for event REGION1RA - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION2WA - Write '1' to enable interrupt for event REGION2WA - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION2RA - Write '1' to enable interrupt for event REGION2RA - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION3WA - Write '1' to enable interrupt for event REGION3WA - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION3RA - Write '1' to enable interrupt for event REGION3RA - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION0WA - Write '1' to enable interrupt for event PREGION0WA - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION0RA - Write '1' to enable interrupt for event PREGION0RA - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION1WA - Write '1' to enable interrupt for event PREGION1WA - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION1RA - Write '1' to enable interrupt for event PREGION1RA - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - REGION0WA - Write '1' to disable interrupt for event REGION0WA - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION0RA - Write '1' to disable interrupt for event REGION0RA - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION1WA - Write '1' to disable interrupt for event REGION1WA - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION1RA - Write '1' to disable interrupt for event REGION1RA - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION2WA - Write '1' to disable interrupt for event REGION2WA - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION2RA - Write '1' to disable interrupt for event REGION2RA - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION3WA - Write '1' to disable interrupt for event REGION3WA - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION3RA - Write '1' to disable interrupt for event REGION3RA - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION0WA - Write '1' to disable interrupt for event PREGION0WA - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION0RA - Write '1' to disable interrupt for event PREGION0RA - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION1WA - Write '1' to disable interrupt for event PREGION1WA - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION1RA - Write '1' to disable interrupt for event PREGION1RA - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - NMIEN - Enable or disable interrupt - 0x320 - read-write - - - REGION0WA - Enable or disable interrupt for event REGION0WA - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION0RA - Enable or disable interrupt for event REGION0RA - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION1WA - Enable or disable interrupt for event REGION1WA - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION1RA - Enable or disable interrupt for event REGION1RA - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION2WA - Enable or disable interrupt for event REGION2WA - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION2RA - Enable or disable interrupt for event REGION2RA - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION3WA - Enable or disable interrupt for event REGION3WA - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - REGION3RA - Enable or disable interrupt for event REGION3RA - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION0WA - Enable or disable interrupt for event PREGION0WA - 24 - 24 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION0RA - Enable or disable interrupt for event PREGION0RA - 25 - 25 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION1WA - Enable or disable interrupt for event PREGION1WA - 26 - 26 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - PREGION1RA - Enable or disable interrupt for event PREGION1RA - 27 - 27 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - NMIENSET - Enable interrupt - 0x324 - read-write - - - REGION0WA - Write '1' to enable interrupt for event REGION0WA - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION0RA - Write '1' to enable interrupt for event REGION0RA - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION1WA - Write '1' to enable interrupt for event REGION1WA - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION1RA - Write '1' to enable interrupt for event REGION1RA - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION2WA - Write '1' to enable interrupt for event REGION2WA - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION2RA - Write '1' to enable interrupt for event REGION2RA - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION3WA - Write '1' to enable interrupt for event REGION3WA - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - REGION3RA - Write '1' to enable interrupt for event REGION3RA - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION0WA - Write '1' to enable interrupt for event PREGION0WA - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION0RA - Write '1' to enable interrupt for event PREGION0RA - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION1WA - Write '1' to enable interrupt for event PREGION1WA - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - PREGION1RA - Write '1' to enable interrupt for event PREGION1RA - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - NMIENCLR - Disable interrupt - 0x328 - read-write - - - REGION0WA - Write '1' to disable interrupt for event REGION0WA - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION0RA - Write '1' to disable interrupt for event REGION0RA - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION1WA - Write '1' to disable interrupt for event REGION1WA - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION1RA - Write '1' to disable interrupt for event REGION1RA - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION2WA - Write '1' to disable interrupt for event REGION2WA - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION2RA - Write '1' to disable interrupt for event REGION2RA - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION3WA - Write '1' to disable interrupt for event REGION3WA - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - REGION3RA - Write '1' to disable interrupt for event REGION3RA - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION0WA - Write '1' to disable interrupt for event PREGION0WA - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION0RA - Write '1' to disable interrupt for event PREGION0RA - 25 - 25 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION1WA - Write '1' to disable interrupt for event PREGION1WA - 26 - 26 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - PREGION1RA - Write '1' to disable interrupt for event PREGION1RA - 27 - 27 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - 2 - 0x008 - PERREGION[%s] - Unspecified - MWU_PERREGION - read-write - 0x400 - - SUBSTATWA - Description cluster: Source of event/interrupt in region n, write access detected while corresponding subregion was enabled for watching - 0x000 - read-write - oneToClear - - - SR0 - Subregion 0 in region n (write '1' to clear) - 0 - 0 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR1 - Subregion 1 in region n (write '1' to clear) - 1 - 1 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR2 - Subregion 2 in region n (write '1' to clear) - 2 - 2 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR3 - Subregion 3 in region n (write '1' to clear) - 3 - 3 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR4 - Subregion 4 in region n (write '1' to clear) - 4 - 4 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR5 - Subregion 5 in region n (write '1' to clear) - 5 - 5 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR6 - Subregion 6 in region n (write '1' to clear) - 6 - 6 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR7 - Subregion 7 in region n (write '1' to clear) - 7 - 7 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR8 - Subregion 8 in region n (write '1' to clear) - 8 - 8 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR9 - Subregion 9 in region n (write '1' to clear) - 9 - 9 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR10 - Subregion 10 in region n (write '1' to clear) - 10 - 10 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR11 - Subregion 11 in region n (write '1' to clear) - 11 - 11 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR12 - Subregion 12 in region n (write '1' to clear) - 12 - 12 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR13 - Subregion 13 in region n (write '1' to clear) - 13 - 13 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR14 - Subregion 14 in region n (write '1' to clear) - 14 - 14 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR15 - Subregion 15 in region n (write '1' to clear) - 15 - 15 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR16 - Subregion 16 in region n (write '1' to clear) - 16 - 16 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR17 - Subregion 17 in region n (write '1' to clear) - 17 - 17 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR18 - Subregion 18 in region n (write '1' to clear) - 18 - 18 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR19 - Subregion 19 in region n (write '1' to clear) - 19 - 19 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR20 - Subregion 20 in region n (write '1' to clear) - 20 - 20 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR21 - Subregion 21 in region n (write '1' to clear) - 21 - 21 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR22 - Subregion 22 in region n (write '1' to clear) - 22 - 22 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR23 - Subregion 23 in region n (write '1' to clear) - 23 - 23 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR24 - Subregion 24 in region n (write '1' to clear) - 24 - 24 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR25 - Subregion 25 in region n (write '1' to clear) - 25 - 25 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR26 - Subregion 26 in region n (write '1' to clear) - 26 - 26 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR27 - Subregion 27 in region n (write '1' to clear) - 27 - 27 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR28 - Subregion 28 in region n (write '1' to clear) - 28 - 28 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR29 - Subregion 29 in region n (write '1' to clear) - 29 - 29 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR30 - Subregion 30 in region n (write '1' to clear) - 30 - 30 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - SR31 - Subregion 31 in region n (write '1' to clear) - 31 - 31 - - - NoAccess - No write access occurred in this subregion - 0 - - - Access - Write access(es) occurred in this subregion - 1 - - - - - - - SUBSTATRA - Description cluster: Source of event/interrupt in region n, read access detected while corresponding subregion was enabled for watching - 0x004 - read-write - oneToClear - - - SR0 - Subregion 0 in region n (write '1' to clear) - 0 - 0 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR1 - Subregion 1 in region n (write '1' to clear) - 1 - 1 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR2 - Subregion 2 in region n (write '1' to clear) - 2 - 2 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR3 - Subregion 3 in region n (write '1' to clear) - 3 - 3 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR4 - Subregion 4 in region n (write '1' to clear) - 4 - 4 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR5 - Subregion 5 in region n (write '1' to clear) - 5 - 5 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR6 - Subregion 6 in region n (write '1' to clear) - 6 - 6 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR7 - Subregion 7 in region n (write '1' to clear) - 7 - 7 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR8 - Subregion 8 in region n (write '1' to clear) - 8 - 8 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR9 - Subregion 9 in region n (write '1' to clear) - 9 - 9 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR10 - Subregion 10 in region n (write '1' to clear) - 10 - 10 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR11 - Subregion 11 in region n (write '1' to clear) - 11 - 11 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR12 - Subregion 12 in region n (write '1' to clear) - 12 - 12 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR13 - Subregion 13 in region n (write '1' to clear) - 13 - 13 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR14 - Subregion 14 in region n (write '1' to clear) - 14 - 14 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR15 - Subregion 15 in region n (write '1' to clear) - 15 - 15 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR16 - Subregion 16 in region n (write '1' to clear) - 16 - 16 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR17 - Subregion 17 in region n (write '1' to clear) - 17 - 17 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR18 - Subregion 18 in region n (write '1' to clear) - 18 - 18 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR19 - Subregion 19 in region n (write '1' to clear) - 19 - 19 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR20 - Subregion 20 in region n (write '1' to clear) - 20 - 20 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR21 - Subregion 21 in region n (write '1' to clear) - 21 - 21 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR22 - Subregion 22 in region n (write '1' to clear) - 22 - 22 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR23 - Subregion 23 in region n (write '1' to clear) - 23 - 23 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR24 - Subregion 24 in region n (write '1' to clear) - 24 - 24 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR25 - Subregion 25 in region n (write '1' to clear) - 25 - 25 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR26 - Subregion 26 in region n (write '1' to clear) - 26 - 26 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR27 - Subregion 27 in region n (write '1' to clear) - 27 - 27 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR28 - Subregion 28 in region n (write '1' to clear) - 28 - 28 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR29 - Subregion 29 in region n (write '1' to clear) - 29 - 29 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR30 - Subregion 30 in region n (write '1' to clear) - 30 - 30 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - SR31 - Subregion 31 in region n (write '1' to clear) - 31 - 31 - - - NoAccess - No read access occurred in this subregion - 0 - - - Access - Read access(es) occurred in this subregion - 1 - - - - - - - - REGIONEN - Enable/disable regions watch - 0x510 - read-write - - - RGN0WA - Enable/disable write access watch in region[0] - 0 - 0 - - - Disable - Disable write access watch in this region - 0 - - - Enable - Enable write access watch in this region - 1 - - - - - RGN0RA - Enable/disable read access watch in region[0] - 1 - 1 - - - Disable - Disable read access watch in this region - 0 - - - Enable - Enable read access watch in this region - 1 - - - - - RGN1WA - Enable/disable write access watch in region[1] - 2 - 2 - - - Disable - Disable write access watch in this region - 0 - - - Enable - Enable write access watch in this region - 1 - - - - - RGN1RA - Enable/disable read access watch in region[1] - 3 - 3 - - - Disable - Disable read access watch in this region - 0 - - - Enable - Enable read access watch in this region - 1 - - - - - RGN2WA - Enable/disable write access watch in region[2] - 4 - 4 - - - Disable - Disable write access watch in this region - 0 - - - Enable - Enable write access watch in this region - 1 - - - - - RGN2RA - Enable/disable read access watch in region[2] - 5 - 5 - - - Disable - Disable read access watch in this region - 0 - - - Enable - Enable read access watch in this region - 1 - - - - - RGN3WA - Enable/disable write access watch in region[3] - 6 - 6 - - - Disable - Disable write access watch in this region - 0 - - - Enable - Enable write access watch in this region - 1 - - - - - RGN3RA - Enable/disable read access watch in region[3] - 7 - 7 - - - Disable - Disable read access watch in this region - 0 - - - Enable - Enable read access watch in this region - 1 - - - - - PRGN0WA - Enable/disable write access watch in PREGION[0] - 24 - 24 - - - Disable - Disable write access watch in this PREGION - 0 - - - Enable - Enable write access watch in this PREGION - 1 - - - - - PRGN0RA - Enable/disable read access watch in PREGION[0] - 25 - 25 - - - Disable - Disable read access watch in this PREGION - 0 - - - Enable - Enable read access watch in this PREGION - 1 - - - - - PRGN1WA - Enable/disable write access watch in PREGION[1] - 26 - 26 - - - Disable - Disable write access watch in this PREGION - 0 - - - Enable - Enable write access watch in this PREGION - 1 - - - - - PRGN1RA - Enable/disable read access watch in PREGION[1] - 27 - 27 - - - Disable - Disable read access watch in this PREGION - 0 - - - Enable - Enable read access watch in this PREGION - 1 - - - - - - - REGIONENSET - Enable regions watch - 0x514 - read-write - - - RGN0WA - Enable write access watch in region[0] - 0 - 0 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Set - Enable write access watch in this region - 1 - - - - - RGN0RA - Enable read access watch in region[0] - 1 - 1 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Set - Enable read access watch in this region - 1 - - - - - RGN1WA - Enable write access watch in region[1] - 2 - 2 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Set - Enable write access watch in this region - 1 - - - - - RGN1RA - Enable read access watch in region[1] - 3 - 3 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Set - Enable read access watch in this region - 1 - - - - - RGN2WA - Enable write access watch in region[2] - 4 - 4 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Set - Enable write access watch in this region - 1 - - - - - RGN2RA - Enable read access watch in region[2] - 5 - 5 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Set - Enable read access watch in this region - 1 - - - - - RGN3WA - Enable write access watch in region[3] - 6 - 6 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Set - Enable write access watch in this region - 1 - - - - - RGN3RA - Enable read access watch in region[3] - 7 - 7 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Set - Enable read access watch in this region - 1 - - - - - PRGN0WA - Enable write access watch in PREGION[0] - 24 - 24 - - read - - Disabled - Write access watch in this PREGION is disabled - 0 - - - Enabled - Write access watch in this PREGION is enabled - 1 - - - - write - - Set - Enable write access watch in this PREGION - 1 - - - - - PRGN0RA - Enable read access watch in PREGION[0] - 25 - 25 - - read - - Disabled - Read access watch in this PREGION is disabled - 0 - - - Enabled - Read access watch in this PREGION is enabled - 1 - - - - write - - Set - Enable read access watch in this PREGION - 1 - - - - - PRGN1WA - Enable write access watch in PREGION[1] - 26 - 26 - - read - - Disabled - Write access watch in this PREGION is disabled - 0 - - - Enabled - Write access watch in this PREGION is enabled - 1 - - - - write - - Set - Enable write access watch in this PREGION - 1 - - - - - PRGN1RA - Enable read access watch in PREGION[1] - 27 - 27 - - read - - Disabled - Read access watch in this PREGION is disabled - 0 - - - Enabled - Read access watch in this PREGION is enabled - 1 - - - - write - - Set - Enable read access watch in this PREGION - 1 - - - - - - - REGIONENCLR - Disable regions watch - 0x518 - read-write - - - RGN0WA - Disable write access watch in region[0] - 0 - 0 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Clear - Disable write access watch in this region - 1 - - - - - RGN0RA - Disable read access watch in region[0] - 1 - 1 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Clear - Disable read access watch in this region - 1 - - - - - RGN1WA - Disable write access watch in region[1] - 2 - 2 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Clear - Disable write access watch in this region - 1 - - - - - RGN1RA - Disable read access watch in region[1] - 3 - 3 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Clear - Disable read access watch in this region - 1 - - - - - RGN2WA - Disable write access watch in region[2] - 4 - 4 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Clear - Disable write access watch in this region - 1 - - - - - RGN2RA - Disable read access watch in region[2] - 5 - 5 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Clear - Disable read access watch in this region - 1 - - - - - RGN3WA - Disable write access watch in region[3] - 6 - 6 - - read - - Disabled - Write access watch in this region is disabled - 0 - - - Enabled - Write access watch in this region is enabled - 1 - - - - write - - Clear - Disable write access watch in this region - 1 - - - - - RGN3RA - Disable read access watch in region[3] - 7 - 7 - - read - - Disabled - Read access watch in this region is disabled - 0 - - - Enabled - Read access watch in this region is enabled - 1 - - - - write - - Clear - Disable read access watch in this region - 1 - - - - - PRGN0WA - Disable write access watch in PREGION[0] - 24 - 24 - - read - - Disabled - Write access watch in this PREGION is disabled - 0 - - - Enabled - Write access watch in this PREGION is enabled - 1 - - - - write - - Clear - Disable write access watch in this PREGION - 1 - - - - - PRGN0RA - Disable read access watch in PREGION[0] - 25 - 25 - - read - - Disabled - Read access watch in this PREGION is disabled - 0 - - - Enabled - Read access watch in this PREGION is enabled - 1 - - - - write - - Clear - Disable read access watch in this PREGION - 1 - - - - - PRGN1WA - Disable write access watch in PREGION[1] - 26 - 26 - - read - - Disabled - Write access watch in this PREGION is disabled - 0 - - - Enabled - Write access watch in this PREGION is enabled - 1 - - - - write - - Clear - Disable write access watch in this PREGION - 1 - - - - - PRGN1RA - Disable read access watch in PREGION[1] - 27 - 27 - - read - - Disabled - Read access watch in this PREGION is disabled - 0 - - - Enabled - Read access watch in this PREGION is enabled - 1 - - - - write - - Clear - Disable read access watch in this PREGION - 1 - - - - - - - 4 - 0x010 - REGION[%s] - Unspecified - MWU_REGION - read-write - 0x600 - - START - Description cluster: Start address for region n - 0x000 - read-write - 0x00000000 - - - START - Start address for region - 0 - 31 - - - - - END - Description cluster: End address of region n - 0x004 - read-write - - - END - End address of region. - 0 - 31 - - - - - - 2 - 0x010 - PREGION[%s] - Unspecified - MWU_PREGION - read-write - 0x6C0 - - START - Description cluster: Reserved for future use - 0x000 - read-only - - - START - Reserved for future use - 0 - 31 - - - - - END - Description cluster: Reserved for future use - 0x004 - read-only - - - END - Reserved for future use - 0 - 31 - - - - - SUBS - Description cluster: Subregions of region n - 0x008 - read-write - 0x00000000 - - - SR0 - Include or exclude subregion 0 in region - 0 - 0 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR1 - Include or exclude subregion 1 in region - 1 - 1 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR2 - Include or exclude subregion 2 in region - 2 - 2 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR3 - Include or exclude subregion 3 in region - 3 - 3 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR4 - Include or exclude subregion 4 in region - 4 - 4 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR5 - Include or exclude subregion 5 in region - 5 - 5 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR6 - Include or exclude subregion 6 in region - 6 - 6 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR7 - Include or exclude subregion 7 in region - 7 - 7 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR8 - Include or exclude subregion 8 in region - 8 - 8 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR9 - Include or exclude subregion 9 in region - 9 - 9 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR10 - Include or exclude subregion 10 in region - 10 - 10 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR11 - Include or exclude subregion 11 in region - 11 - 11 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR12 - Include or exclude subregion 12 in region - 12 - 12 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR13 - Include or exclude subregion 13 in region - 13 - 13 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR14 - Include or exclude subregion 14 in region - 14 - 14 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR15 - Include or exclude subregion 15 in region - 15 - 15 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR16 - Include or exclude subregion 16 in region - 16 - 16 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR17 - Include or exclude subregion 17 in region - 17 - 17 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR18 - Include or exclude subregion 18 in region - 18 - 18 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR19 - Include or exclude subregion 19 in region - 19 - 19 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR20 - Include or exclude subregion 20 in region - 20 - 20 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR21 - Include or exclude subregion 21 in region - 21 - 21 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR22 - Include or exclude subregion 22 in region - 22 - 22 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR23 - Include or exclude subregion 23 in region - 23 - 23 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR24 - Include or exclude subregion 24 in region - 24 - 24 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR25 - Include or exclude subregion 25 in region - 25 - 25 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR26 - Include or exclude subregion 26 in region - 26 - 26 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR27 - Include or exclude subregion 27 in region - 27 - 27 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR28 - Include or exclude subregion 28 in region - 28 - 28 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR29 - Include or exclude subregion 29 in region - 29 - 29 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR30 - Include or exclude subregion 30 in region - 30 - 30 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - SR31 - Include or exclude subregion 31 in region - 31 - 31 - - - Exclude - Exclude - 0 - - - Include - Include - 1 - - - - - - - - - - PWM1 - Pulse width modulation unit 1 - 0x40021000 - - PWM1 - 33 - - - - PWM2 - Pulse width modulation unit 2 - 0x40022000 - - PWM2 - 34 - - - - SPI2 - Serial Peripheral Interface 2 - 0x40023000 - - SPIM2_SPIS2_SPI2 - 35 - - - - SPIM2 - Serial Peripheral Interface Master with EasyDMA 2 - 0x40023000 - SPI2 - - SPIM2_SPIS2_SPI2 - 35 - - - - SPIS2 - SPI Slave 2 - 0x40023000 - SPI2 - - SPIM2_SPIS2_SPI2 - 35 - - - - RTC2 - Real time counter 2 - 0x40024000 - - RTC2 - 36 - - - - I2S - Inter-IC Sound - 0x40025000 - - 0 - 0x1000 - registers - - - I2S - 37 - - I2S - 0x20 - - - TASKS_START - Starts continuous I2S transfer. Also starts MCK generator when this is enabled. - 0x000 - write-only - - - TASKS_START - Starts continuous I2S transfer. Also starts MCK generator when this is enabled. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STOP - Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the STOPPED event to be generated. - 0x004 - write-only - - - TASKS_STOP - Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the STOPPED event to be generated. - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_RXPTRUPD - The RXD.PTR register has been copied to internal double-buffers. - When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words that are received on the SDIN pin. - 0x104 - read-write - - - EVENTS_RXPTRUPD - The RXD.PTR register has been copied to internal double-buffers. - When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words that are received on the SDIN pin. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_STOPPED - I2S transfer stopped. - 0x108 - read-write - - - EVENTS_STOPPED - I2S transfer stopped. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_TXPTRUPD - The TDX.PTR register has been copied to internal double-buffers. - When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin. - 0x114 - read-write - - - EVENTS_TXPTRUPD - The TDX.PTR register has been copied to internal double-buffers. - When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - RXPTRUPD - Enable or disable interrupt for event RXPTRUPD - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STOPPED - Enable or disable interrupt for event STOPPED - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - TXPTRUPD - Enable or disable interrupt for event TXPTRUPD - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - RXPTRUPD - Write '1' to enable interrupt for event RXPTRUPD - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STOPPED - Write '1' to enable interrupt for event STOPPED - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - TXPTRUPD - Write '1' to enable interrupt for event TXPTRUPD - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - RXPTRUPD - Write '1' to disable interrupt for event RXPTRUPD - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STOPPED - Write '1' to disable interrupt for event STOPPED - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - TXPTRUPD - Write '1' to disable interrupt for event TXPTRUPD - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - Enable I2S module. - 0x500 - read-write - 0x00000000 - - - ENABLE - Enable I2S module. - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - CONFIG - Unspecified - I2S_CONFIG - read-write - 0x504 - - MODE - I2S mode. - 0x000 - read-write - 0x00000000 - - - MODE - I2S mode. - 0 - 0 - - - Master - Master mode. SCK and LRCK generated from internal master clcok (MCK) and output on pins defined by PSEL.xxx. - 0 - - - Slave - Slave mode. SCK and LRCK generated by external master and received on pins defined by PSEL.xxx - 1 - - - - - - - RXEN - Reception (RX) enable. - 0x004 - read-write - 0x00000000 - - - RXEN - Reception (RX) enable. - 0 - 0 - - - Disabled - Reception disabled and now data will be written to the RXD.PTR address. - 0 - - - Enabled - Reception enabled. - 1 - - - - - - - TXEN - Transmission (TX) enable. - 0x008 - read-write - 0x00000001 - - - TXEN - Transmission (TX) enable. - 0 - 0 - - - Disabled - Transmission disabled and now data will be read from the RXD.TXD address. - 0 - - - Enabled - Transmission enabled. - 1 - - - - - - - MCKEN - Master clock generator enable. - 0x00C - read-write - 0x00000001 - - - MCKEN - Master clock generator enable. - 0 - 0 - - - Disabled - Master clock generator disabled and PSEL.MCK not connected(available as GPIO). - 0 - - - Enabled - Master clock generator running and MCK output on PSEL.MCK. - 1 - - - - - - - MCKFREQ - Master clock generator frequency. - 0x010 - read-write - 0x20000000 - - - MCKFREQ - Master clock generator frequency. - 0 - 31 - - - 32MDIV8 - 32 MHz / 8 = 4.0 MHz - 0x20000000 - - - 32MDIV10 - 32 MHz / 10 = 3.2 MHz - 0x18000000 - - - 32MDIV11 - 32 MHz / 11 = 2.9090909 MHz - 0x16000000 - - - 32MDIV15 - 32 MHz / 15 = 2.1333333 MHz - 0x11000000 - - - 32MDIV16 - 32 MHz / 16 = 2.0 MHz - 0x10000000 - - - 32MDIV21 - 32 MHz / 21 = 1.5238095 - 0x0C000000 - - - 32MDIV23 - 32 MHz / 23 = 1.3913043 MHz - 0x0B000000 - - - 32MDIV30 - 32 MHz / 30 = 1.0666667 MHz - 0x08800000 - - - 32MDIV31 - 32 MHz / 31 = 1.0322581 MHz - 0x08400000 - - - 32MDIV32 - 32 MHz / 32 = 1.0 MHz - 0x08000000 - - - 32MDIV42 - 32 MHz / 42 = 0.7619048 MHz - 0x06000000 - - - 32MDIV63 - 32 MHz / 63 = 0.5079365 MHz - 0x04100000 - - - 32MDIV125 - 32 MHz / 125 = 0.256 MHz - 0x020C0000 - - - - - - - RATIO - MCK / LRCK ratio. - 0x014 - read-write - 0x00000006 - - - RATIO - MCK / LRCK ratio. - 0 - 3 - - - 32X - LRCK = MCK / 32 - 0 - - - 48X - LRCK = MCK / 48 - 1 - - - 64X - LRCK = MCK / 64 - 2 - - - 96X - LRCK = MCK / 96 - 3 - - - 128X - LRCK = MCK / 128 - 4 - - - 192X - LRCK = MCK / 192 - 5 - - - 256X - LRCK = MCK / 256 - 6 - - - 384X - LRCK = MCK / 384 - 7 - - - 512X - LRCK = MCK / 512 - 8 - - - - - - - SWIDTH - Sample width. - 0x018 - read-write - 0x00000001 - - - SWIDTH - Sample width. - 0 - 1 - - - 8Bit - 8 bit. - 0 - - - 16Bit - 16 bit. - 1 - - - 24Bit - 24 bit. - 2 - - - - - - - ALIGN - Alignment of sample within a frame. - 0x01C - read-write - 0x00000000 - - - ALIGN - Alignment of sample within a frame. - 0 - 0 - - - Left - Left-aligned. - 0 - - - Right - Right-aligned. - 1 - - - - - - - FORMAT - Frame format. - 0x020 - read-write - 0x00000000 - - - FORMAT - Frame format. - 0 - 0 - - - I2S - Original I2S format. - 0 - - - Aligned - Alternate (left- or right-aligned) format. - 1 - - - - - - - CHANNELS - Enable channels. - 0x024 - read-write - 0x00000000 - - - CHANNELS - Enable channels. - 0 - 1 - - - Stereo - Stereo. - 0 - - - Left - Left only. - 1 - - - Right - Right only. - 2 - - - - - - - - RXD - Unspecified - I2S_RXD - read-write - 0x538 - - PTR - Receive buffer RAM start address. - 0x000 - read-write - 0x00000000 - - - PTR - Receive buffer Data RAM start address. When receiving, words containing samples will be written to this address. This address is a word aligned Data RAM address. - 0 - 31 - - - - - - TXD - Unspecified - I2S_TXD - read-write - 0x540 - - PTR - Transmit buffer RAM start address. - 0x000 - read-write - 0x00000000 - - - PTR - Transmit buffer Data RAM start address. When transmitting, words containing samples will be fetched from this address. This address is a word aligned Data RAM address. - 0 - 31 - - - - - - RXTXD - Unspecified - I2S_RXTXD - read-write - 0x550 - - MAXCNT - Size of RXD and TXD buffers. - 0x000 - read-write - 0x00000000 - - - MAXCNT - Size of RXD and TXD buffers in number of 32 bit words. - 0 - 13 - - - - - - PSEL - Unspecified - I2S_PSEL - read-write - 0x560 - - MCK - Pin select for MCK signal. - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SCK - Pin select for SCK signal. - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - LRCK - Pin select for LRCK signal. - 0x008 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDIN - Pin select for SDIN signal. - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - SDOUT - Pin select for SDOUT signal. - 0x010 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - - - FPU - FPU - 0x40026000 - - 0 - 0x1000 - registers - - - FPU - 38 - - FPU - 0x20 - - - UNUSED - Unused. - 0x000 - 0x00000000 - read-only - - - - - USBD - Universal serial bus device - 0x40027000 - - 0 - 0x1000 - registers - - - USBD - 39 - - USBD - 0x20 - - - 0x8 - 0x4 - TASKS_STARTEPIN[%s] - Description collection: Captures the EPIN[n].PTR and EPIN[n].MAXCNT registers values, and enables endpoint IN n to respond to traffic from host - 0x004 - write-only - - - TASKS_STARTEPIN - Captures the EPIN[n].PTR and EPIN[n].MAXCNT registers values, and enables endpoint IN n to respond to traffic from host - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STARTISOIN - Captures the ISOIN.PTR and ISOIN.MAXCNT registers values, and enables sending data on ISO endpoint - 0x024 - write-only - - - TASKS_STARTISOIN - Captures the ISOIN.PTR and ISOIN.MAXCNT registers values, and enables sending data on ISO endpoint - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - 0x8 - 0x4 - TASKS_STARTEPOUT[%s] - Description collection: Captures the EPOUT[n].PTR and EPOUT[n].MAXCNT registers values, and enables endpoint n to respond to traffic from host - 0x028 - write-only - - - TASKS_STARTEPOUT - Captures the EPOUT[n].PTR and EPOUT[n].MAXCNT registers values, and enables endpoint n to respond to traffic from host - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_STARTISOOUT - Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers values, and enables receiving of data on ISO endpoint - 0x048 - write-only - - - TASKS_STARTISOOUT - Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers values, and enables receiving of data on ISO endpoint - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_EP0RCVOUT - Allows OUT data stage on control endpoint 0 - 0x04C - write-only - - - TASKS_EP0RCVOUT - Allows OUT data stage on control endpoint 0 - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_EP0STATUS - Allows status stage on control endpoint 0 - 0x050 - write-only - - - TASKS_EP0STATUS - Allows status stage on control endpoint 0 - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_EP0STALL - Stalls data and status stage on control endpoint 0 - 0x054 - write-only - - - TASKS_EP0STALL - Stalls data and status stage on control endpoint 0 - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_DPDMDRIVE - Forces D+ and D- lines into the state defined in the DPDMVALUE register - 0x058 - write-only - - - TASKS_DPDMDRIVE - Forces D+ and D- lines into the state defined in the DPDMVALUE register - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_DPDMNODRIVE - Stops forcing D+ and D- lines into any state (USB engine takes control) - 0x05C - write-only - - - TASKS_DPDMNODRIVE - Stops forcing D+ and D- lines into any state (USB engine takes control) - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_USBRESET - Signals that a USB reset condition has been detected on USB lines - 0x100 - read-write - - - EVENTS_USBRESET - Signals that a USB reset condition has been detected on USB lines - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_STARTED - Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT, or EPOUT[n].PTR and EPOUT[n].MAXCNT registers have been captured on all endpoints reported in the EPSTATUS register - 0x104 - read-write - - - EVENTS_STARTED - Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT, or EPOUT[n].PTR and EPOUT[n].MAXCNT registers have been captured on all endpoints reported in the EPSTATUS register - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - 0x8 - 0x4 - EVENTS_ENDEPIN[%s] - Description collection: The whole EPIN[n] buffer has been consumed. The RAM buffer can be accessed safely by software. - 0x108 - read-write - - - EVENTS_ENDEPIN - The whole EPIN[n] buffer has been consumed. The RAM buffer can be accessed safely by software. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_EP0DATADONE - An acknowledged data transfer has taken place on the control endpoint - 0x128 - read-write - - - EVENTS_EP0DATADONE - An acknowledged data transfer has taken place on the control endpoint - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDISOIN - The whole ISOIN buffer has been consumed. The RAM buffer can be accessed safely by software. - 0x12C - read-write - - - EVENTS_ENDISOIN - The whole ISOIN buffer has been consumed. The RAM buffer can be accessed safely by software. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - 0x8 - 0x4 - EVENTS_ENDEPOUT[%s] - Description collection: The whole EPOUT[n] buffer has been consumed. The RAM buffer can be accessed safely by software. - 0x130 - read-write - - - EVENTS_ENDEPOUT - The whole EPOUT[n] buffer has been consumed. The RAM buffer can be accessed safely by software. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_ENDISOOUT - The whole ISOOUT buffer has been consumed. The RAM buffer can be accessed safely by software. - 0x150 - read-write - - - EVENTS_ENDISOOUT - The whole ISOOUT buffer has been consumed. The RAM buffer can be accessed safely by software. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_SOF - Signals that a SOF (start of frame) condition has been detected on USB lines - 0x154 - read-write - - - EVENTS_SOF - Signals that a SOF (start of frame) condition has been detected on USB lines - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_USBEVENT - An event or an error not covered by specific events has occurred. Check EVENTCAUSE register to find the cause. - 0x158 - read-write - - - EVENTS_USBEVENT - An event or an error not covered by specific events has occurred. Check EVENTCAUSE register to find the cause. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_EP0SETUP - A valid SETUP token has been received (and acknowledged) on the control endpoint - 0x15C - read-write - - - EVENTS_EP0SETUP - A valid SETUP token has been received (and acknowledged) on the control endpoint - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - EVENTS_EPDATA - A data transfer has occurred on a data endpoint, indicated by the EPDATASTATUS register - 0x160 - read-write - - - EVENTS_EPDATA - A data transfer has occurred on a data endpoint, indicated by the EPDATASTATUS register - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - SHORTS - Shortcuts between local events and tasks - 0x200 - read-write - - - EP0DATADONE_STARTEPIN0 - Shortcut between event EP0DATADONE and task STARTEPIN[0] - 0 - 0 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - EP0DATADONE_STARTEPOUT0 - Shortcut between event EP0DATADONE and task STARTEPOUT[0] - 1 - 1 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - EP0DATADONE_EP0STATUS - Shortcut between event EP0DATADONE and task EP0STATUS - 2 - 2 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - ENDEPOUT0_EP0STATUS - Shortcut between event ENDEPOUT[0] and task EP0STATUS - 3 - 3 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - ENDEPOUT0_EP0RCVOUT - Shortcut between event ENDEPOUT[0] and task EP0RCVOUT - 4 - 4 - - - Disabled - Disable shortcut - 0 - - - Enabled - Enable shortcut - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - USBRESET - Enable or disable interrupt for event USBRESET - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - STARTED - Enable or disable interrupt for event STARTED - 1 - 1 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPIN0 - Enable or disable interrupt for event ENDEPIN[0] - 2 - 2 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPIN1 - Enable or disable interrupt for event ENDEPIN[1] - 3 - 3 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPIN2 - Enable or disable interrupt for event ENDEPIN[2] - 4 - 4 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPIN3 - Enable or disable interrupt for event ENDEPIN[3] - 5 - 5 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPIN4 - Enable or disable interrupt for event ENDEPIN[4] - 6 - 6 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPIN5 - Enable or disable interrupt for event ENDEPIN[5] - 7 - 7 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPIN6 - Enable or disable interrupt for event ENDEPIN[6] - 8 - 8 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPIN7 - Enable or disable interrupt for event ENDEPIN[7] - 9 - 9 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - EP0DATADONE - Enable or disable interrupt for event EP0DATADONE - 10 - 10 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDISOIN - Enable or disable interrupt for event ENDISOIN - 11 - 11 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPOUT0 - Enable or disable interrupt for event ENDEPOUT[0] - 12 - 12 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPOUT1 - Enable or disable interrupt for event ENDEPOUT[1] - 13 - 13 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPOUT2 - Enable or disable interrupt for event ENDEPOUT[2] - 14 - 14 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPOUT3 - Enable or disable interrupt for event ENDEPOUT[3] - 15 - 15 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPOUT4 - Enable or disable interrupt for event ENDEPOUT[4] - 16 - 16 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPOUT5 - Enable or disable interrupt for event ENDEPOUT[5] - 17 - 17 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPOUT6 - Enable or disable interrupt for event ENDEPOUT[6] - 18 - 18 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDEPOUT7 - Enable or disable interrupt for event ENDEPOUT[7] - 19 - 19 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - ENDISOOUT - Enable or disable interrupt for event ENDISOOUT - 20 - 20 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - SOF - Enable or disable interrupt for event SOF - 21 - 21 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - USBEVENT - Enable or disable interrupt for event USBEVENT - 22 - 22 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - EP0SETUP - Enable or disable interrupt for event EP0SETUP - 23 - 23 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - EPDATA - Enable or disable interrupt for event EPDATA - 24 - 24 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - USBRESET - Write '1' to enable interrupt for event USBRESET - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - STARTED - Write '1' to enable interrupt for event STARTED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPIN0 - Write '1' to enable interrupt for event ENDEPIN[0] - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPIN1 - Write '1' to enable interrupt for event ENDEPIN[1] - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPIN2 - Write '1' to enable interrupt for event ENDEPIN[2] - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPIN3 - Write '1' to enable interrupt for event ENDEPIN[3] - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPIN4 - Write '1' to enable interrupt for event ENDEPIN[4] - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPIN5 - Write '1' to enable interrupt for event ENDEPIN[5] - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPIN6 - Write '1' to enable interrupt for event ENDEPIN[6] - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPIN7 - Write '1' to enable interrupt for event ENDEPIN[7] - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - EP0DATADONE - Write '1' to enable interrupt for event EP0DATADONE - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDISOIN - Write '1' to enable interrupt for event ENDISOIN - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPOUT0 - Write '1' to enable interrupt for event ENDEPOUT[0] - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPOUT1 - Write '1' to enable interrupt for event ENDEPOUT[1] - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPOUT2 - Write '1' to enable interrupt for event ENDEPOUT[2] - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPOUT3 - Write '1' to enable interrupt for event ENDEPOUT[3] - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPOUT4 - Write '1' to enable interrupt for event ENDEPOUT[4] - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPOUT5 - Write '1' to enable interrupt for event ENDEPOUT[5] - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPOUT6 - Write '1' to enable interrupt for event ENDEPOUT[6] - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDEPOUT7 - Write '1' to enable interrupt for event ENDEPOUT[7] - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - ENDISOOUT - Write '1' to enable interrupt for event ENDISOOUT - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - SOF - Write '1' to enable interrupt for event SOF - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - USBEVENT - Write '1' to enable interrupt for event USBEVENT - 22 - 22 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - EP0SETUP - Write '1' to enable interrupt for event EP0SETUP - 23 - 23 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - EPDATA - Write '1' to enable interrupt for event EPDATA - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - USBRESET - Write '1' to disable interrupt for event USBRESET - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - STARTED - Write '1' to disable interrupt for event STARTED - 1 - 1 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPIN0 - Write '1' to disable interrupt for event ENDEPIN[0] - 2 - 2 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPIN1 - Write '1' to disable interrupt for event ENDEPIN[1] - 3 - 3 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPIN2 - Write '1' to disable interrupt for event ENDEPIN[2] - 4 - 4 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPIN3 - Write '1' to disable interrupt for event ENDEPIN[3] - 5 - 5 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPIN4 - Write '1' to disable interrupt for event ENDEPIN[4] - 6 - 6 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPIN5 - Write '1' to disable interrupt for event ENDEPIN[5] - 7 - 7 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPIN6 - Write '1' to disable interrupt for event ENDEPIN[6] - 8 - 8 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPIN7 - Write '1' to disable interrupt for event ENDEPIN[7] - 9 - 9 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - EP0DATADONE - Write '1' to disable interrupt for event EP0DATADONE - 10 - 10 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDISOIN - Write '1' to disable interrupt for event ENDISOIN - 11 - 11 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPOUT0 - Write '1' to disable interrupt for event ENDEPOUT[0] - 12 - 12 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPOUT1 - Write '1' to disable interrupt for event ENDEPOUT[1] - 13 - 13 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPOUT2 - Write '1' to disable interrupt for event ENDEPOUT[2] - 14 - 14 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPOUT3 - Write '1' to disable interrupt for event ENDEPOUT[3] - 15 - 15 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPOUT4 - Write '1' to disable interrupt for event ENDEPOUT[4] - 16 - 16 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPOUT5 - Write '1' to disable interrupt for event ENDEPOUT[5] - 17 - 17 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPOUT6 - Write '1' to disable interrupt for event ENDEPOUT[6] - 18 - 18 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDEPOUT7 - Write '1' to disable interrupt for event ENDEPOUT[7] - 19 - 19 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - ENDISOOUT - Write '1' to disable interrupt for event ENDISOOUT - 20 - 20 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - SOF - Write '1' to disable interrupt for event SOF - 21 - 21 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - USBEVENT - Write '1' to disable interrupt for event USBEVENT - 22 - 22 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - EP0SETUP - Write '1' to disable interrupt for event EP0SETUP - 23 - 23 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - EPDATA - Write '1' to disable interrupt for event EPDATA - 24 - 24 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - EVENTCAUSE - Details on what caused the USBEVENT event - 0x400 - read-write - oneToClear - - - ISOOUTCRC - CRC error was detected on isochronous OUT endpoint 8. Write '1' to clear. - 0 - 0 - - - NotDetected - No error detected - 0 - - - Detected - Error detected - 1 - - - - - SUSPEND - Signals that USB lines have been idle long enough for the device to enter suspend. Write '1' to clear. - 8 - 8 - - - NotDetected - Suspend not detected - 0 - - - Detected - Suspend detected - 1 - - - - - RESUME - Signals that a RESUME condition (K state or activity restart) has been detected on USB lines. Write '1' to clear. - 9 - 9 - - - NotDetected - Resume not detected - 0 - - - Detected - Resume detected - 1 - - - - - USBWUALLOWED - USB MAC has been woken up and operational. Write '1' to clear. - 10 - 10 - - - NotAllowed - Wake up not allowed - 0 - - - Allowed - Wake up allowed - 1 - - - - - READY - USB device is ready for normal operation. Write '1' to clear. - 11 - 11 - - - NotDetected - USBEVENT was not issued due to USBD peripheral ready - 0 - - - Ready - USBD peripheral is ready - 1 - - - - - - - HALTED - Unspecified - USBD_HALTED - read-write - 0x420 - - 0x8 - 0x4 - EPIN[%s] - Description collection: IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint. - 0x000 - read-only - - - GETSTATUS - IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint. - 0 - 15 - - - NotHalted - Endpoint is not halted - 0 - - - Halted - Endpoint is halted - 1 - - - - - - - 0x8 - 0x4 - EPOUT[%s] - Description collection: OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint. - 0x024 - read-only - - - GETSTATUS - OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint. - 0 - 15 - - - NotHalted - Endpoint is not halted - 0 - - - Halted - Endpoint is halted - 1 - - - - - - - - EPSTATUS - Provides information on which endpoint's EasyDMA registers have been captured - 0x468 - read-write - oneToClear - - - EPIN0 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 0 - 0 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPIN1 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 1 - 1 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPIN2 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 2 - 2 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPIN3 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 3 - 3 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPIN4 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 4 - 4 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPIN5 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 5 - 5 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPIN6 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 6 - 6 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPIN7 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 7 - 7 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPIN8 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 8 - 8 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT0 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 16 - 16 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT1 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 17 - 17 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT2 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 18 - 18 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT3 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 19 - 19 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT4 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 20 - 20 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT5 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 21 - 21 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT6 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 22 - 22 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT7 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 23 - 23 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - EPOUT8 - Captured state of endpoint's EasyDMA registers. Write '1' to clear. - 24 - 24 - - - NoData - EasyDMA registers have not been captured for this endpoint - 0 - - - DataDone - EasyDMA registers have been captured for this endpoint - 1 - - - - - - - EPDATASTATUS - Provides information on which endpoint(s) an acknowledged data transfer has occurred (EPDATA event) - 0x46C - read-write - oneToClear - - - EPIN1 - Acknowledged data transfer on this IN endpoint. Write '1' to clear. - 1 - 1 - - - NotDone - No acknowledged data transfer on this endpoint - 0 - - - DataDone - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPIN2 - Acknowledged data transfer on this IN endpoint. Write '1' to clear. - 2 - 2 - - - NotDone - No acknowledged data transfer on this endpoint - 0 - - - DataDone - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPIN3 - Acknowledged data transfer on this IN endpoint. Write '1' to clear. - 3 - 3 - - - NotDone - No acknowledged data transfer on this endpoint - 0 - - - DataDone - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPIN4 - Acknowledged data transfer on this IN endpoint. Write '1' to clear. - 4 - 4 - - - NotDone - No acknowledged data transfer on this endpoint - 0 - - - DataDone - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPIN5 - Acknowledged data transfer on this IN endpoint. Write '1' to clear. - 5 - 5 - - - NotDone - No acknowledged data transfer on this endpoint - 0 - - - DataDone - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPIN6 - Acknowledged data transfer on this IN endpoint. Write '1' to clear. - 6 - 6 - - - NotDone - No acknowledged data transfer on this endpoint - 0 - - - DataDone - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPIN7 - Acknowledged data transfer on this IN endpoint. Write '1' to clear. - 7 - 7 - - - NotDone - No acknowledged data transfer on this endpoint - 0 - - - DataDone - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPOUT1 - Acknowledged data transfer on this OUT endpoint. Write '1' to clear. - 17 - 17 - - - NotStarted - No acknowledged data transfer on this endpoint - 0 - - - Started - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPOUT2 - Acknowledged data transfer on this OUT endpoint. Write '1' to clear. - 18 - 18 - - - NotStarted - No acknowledged data transfer on this endpoint - 0 - - - Started - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPOUT3 - Acknowledged data transfer on this OUT endpoint. Write '1' to clear. - 19 - 19 - - - NotStarted - No acknowledged data transfer on this endpoint - 0 - - - Started - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPOUT4 - Acknowledged data transfer on this OUT endpoint. Write '1' to clear. - 20 - 20 - - - NotStarted - No acknowledged data transfer on this endpoint - 0 - - - Started - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPOUT5 - Acknowledged data transfer on this OUT endpoint. Write '1' to clear. - 21 - 21 - - - NotStarted - No acknowledged data transfer on this endpoint - 0 - - - Started - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPOUT6 - Acknowledged data transfer on this OUT endpoint. Write '1' to clear. - 22 - 22 - - - NotStarted - No acknowledged data transfer on this endpoint - 0 - - - Started - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - EPOUT7 - Acknowledged data transfer on this OUT endpoint. Write '1' to clear. - 23 - 23 - - - NotStarted - No acknowledged data transfer on this endpoint - 0 - - - Started - Acknowledged data transfer on this endpoint has occurred - 1 - - - - - - - USBADDR - Device USB address - 0x470 - read-only - - - ADDR - Device USB address - 0 - 6 - - - - - BMREQUESTTYPE - SETUP data, byte 0, bmRequestType - 0x480 - read-only - 0x00000000 - - - RECIPIENT - Data transfer type - 0 - 4 - - - Device - Device - 0 - - - Interface - Interface - 1 - - - Endpoint - Endpoint - 2 - - - Other - Other - 3 - - - - - TYPE - Data transfer type - 5 - 6 - - - Standard - Standard - 0 - - - Class - Class - 1 - - - Vendor - Vendor - 2 - - - - - DIRECTION - Data transfer direction - 7 - 7 - - - HostToDevice - Host-to-device - 0 - - - DeviceToHost - Device-to-host - 1 - - - - - - - BREQUEST - SETUP data, byte 1, bRequest - 0x484 - read-only - 0x00000000 - - - BREQUEST - SETUP data, byte 1, bRequest. Values provided for standard requests only, user must implement class and vendor values. - 0 - 7 - - - STD_GET_STATUS - Standard request GET_STATUS - 0 - - - STD_CLEAR_FEATURE - Standard request CLEAR_FEATURE - 1 - - - STD_SET_FEATURE - Standard request SET_FEATURE - 3 - - - STD_SET_ADDRESS - Standard request SET_ADDRESS - 5 - - - STD_GET_DESCRIPTOR - Standard request GET_DESCRIPTOR - 6 - - - STD_SET_DESCRIPTOR - Standard request SET_DESCRIPTOR - 7 - - - STD_GET_CONFIGURATION - Standard request GET_CONFIGURATION - 8 - - - STD_SET_CONFIGURATION - Standard request SET_CONFIGURATION - 9 - - - STD_GET_INTERFACE - Standard request GET_INTERFACE - 10 - - - STD_SET_INTERFACE - Standard request SET_INTERFACE - 11 - - - STD_SYNCH_FRAME - Standard request SYNCH_FRAME - 12 - - - - - - - WVALUEL - SETUP data, byte 2, LSB of wValue - 0x488 - read-only - 0x00000000 - - - WVALUEL - SETUP data, byte 2, LSB of wValue - 0 - 7 - - - - - WVALUEH - SETUP data, byte 3, MSB of wValue - 0x48C - read-only - 0x00000000 - - - WVALUEH - SETUP data, byte 3, MSB of wValue - 0 - 7 - - - - - WINDEXL - SETUP data, byte 4, LSB of wIndex - 0x490 - read-only - 0x00000000 - - - WINDEXL - SETUP data, byte 4, LSB of wIndex - 0 - 7 - - - - - WINDEXH - SETUP data, byte 5, MSB of wIndex - 0x494 - read-only - 0x00000000 - - - WINDEXH - SETUP data, byte 5, MSB of wIndex - 0 - 7 - - - - - WLENGTHL - SETUP data, byte 6, LSB of wLength - 0x498 - read-only - 0x00000000 - - - WLENGTHL - SETUP data, byte 6, LSB of wLength - 0 - 7 - - - - - WLENGTHH - SETUP data, byte 7, MSB of wLength - 0x49C - read-only - 0x00000000 - - - WLENGTHH - SETUP data, byte 7, MSB of wLength - 0 - 7 - - - - - SIZE - Unspecified - USBD_SIZE - read-write - 0x4A0 - - 0x8 - 0x4 - EPOUT[%s] - Description collection: Number of bytes received last in the data stage of this OUT endpoint - 0x000 - read-write - - - SIZE - Number of bytes received last in the data stage of this OUT endpoint - 0 - 6 - - - - - ISOOUT - Number of bytes received last on this ISO OUT data endpoint - 0x020 - read-only - 0x00010000 - - - SIZE - Number of bytes received last on this ISO OUT data endpoint - 0 - 9 - - - ZERO - Zero-length data packet received - 16 - 16 - - - Normal - No zero-length data received, use value in SIZE - 0 - - - ZeroData - Zero-length data received, ignore value in SIZE - 1 - - - - - - - - ENABLE - Enable USB - 0x500 - read-write - - - ENABLE - Enable USB - 0 - 0 - - - Disabled - USB peripheral is disabled - 0 - - - Enabled - USB peripheral is enabled - 1 - - - - - - - USBPULLUP - Control of the USB pull-up - 0x504 - read-write - - - CONNECT - Control of the USB pull-up on the D+ line - 0 - 0 - - - Disabled - Pull-up is disconnected - 0 - - - Enabled - Pull-up is connected to D+ - 1 - - - - - - - DPDMVALUE - State D+ and D- lines will be forced into by the DPDMDRIVE task. The DPDMNODRIVE task reverts the control of the lines to MAC IP (no forcing). - 0x508 - read-write - - - STATE - State D+ and D- lines will be forced into by the DPDMDRIVE task - 0 - 4 - - - Resume - D+ forced low, D- forced high (K state) for a timing preset in hardware (50 us or 5 ms, depending on bus state) - 1 - - - J - D+ forced high, D- forced low (J state) - 2 - - - K - D+ forced low, D- forced high (K state) - 4 - - - - - - - DTOGGLE - Data toggle control and status - 0x50C - read-write - 0x00000100 - - - EP - Select bulk endpoint number - 0 - 2 - - - IO - Selects IN or OUT endpoint - 7 - 7 - - - Out - Selects OUT endpoint - 0 - - - In - Selects IN endpoint - 1 - - - - - VALUE - Data toggle value - 8 - 9 - - - Nop - No action on data toggle when writing the register with this value - 0 - - - Data0 - Data toggle is DATA0 on endpoint set by EP and IO - 1 - - - Data1 - Data toggle is DATA1 on endpoint set by EP and IO - 2 - - - - - - - EPINEN - Endpoint IN enable - 0x510 - read-write - 0x00000001 - - - IN0 - Enable IN endpoint 0 - 0 - 0 - - - Disable - Disable endpoint IN 0 (no response to IN tokens) - 0 - - - Enable - Enable endpoint IN 0 (response to IN tokens) - 1 - - - - - IN1 - Enable IN endpoint 1 - 1 - 1 - - - Disable - Disable endpoint IN 1 (no response to IN tokens) - 0 - - - Enable - Enable endpoint IN 1 (response to IN tokens) - 1 - - - - - IN2 - Enable IN endpoint 2 - 2 - 2 - - - Disable - Disable endpoint IN 2 (no response to IN tokens) - 0 - - - Enable - Enable endpoint IN 2 (response to IN tokens) - 1 - - - - - IN3 - Enable IN endpoint 3 - 3 - 3 - - - Disable - Disable endpoint IN 3 (no response to IN tokens) - 0 - - - Enable - Enable endpoint IN 3 (response to IN tokens) - 1 - - - - - IN4 - Enable IN endpoint 4 - 4 - 4 - - - Disable - Disable endpoint IN 4 (no response to IN tokens) - 0 - - - Enable - Enable endpoint IN 4 (response to IN tokens) - 1 - - - - - IN5 - Enable IN endpoint 5 - 5 - 5 - - - Disable - Disable endpoint IN 5 (no response to IN tokens) - 0 - - - Enable - Enable endpoint IN 5 (response to IN tokens) - 1 - - - - - IN6 - Enable IN endpoint 6 - 6 - 6 - - - Disable - Disable endpoint IN 6 (no response to IN tokens) - 0 - - - Enable - Enable endpoint IN 6 (response to IN tokens) - 1 - - - - - IN7 - Enable IN endpoint 7 - 7 - 7 - - - Disable - Disable endpoint IN 7 (no response to IN tokens) - 0 - - - Enable - Enable endpoint IN 7 (response to IN tokens) - 1 - - - - - ISOIN - Enable ISO IN endpoint - 8 - 8 - - - Disable - Disable ISO IN endpoint 8 - 0 - - - Enable - Enable ISO IN endpoint 8 - 1 - - - - - - - EPOUTEN - Endpoint OUT enable - 0x514 - read-write - 0x00000001 - - - OUT0 - Enable OUT endpoint 0 - 0 - 0 - - - Disable - Disable endpoint OUT 0 (no response to OUT tokens) - 0 - - - Enable - Enable endpoint OUT 0 (response to OUT tokens) - 1 - - - - - OUT1 - Enable OUT endpoint 1 - 1 - 1 - - - Disable - Disable endpoint OUT 1 (no response to OUT tokens) - 0 - - - Enable - Enable endpoint OUT 1 (response to OUT tokens) - 1 - - - - - OUT2 - Enable OUT endpoint 2 - 2 - 2 - - - Disable - Disable endpoint OUT 2 (no response to OUT tokens) - 0 - - - Enable - Enable endpoint OUT 2 (response to OUT tokens) - 1 - - - - - OUT3 - Enable OUT endpoint 3 - 3 - 3 - - - Disable - Disable endpoint OUT 3 (no response to OUT tokens) - 0 - - - Enable - Enable endpoint OUT 3 (response to OUT tokens) - 1 - - - - - OUT4 - Enable OUT endpoint 4 - 4 - 4 - - - Disable - Disable endpoint OUT 4 (no response to OUT tokens) - 0 - - - Enable - Enable endpoint OUT 4 (response to OUT tokens) - 1 - - - - - OUT5 - Enable OUT endpoint 5 - 5 - 5 - - - Disable - Disable endpoint OUT 5 (no response to OUT tokens) - 0 - - - Enable - Enable endpoint OUT 5 (response to OUT tokens) - 1 - - - - - OUT6 - Enable OUT endpoint 6 - 6 - 6 - - - Disable - Disable endpoint OUT 6 (no response to OUT tokens) - 0 - - - Enable - Enable endpoint OUT 6 (response to OUT tokens) - 1 - - - - - OUT7 - Enable OUT endpoint 7 - 7 - 7 - - - Disable - Disable endpoint OUT 7 (no response to OUT tokens) - 0 - - - Enable - Enable endpoint OUT 7 (response to OUT tokens) - 1 - - - - - ISOOUT - Enable ISO OUT endpoint 8 - 8 - 8 - - - Disable - Disable ISO OUT endpoint 8 - 0 - - - Enable - Enable ISO OUT endpoint 8 - 1 - - - - - - - EPSTALL - STALL endpoints - 0x518 - write-only - 0x00000000 - modifyExternal - - - EP - Select endpoint number - 0 - 2 - - - IO - Selects IN or OUT endpoint - 7 - 7 - - - Out - Selects OUT endpoint - 0 - - - In - Selects IN endpoint - 1 - - - - - STALL - Stall selected endpoint - 8 - 8 - - - UnStall - Don't stall selected endpoint - 0 - - - Stall - Stall selected endpoint - 1 - - - - - - - ISOSPLIT - Controls the split of ISO buffers - 0x51C - read-write - - - SPLIT - Controls the split of ISO buffers - 0 - 15 - - - OneDir - Full buffer dedicated to either iso IN or OUT - 0x0000 - - - HalfIN - Lower half for IN, upper half for OUT - 0x0080 - - - - - - - FRAMECNTR - Returns the current value of the start of frame counter - 0x520 - read-only - - - FRAMECNTR - Returns the current value of the start of frame counter - 0 - 10 - - - - - LOWPOWER - Controls USBD peripheral low power mode during USB suspend - 0x52C - read-write - 0x00000000 - - - LOWPOWER - Controls USBD peripheral low-power mode during USB suspend - 0 - 0 - - - ForceNormal - Software must write this value to exit low power mode and before performing a remote wake-up - 0 - - - LowPower - Software must write this value to enter low power mode after DMA and software have finished interacting with the USB peripheral - 1 - - - - - - - ISOINCONFIG - Controls the response of the ISO IN endpoint to an IN token when no data is ready to be sent - 0x530 - read-write - - - RESPONSE - Controls the response of the ISO IN endpoint to an IN token when no data is ready to be sent - 0 - 0 - - - NoResp - Endpoint does not respond in that case - 0 - - - ZeroData - Endpoint responds with a zero-length data packet in that case - 1 - - - - - - - 8 - 0x014 - EPIN[%s] - Unspecified - USBD_EPIN - read-write - 0x600 - - PTR - Description cluster: Data pointer - 0x000 - read-write - - - PTR - Data pointer. Accepts any address in Data RAM. - 0 - 31 - - - - - MAXCNT - Description cluster: Maximum number of bytes to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes to transfer - 0 - 6 - - - - - AMOUNT - Description cluster: Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 6 - - - - - - ISOIN - Unspecified - USBD_ISOIN - read-write - 0x6A0 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer. Accepts any address in Data RAM. - 0 - 31 - - - - - MAXCNT - Maximum number of bytes to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes to transfer - 0 - 9 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 9 - - - - - - 8 - 0x014 - EPOUT[%s] - Unspecified - USBD_EPOUT - read-write - 0x700 - - PTR - Description cluster: Data pointer - 0x000 - read-write - - - PTR - Data pointer. Accepts any address in Data RAM. - 0 - 31 - - - - - MAXCNT - Description cluster: Maximum number of bytes to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes to transfer - 0 - 6 - - - - - AMOUNT - Description cluster: Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 6 - - - - - - ISOOUT - Unspecified - USBD_ISOOUT - read-write - 0x7A0 - - PTR - Data pointer - 0x000 - read-write - - - PTR - Data pointer. Accepts any address in Data RAM. - 0 - 31 - - - - - MAXCNT - Maximum number of bytes to transfer - 0x004 - read-write - - - MAXCNT - Maximum number of bytes to transfer - 0 - 9 - - - - - AMOUNT - Number of bytes transferred in the last transaction - 0x008 - read-only - - - AMOUNT - Number of bytes transferred in the last transaction - 0 - 9 - - - - - - - - UARTE1 - UART with EasyDMA 1 - 0x40028000 - - UARTE1 - 40 - - - - QSPI - External flash interface - 0x40029000 - - 0 - 0x1000 - registers - - - QSPI - 41 - - QSPI - 0x20 - - - TASKS_ACTIVATE - Activate QSPI interface - 0x000 - write-only - - - TASKS_ACTIVATE - Activate QSPI interface - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_READSTART - Start transfer from external flash memory to internal RAM - 0x004 - write-only - - - TASKS_READSTART - Start transfer from external flash memory to internal RAM - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_WRITESTART - Start transfer from internal RAM to external flash memory - 0x008 - write-only - - - TASKS_WRITESTART - Start transfer from internal RAM to external flash memory - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_ERASESTART - Start external flash memory erase operation - 0x00C - write-only - - - TASKS_ERASESTART - Start external flash memory erase operation - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - TASKS_DEACTIVATE - Deactivate QSPI interface - 0x010 - write-only - - - TASKS_DEACTIVATE - Deactivate QSPI interface - 0 - 0 - - - Trigger - Trigger task - 1 - - - - - - - EVENTS_READY - QSPI peripheral is ready. This event will be generated as a response to any QSPI task. - 0x100 - read-write - - - EVENTS_READY - QSPI peripheral is ready. This event will be generated as a response to any QSPI task. - 0 - 0 - - - NotGenerated - Event not generated - 0 - - - Generated - Event generated - 1 - - - - - - - INTEN - Enable or disable interrupt - 0x300 - read-write - - - READY - Enable or disable interrupt for event READY - 0 - 0 - - - Disabled - Disable - 0 - - - Enabled - Enable - 1 - - - - - - - INTENSET - Enable interrupt - 0x304 - read-write - - - READY - Write '1' to enable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Set - Enable - 1 - - - - - - - INTENCLR - Disable interrupt - 0x308 - read-write - - - READY - Write '1' to disable interrupt for event READY - 0 - 0 - - read - - Disabled - Read: Disabled - 0 - - - Enabled - Read: Enabled - 1 - - - - write - - Clear - Disable - 1 - - - - - - - ENABLE - Enable QSPI peripheral and acquire the pins selected in PSELn registers - 0x500 - read-write - - - ENABLE - Enable or disable QSPI - 0 - 0 - - - Disabled - Disable QSPI - 0 - - - Enabled - Enable QSPI - 1 - - - - - - - READ - Unspecified - QSPI_READ - read-write - 0x504 - - SRC - Flash memory source address - 0x000 - read-write - - - SRC - Word-aligned flash memory source address. - 0 - 31 - - - - - DST - RAM destination address - 0x004 - read-write - - - DST - Word-aligned RAM destination address. - 0 - 31 - - - - - CNT - Read transfer length - 0x008 - read-write - - - CNT - Read transfer length in number of bytes. The length must be a multiple of 4 bytes. - 0 - 17 - - - - - - WRITE - Unspecified - QSPI_WRITE - read-write - 0x510 - - DST - Flash destination address - 0x000 - read-write - - - DST - Word-aligned flash destination address. - 0 - 31 - - - - - SRC - RAM source address - 0x004 - read-write - - - SRC - Word-aligned RAM source address. - 0 - 31 - - - - - CNT - Write transfer length - 0x008 - read-write - - - CNT - Write transfer length in number of bytes. The length must be a multiple of 4 bytes. - 0 - 17 - - - - - - ERASE - Unspecified - QSPI_ERASE - read-write - 0x51C - - PTR - Start address of flash block to be erased - 0x000 - read-write - - - PTR - Word-aligned start address of block to be erased. - 0 - 31 - - - - - LEN - Size of block to be erased. - 0x004 - read-write - - - LEN - LEN - 0 - 1 - - - 4KB - Erase 4 kB block (flash command 0x20) - 0 - - - 64KB - Erase 64 kB block (flash command 0xD8) - 1 - - - All - Erase all (flash command 0xC7) - 2 - - - - - - - - PSEL - Unspecified - QSPI_PSEL - read-write - 0x524 - - SCK - Pin select for serial clock SCK - 0x000 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - CSN - Pin select for chip select signal CSN. - 0x004 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - IO0 - Pin select for serial data MOSI/IO0. - 0x00C - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - IO1 - Pin select for serial data MISO/IO1. - 0x010 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - IO2 - Pin select for serial data IO2. - 0x014 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - IO3 - Pin select for serial data IO3. - 0x018 - read-write - 0xFFFFFFFF - - - PIN - Pin number - 0 - 4 - - - PORT - Port number - 5 - 5 - - - CONNECT - Connection - 31 - 31 - - - Disconnected - Disconnect - 1 - - - Connected - Connect - 0 - - - - - - - - XIPOFFSET - Address offset into the external memory for Execute in Place operation. - 0x540 - read-write - - - XIPOFFSET - Address offset into the external memory for Execute in Place operation. Value must be a multiple of 4. - 0 - 31 - - - - - IFCONFIG0 - Interface configuration. - 0x544 - read-write - - - READOC - Configure number of data lines and opcode used for reading. - 0 - 2 - - - FASTREAD - Single data line SPI. FAST_READ (opcode 0x0B). - 0 - - - READ2O - Dual data line SPI. READ2O (opcode 0x3B). - 1 - - - READ2IO - Dual data line SPI. READ2IO (opcode 0xBB). - 2 - - - READ4O - Quad data line SPI. READ4O (opcode 0x6B). - 3 - - - READ4IO - Quad data line SPI. READ4IO (opcode 0xEB). - 4 - - - - - WRITEOC - Configure number of data lines and opcode used for writing. - 3 - 5 - - - PP - Single data line SPI. PP (opcode 0x02). - 0 - - - PP2O - Dual data line SPI. PP2O (opcode 0xA2). - 1 - - - PP4O - Quad data line SPI. PP4O (opcode 0x32). - 2 - - - PP4IO - Quad data line SPI. PP4IO (opcode 0x38). - 3 - - - - - ADDRMODE - Addressing mode. - 6 - 6 - - - 24BIT - 24-bit addressing. - 0 - - - 32BIT - 32-bit addressing. - 1 - - - - - DPMENABLE - Enable deep power-down mode (DPM) feature. - 7 - 7 - - - Disable - Disable DPM feature. - 0 - - - Enable - Enable DPM feature. - 1 - - - - - PPSIZE - Page size for commands PP, PP2O, PP4O and PP4IO. - 12 - 12 - - - 256Bytes - 256 bytes. - 0 - - - 512Bytes - 512 bytes. - 1 - - - - - - - IFCONFIG1 - Interface configuration. - 0x600 - read-write - 0x00040480 - - - SCKDELAY - Minimum amount of time that the CSN pin must stay high before it can go low again. Value is specified in number of 16 MHz periods (62.5 ns). - 0 - 7 - - - DPMEN - Enter/exit deep power-down mode (DPM) for external flash memory. - 24 - 24 - - - Exit - Exit DPM. - 0 - - - Enter - Enter DPM. - 1 - - - - - SPIMODE - Select SPI mode. - 25 - 25 - - - MODE0 - Mode 0: Data are captured on the clock rising edge and data is output on a falling edge. Base level of clock is 0 (CPOL=0, CPHA=0). - 0 - - - MODE3 - Mode 3: Data are captured on the clock falling edge and data is output on a rising edge. Base level of clock is 1 (CPOL=1, CPHA=1). - 1 - - - - - SCKFREQ - SCK frequency is given as 32 MHz / (SCKFREQ + 1). - 28 - 31 - - - - - STATUS - Status register. - 0x604 - read-only - - - DPM - Deep power-down mode (DPM) status of external flash. - 2 - 2 - - - Disabled - External flash is not in DPM. - 0 - - - Enabled - External flash is in DPM. - 1 - - - - - READY - Ready status. - 3 - 3 - - - READY - QSPI peripheral is ready. It is allowed to trigger new tasks, writing custom instructions or enter/exit DPM. - 1 - - - BUSY - QSPI peripheral is busy. It is not allowed to trigger any new tasks, writing custom instructions or enter/exit DPM. - 0 - - - - - SREG - Value of external flash device Status Register. When the external flash has two bytes status register this field includes the value of the low byte. - 24 - 31 - - - - - DPMDUR - Set the duration required to enter/exit deep power-down mode (DPM). - 0x614 - read-write - 0xFFFFFFFF - - - ENTER - Duration needed by external flash to enter DPM. Duration is given as ENTER * 256 * 62.5 ns. - 0 - 15 - - - EXIT - Duration needed by external flash to exit DPM. Duration is given as EXIT * 256 * 62.5 ns. - 16 - 31 - - - - - ADDRCONF - Extended address configuration. - 0x624 - read-write - 0x000000B7 - - - OPCODE - Opcode that enters the 32-bit addressing mode. - 0 - 7 - - - BYTE0 - Byte 0 following opcode. - 8 - 15 - - - BYTE1 - Byte 1 following byte 0. - 16 - 23 - - - MODE - Extended addressing mode. - 24 - 25 - - - NoInstr - Do not send any instruction. - 0 - - - Opcode - Send opcode. - 1 - - - OpByte0 - Send opcode, byte0. - 2 - - - All - Send opcode, byte0, byte1. - 3 - - - - - WIPWAIT - Wait for write complete before sending command. - 26 - 26 - - - Disable - No wait. - 0 - - - Enable - Wait. - 1 - - - - - WREN - Send WREN (write enable opcode 0x06) before instruction. - 27 - 27 - - - Disable - Do not send WREN. - 0 - - - Enable - Send WREN. - 1 - - - - - - - CINSTRCONF - Custom instruction configuration register. - 0x634 - read-write - 0x00002000 - - - OPCODE - Opcode of Custom instruction. - 0 - 7 - - - LENGTH - Length of custom instruction in number of bytes. - 8 - 11 - - - 1B - Send opcode only. - 1 - - - 2B - Send opcode, CINSTRDAT0.BYTE0. - 2 - - - 3B - Send opcode, CINSTRDAT0.BYTE0 -&gt; CINSTRDAT0.BYTE1. - 3 - - - 4B - Send opcode, CINSTRDAT0.BYTE0 -&gt; CINSTRDAT0.BYTE2. - 4 - - - 5B - Send opcode, CINSTRDAT0.BYTE0 -&gt; CINSTRDAT0.BYTE3. - 5 - - - 6B - Send opcode, CINSTRDAT0.BYTE0 -&gt; CINSTRDAT1.BYTE4. - 6 - - - 7B - Send opcode, CINSTRDAT0.BYTE0 -&gt; CINSTRDAT1.BYTE5. - 7 - - - 8B - Send opcode, CINSTRDAT0.BYTE0 -&gt; CINSTRDAT1.BYTE6. - 8 - - - 9B - Send opcode, CINSTRDAT0.BYTE0 -&gt; CINSTRDAT1.BYTE7. - 9 - - - - - LIO2 - Level of the IO2 pin (if connected) during transmission of custom instruction. - 12 - 12 - - - LIO3 - Level of the IO3 pin (if connected) during transmission of custom instruction. - 13 - 13 - - - WIPWAIT - Wait for write complete before sending command. - 14 - 14 - - - Disable - No wait. - 0 - - - Enable - Wait. - 1 - - - - - WREN - Send WREN (write enable opcode 0x06) before instruction. - 15 - 15 - - - Disable - Do not send WREN. - 0 - - - Enable - Send WREN. - 1 - - - - - LFEN - Enable long frame mode. When enabled, a custom instruction transaction has to be ended by writing the LFSTOP field. - 16 - 16 - - - Disable - Long frame mode disabled - 0 - - - Enable - Long frame mode enabled - 1 - - - - - LFSTOP - Stop (finalize) long frame transaction - 17 - 17 - - - Stop - Stop - 1 - - - - - - - CINSTRDAT0 - Custom instruction data register 0. - 0x638 - read-write - - - BYTE0 - Data byte 0 - 0 - 7 - - - BYTE1 - Data byte 1 - 8 - 15 - - - BYTE2 - Data byte 2 - 16 - 23 - - - BYTE3 - Data byte 3 - 24 - 31 - - - - - CINSTRDAT1 - Custom instruction data register 1. - 0x63C - read-write - - - BYTE4 - Data byte 4 - 0 - 7 - - - BYTE5 - Data byte 5 - 8 - 15 - - - BYTE6 - Data byte 6 - 16 - 23 - - - BYTE7 - Data byte 7 - 24 - 31 - - - - - IFTIMING - SPI interface timing. - 0x640 - read-write - 0x00000200 - - - RXDELAY - Timing related to sampling of the input serial data. The value of RXDELAY specifies the number of 64 MHz cycles (15.625 ns) delay from the the rising edge of the SPI Clock (SCK) until the input serial data is sampled. As en example, if set to 0 the input serial data is sampled on the rising edge of SCK. - 8 - 10 - - - - - - - CC_HOST_RGF - CRYPTOCELL HOST_RGF interface - 0x5002A000 - - 0 - 0x2000 - registers - - CC_HOST_RGF - 0x20 - - - HOST_CRYPTOKEY_SEL - AES hardware key select - 0x1A38 - read-write - 0x00000000 - - - HOST_CRYPTOKEY_SEL - Select the source of the HW key that is used by the AES engine - 0 - 1 - - - K_DR - Use device root key K_DR from CRYPTOCELL AO power domain - 0 - - - K_PRTL - Use hard-coded RTL key K_PRTL - 1 - - - Session - Use provided session key - 2 - - - - - - - HOST_IOT_KPRTL_LOCK - This write-once register is the K_PRTL lock register. When this register is set, K_PRTL can not be used and a zeroed key will be used instead. The value of this register is saved in the CRYPTOCELL AO power domain. - 0x1A4C - read-write - 0x00000000 - - - HOST_IOT_KPRTL_LOCK - This register is the K_PRTL lock register. When this register is set, K_PRTL can not be used and a zeroed key will be used instead. The value of this register is saved in the CRYPTOCELL AO power domain. - 0 - 0 - - - Disabled - K_PRTL can be selected for use from register HOST_CRYPTOKEY_SEL - 0 - - - Enabled - K_PRTL has been locked until next power-on reset (POR). If K_PRTL is selected anyway, a zeroed key will be used instead. - 1 - - - - - - - HOST_IOT_KDR0 - This register holds bits 31:0 of K_DR. The value of this register is saved in the CRYPTOCELL AO power domain. Reading from this address returns the K_DR valid status indicating if K_DR is successfully retained. - 0x1A50 - read-write - 0x00000000 - - - HOST_IOT_KDR0 - Write: K_DR bits 31:0 Read: 0x00000000 when 128-bit K_DR key value is not yet retained in the CRYPTOCELL AO power domain Read: 0x00000001 when 128-bit K_DR key value is successfully retained in the CRYPTOCELL AO power domain - 0 - 31 - - - - - HOST_IOT_KDR1 - This register holds bits 63:32 of K_DR. The value of this register is saved in the CRYPTOCELL AO power domain. - 0x1A54 - write-only - 0x00000000 - - - HOST_IOT_KDR1 - K_DR bits 63:32 - 0 - 31 - - - - - HOST_IOT_KDR2 - This register holds bits 95:64 of K_DR. The value of this register is saved in the CRYPTOCELL AO power domain. - 0x1A58 - write-only - 0x00000000 - - - HOST_IOT_KDR2 - K_DR bits 95:64 - 0 - 31 - - - - - HOST_IOT_KDR3 - This register holds bits 127:96 of K_DR. The value of this register is saved in the CRYPTOCELL AO power domain. - 0x1A5C - write-only - 0x00000000 - - - HOST_IOT_KDR3 - K_DR bits 127:96 - 0 - 31 - - - - - HOST_IOT_LCS - Controls lifecycle state (LCS) for CRYPTOCELL subsystem - 0x1A60 - read-write - 0x00000002 - - - LCS - Lifecycle state value. This field is write-once per reset. - 0 - 2 - - - Debug - CC310 operates in debug mode - 0 - - - Secure - CC310 operates in secure mode - 2 - - - - - LCS_IS_VALID - This field is read-only and indicates if CRYPTOCELL LCS has been successfully configured since last reset - 8 - 8 - - - Invalid - A valid LCS is not yet retained in the CRYPTOCELL AO power domain - 0 - - - Valid - A valid LCS is successfully retained in the CRYPTOCELL AO power domain - 1 - - - - - - - - - CRYPTOCELL - ARM TrustZone CryptoCell register interface - 0x5002A000 - CC_HOST_RGF - - 0 - 0x2000 - registers - - - CRYPTOCELL - 42 - - CRYPTOCELL - 0x20 - - - ENABLE - Enable CRYPTOCELL subsystem - 0x500 - read-write - 0x00000000 - - - ENABLE - Enable or disable the CRYPTOCELL subsystem - 0 - 0 - - - Disabled - CRYPTOCELL subsystem disabled - 0 - - - Enabled - CRYPTOCELL subsystem enabled - 1 - - - - - - - - - PWM3 - Pulse width modulation unit 3 - 0x4002D000 - - PWM3 - 45 - - - - SPIM3 - Serial Peripheral Interface Master with EasyDMA 3 - 0x4002F000 - - SPIM3 - 47 - - - - \ No newline at end of file diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/platform.json b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/platform.json deleted file mode 100644 index 803f33f8..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/platform.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "name": "nordicnrf52", - "title": "Nordic nRF52", - "description": "The nRF52 Series are built for speed to carry out increasingly complex tasks in the shortest possible time and return to sleep, conserving precious battery power. They have a Cortex-M4F processor which makes them quite capable Bluetooth Smart SoCs.", - "homepage": "https://www.nordicsemi.com/Products/nRF52-Series-SoC", - "license": "Apache-2.0", - "keywords": [ - "dev-platform", - "ARM", - "Cortex-M", - "Nordic Semiconductor", - "nRF52" - ], - "engines": { - "platformio": "^6" - }, - "repository": { - "type": "git", - "url": "https://github.com/platformio/platform-nordicnrf52.git" - }, - "version": "9.6.0", - "frameworks": { - "arduino": { - "package": "framework-arduinonordicnrf5", - "script": "builder/frameworks/arduino.py" - }, - "mbed": { - "package": "framework-mbed", - "script": "builder/frameworks/mbed.py" - }, - "zephyr": { - "package": "framework-zephyr", - "script": "builder/frameworks/zephyr.py" - } - }, - "packages": { - "toolchain-gccarmnoneeabi": { - "type": "toolchain", - "owner": "platformio", - "version": ">=1.60301.0,<1.80000.0", - "optionalVersions": [ - "~1.80201.0", - "~1.90201.0" - ] - }, - "framework-mbed": { - "type": "framework", - "optional": true, - "owner": "platformio", - "version": "~6.60900.0", - "optionalVersions": [ - "~6.51506.0" - ] - }, - "framework-arduinoadafruitnrf52": { - "type": "framework", - "optional": true, - "owner": "platformio", - "version": "~1.10300.0" - }, - "framework-arduinonordicnrf5": { - "type": "framework", - "optional": true, - "owner": "platformio", - "version": "~1.700.0" - }, - "framework-arduino-mbed": { - "type": "framework", - "optional": true, - "owner": "platformio", - "version": "~4.0.2" - }, - "framework-cmsis": { - "type": "framework", - "optional": true, - "owner": "platformio", - "version": "~2.50700.0" - }, - "framework-zephyr": { - "type": "framework", - "optional": true, - "owner": "platformio", - "version": "~2.20701.0" - }, - "tool-adafruit-nrfutil": { - "owner": "platformio", - "optional": true, - "version": "~1.503.0" - }, - "tool-sreccat": { - "owner": "platformio", - "version": "~1.164.0" - }, - "tool-openocd": { - "type": "uploader", - "optional": true, - "owner": "platformio", - "version": "~2.1100.0" - }, - "tool-nrfjprog": { - "type": "uploader", - "optional": true, - "owner": "platformio", - "version": "~1.90702.0" - }, - "tool-jlink": { - "type": "uploader", - "optional": true, - "owner": "platformio", - "version": "^1.63208.0" - }, - "tool-bossac-nordicnrf52": { - "type": "uploader", - "optional": true, - "owner": "platformio", - "version": "~1.10901.0" - }, - "tool-cmake": { - "optional": true, - "owner": "platformio", - "version": "~3.21.0" - }, - "tool-dtc": { - "optional": true, - "owner": "platformio", - "version": "~1.4.7" - }, - "tool-ninja": { - "optional": true, - "owner": "platformio", - "version": "^1.7.0" - }, - "tool-gperf": { - "optional": true, - "owner": "platformio", - "version": "^3.0.0" - } - } -} diff --git a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/platform.py b/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/platform.py deleted file mode 100644 index 6763fb1c..00000000 --- a/ARM_Tag_FW/Newton_M3_nRF52811/$PROJECT_DIR/core/platforms/nordicnrf52/platform.py +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 2014-present PlatformIO -# -# 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. - -import json -import os -import sys - -from platformio.public import PlatformBase - - -IS_WINDOWS = sys.platform.startswith("win") - -class Nordicnrf52Platform(PlatformBase): - - def is_embedded(self): - return True - - def configure_default_packages(self, variables, targets): - upload_protocol = "" - board = variables.get("board") - frameworks = variables.get("pioframework", []) - if board: - upload_protocol = variables.get( - "upload_protocol", - self.board_config(board).get("upload.protocol", "")) - - if self.board_config(board).get("build.bsp.name", - "nrf5") == "adafruit": - self.frameworks["arduino"][ - "package"] = "framework-arduinoadafruitnrf52" - self.packages["framework-cmsis"]["optional"] = False - self.packages["tool-adafruit-nrfutil"]["optional"] = False - - if "mbed" in frameworks: - deprecated_boards_file = os.path.join( - self.get_dir(), "misc", "mbed_deprecated_boards.json") - if os.path.isfile(deprecated_boards_file): - with open(deprecated_boards_file) as fp: - if board in json.load(fp): - self.packages["framework-mbed"]["version"] = "~6.51506.0" - self.packages["toolchain-gccarmnoneeabi"]["version"] = "~1.90201.0" - - if "zephyr" in frameworks: - for p in self.packages: - if p in ("tool-cmake", "tool-dtc", "tool-ninja"): - self.packages[p]["optional"] = False - self.packages["toolchain-gccarmnoneeabi"]["version"] = "~1.80201.0" - if not IS_WINDOWS: - self.packages["tool-gperf"]["optional"] = False - - if board in ("nano33ble", "nicla_sense_me"): - self.packages["toolchain-gccarmnoneeabi"]["version"] = "~1.80201.0" - self.frameworks["arduino"]["package"] = "framework-arduino-mbed" - self.frameworks["arduino"][ - "script" - ] = "builder/frameworks/arduino/mbed-core/arduino-core-mbed.py" - - if set(["bootloader", "erase"]) & set(targets): - self.packages["tool-nrfjprog"]["optional"] = False - elif (upload_protocol and upload_protocol != "nrfjprog" - and "tool-nrfjprog" in self.packages): - del self.packages["tool-nrfjprog"] - - # configure J-LINK tool - jlink_conds = [ - "jlink" in variables.get(option, "") - for option in ("upload_protocol", "debug_tool") - ] - if board: - board_config = self.board_config(board) - jlink_conds.extend([ - "jlink" in board_config.get(key, "") - for key in ("debug.default_tools", "upload.protocol") - ]) - jlink_pkgname = "tool-jlink" - if not any(jlink_conds) and jlink_pkgname in self.packages: - del self.packages[jlink_pkgname] - - return super().configure_default_packages(variables, targets) - - def get_boards(self, id_=None): - result = super().get_boards(id_) - if not result: - return result - if id_: - return self._add_default_debug_tools(result) - else: - for key, value in result.items(): - result[key] = self._add_default_debug_tools(result[key]) - return result - - def _add_default_debug_tools(self, board): - debug = board.manifest.get("debug", {}) - upload_protocols = board.manifest.get("upload", {}).get( - "protocols", []) - if "tools" not in debug: - debug["tools"] = {} - - # J-Link / ST-Link / BlackMagic Probe - for link in ("blackmagic", "jlink", "stlink", "cmsis-dap"): - if link not in upload_protocols or link in debug['tools']: - continue - - if link == "blackmagic": - debug["tools"]["blackmagic"] = { - "hwids": [["0x1d50", "0x6018"]], - "require_debug_port": True - } - - elif link == "jlink": - assert debug.get("jlink_device"), ( - "Missed J-Link Device ID for %s" % board.id) - debug["tools"][link] = { - "server": { - "package": "tool-jlink", - "arguments": [ - "-singlerun", - "-if", "SWD", - "-select", "USB", - "-device", debug.get("jlink_device"), - "-port", "2331" - ], - "executable": ("JLinkGDBServerCL.exe" - if IS_WINDOWS else - "JLinkGDBServer") - } - } - - else: - server_args = [ - "-s", "$PACKAGE_DIR/scripts", - "-f", "interface/%s.cfg" % link - ] - if link == "stlink": - server_args.extend([ - "-c", - "transport select hla_swd; set WORKAREASIZE 0x4000" - ]) - server_args.extend(["-f", "target/nrf52.cfg"]) - debug["tools"][link] = { - "server": { - "package": "tool-openocd", - "executable": "bin/openocd", - "arguments": server_args - } - } - server_args.extend(debug.get("openocd_extra_args", [])) - - debug["tools"][link]["onboard"] = link in debug.get("onboard_tools", []) - debug["tools"][link]["default"] = link in debug.get("default_tools", []) - - board.manifest['debug'] = debug - return board - - def configure_debug_session(self, debug_config): - if debug_config.speed: - server_executable = (debug_config.server or {}).get("executable", "").lower() - if "openocd" in server_executable: - debug_config.server["arguments"].extend( - ["-c", "adapter speed %s" % debug_config.speed] - ) - elif "jlink" in server_executable: - debug_config.server["arguments"].extend( - ["-speed", debug_config.speed] - )