Add 1170 pads and select impls for HAL 0.5 #26
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds types and accessors for 1170 pads. It includes select pin implementations for those pads. There's just enough pin implementations to support the examples bundled with the proposed 0.5 HAL.
The PR changes the
gpio::Pin
trait. Some 1170 pads can be muxed to different GPIO peripherals, and the previous trait couldn't express that capability. This is a breaking change that also affects the 1010 and 1060 pins.Finally, the PR introduces a CCM pin trait. CCMs can output clock frequencies on a pad, and the pin trait describes which pins support that feature. There's a 0.5 HAL example that uses this for testing clock frequencies.
This PR depends on #23.