no-std lpc550x

Register mappings for the NXP LPC550x/LPC55S0x family of Cortex-M33 microcontrollers

3 releases (breaking)

0.3.0 Oct 17, 2022
0.2.0 Sep 18, 2022
0.1.0 Aug 11, 2022

#699 in Embedded development

MIT license

8.5MB
231K SLoC

LPC550x

Documentation Crates.io

Register mappings for the NXP LPC550x/LPC55S0x family of Cortex-M33 microcontrollers generated with the svd2rust tool.

User Manual

The complete user manual for this family of microcontrollers may be found at UM11424 and is a useful supplement to this 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.3.0

  • Cleaned up register field enumerations relating to ADC channels
  • Corrected ADC temperature sensor channel value which was wrong
  • Regenerated crate using svd2rust 0.26.0

0.2.0

  • General register/field description cleanups
  • Fixed up the SVD file's line endings to LF instead of CRLF
  • Removed a number of unnecessary duplicate registers in the SVD
  • Cleaned up register field enumerations relating to the clock tree
  • Cleaned up register field enumerations relating to IOCON pin functions
  • Added per-pin field enumerations to some (but not all) GPIO registers
  • Cleaned up register field enumerations for some ADC peripheral registers

0.1.0

  • Added initial SVD with very light modifications

Dependencies

~0.6–0.8MB
~11K SLoC