max32660

Crates.iomax32660
lib.rsmax32660
version0.2.1
sourcesrc
created_at2023-09-23 13:25:09.13987
updated_at2024-04-24 13:10:40.727139
descriptionRegister mappings for the Analog Devices MAX32660 Cortex-M4 microcontroller
homepage
repositoryhttps://github.com/TomCrypto/max32660
max_upload_size
id981233
size1,674,035
Thomas Bénéteau (TomCrypto)

documentation

https://docs.rs/max32660

README

MAX32660

Documentation Crates.io

Register mappings for the Analog Devices MAX32660 Cortex-M4 microcontroller generated with the svd2rust tool.

User Guide

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.

Contribute

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.

Changelog

0.2.1

  • Added a missing writeConstraint attribute on FLC.CLKDIV
  • Added enumeratedValues attributes on GCR.MEMCKCN.FWS
  • Added enumeratedValues attributes on SPI0.CTRL2.NUM_BITS
  • Fixed enumeratedValues attributes on SPI1.CTRL.NUMBITS

0.2.0

  • Added some helpful enumerated values to the DMA burst size field
  • Added some missing oneToClear attributes on some SPI0.INT_FL fields
  • Fixed some RTC.CTRL fields with incorrect access attributes
  • Added a number of convenient writeConstraint attributes
  • Regenerated crate contents using svd2rust version 0.30.1

0.1.0

  • Added SVD from Maxim Micros SDK with various modifications and improvements
Commit count: 3

cargo fmt