atsamd icon indicating copy to clipboard operation
atsamd copied to clipboard

Updates the ICM peripheral to use the `clock::v2` API

Open kyp44 opened this issue 5 months ago • 2 comments

Summary

As part of the clock::v2 effort tracked in Issue #912, this PR updates the icm to use the clock::v2 API by requiring ownership of its AhbClk and ApbClk. Note that this peripheral is only on thumbv7 targets.

No examples on any Tier 1 BSPs use the ICM so none were affected.

Checklist

  • [X] All new or modified code is well documented, especially public items
  • [X] No new warnings or clippy suggestions have been introduced - CI will deny clippy warnings by default! You may #[allow] certain lints where reasonable, but ideally justify those with a short comment.

kyp44 avatar Jul 19 '25 13:07 kyp44

Looks good to me! Appreciate the documentation updates as well.

rnd-ash avatar Jul 19 '25 13:07 rnd-ash

@ianrrees Removed the underscores in the latest commit, and also did so in PR #925 for the same reason.

kyp44 avatar Jul 22 '25 14:07 kyp44