Skip to content

Releases: knurling-rs/derive-mmio

derive-mmio v0.6.0

11 Jul 14:53
09780ef

Choose a tag to compare

Changed

  • ${field}_shared_unchecked function to access inner arrays is now unsafe
  • Renamed #[mmio(inner)] to #[mmio(Inner)]

PRs

Full Changelog: derive-mmio-v0.5.0...derive-mmio-v0.6.0

v0.5.0

29 May 14:20
052daba

Choose a tag to compare

Added

  • #[mmio(const_ptr)] and #[mmio(const_inner)] outer attributes which add constness to pointer getters and inner MMIO block getter functions respectively. Those require Rust version 1.83.0 or higher.
  • Support for arrays of inner blocks
  • Can access inner blocks through a shared reference

Changed

  • pointer_to_${field} methods only require shared access to the MMIO handle now.

Pull Requests

Full Changelog: derive-mmio-v0.4.0...derive-mmio-v0.5.0

v0.4.0

29 May 12:16
cd96c6f

Choose a tag to compare

What's Changed

  • Compile time check for padding now works reliably
  • Add no_ctors attribute which allows the user to write custom constructors.
  • Reworked access modifiers. RO and RW were replaced by PureRead, Read, Write and Modify access modifiers.

What's New

  • Allow field types which also derive Mmio as long as they are annotated with #[mmio(inner)]
  • Added support for array fields
  • Added unsafe clone method on Mmio structure
  • Implement Send for generated MMIO block.

Pull Requests

New Contributors

Full Changelog: derive-mmio-v0.3.0...derive-mmio-v0.4.0

v0.3.0

26 Feb 18:42
525fb83

Choose a tag to compare

What's Changed

Full Changelog: derive-mmio-v0.2.0...derive-mmio-v0.3.0

v0.2.0

14 Feb 20:56
9d8b614

Choose a tag to compare

What's Changed

Full Changelog: derive-mmio-v0.1.0...derive-mmio-v0.2.0

v0.1.0

14 Feb 09:37
2aa9c1d

Choose a tag to compare

The first release of derive-mmio.

See https://crates.io/crates/derive-mmio/0.1.0