Crates.io | max32660 |
lib.rs | max32660 |
version | 0.2.1 |
source | src |
created_at | 2023-09-23 13:25:09.13987 |
updated_at | 2024-04-24 13:10:40.727139 |
description | Register mappings for the Analog Devices MAX32660 Cortex-M4 microcontroller |
homepage | |
repository | https://github.com/TomCrypto/max32660 |
max_upload_size | |
id | 981233 |
size | 1,674,035 |
Register mappings for the Analog Devices MAX32660 Cortex-M4 microcontroller generated with the svd2rust
tool.
The complete user guide for this microcontroller may be found at UG6659 and is a useful supplement to this crate. Note that in this crate "SPI17Y" has been renamed to "SPI0" and "SPIMSS" has been renamed to "SPI1" in the interest of sanity as not even the user guide is using consistent naming for these peripherals. Some minor deviations from the user guide were also necessary to address various obvious typos and in some cases to significantly improve the ergonomics of the generated peripheral access crate.
Install the svd2rust
and form
tools and run the generate.sh
script to generate the crate from the SVD file. A line is also prepended to the lib.rs
to prevent Clippy from checking the crate because the generated code does not lint well. Do not make manual edits to the src
folder or the build.rs
and device.x
files which are all auto-generated.
writeConstraint
attribute on FLC.CLKDIV
enumeratedValues
attributes on GCR.MEMCKCN.FWS
enumeratedValues
attributes on SPI0.CTRL2.NUM_BITS
enumeratedValues
attributes on SPI1.CTRL.NUMBITS
writeConstraint
attributessvd2rust
version 0.30.1