Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Integrate numbered RAL instances #3

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

mciantyre
Copy link
Member

The PR integrates the numbered RAL instances into the CCM API. Now that RAL Instances are generic over a typenum, we need to change the Instance implementations in the ral module. We now implement the Instance trait on the RegisterBlock, which is a dereference away from a RAL Instance.

See imxrt-rs/imxrt-ral#4 for more information.

Not sure why this is required here, but not on the clock methods.
This reverts commit 72eedff613eab6eee36cd57e2c4cac8b68bb33c5.
I'm not sure why this is necessary. It seems that we can support
deref coercion for the clock types, but not with the handle. This
is a minor inconvenience for RAL users, but it keeps the CCM API
consistent and usable for other purposes.
@mciantyre
Copy link
Member Author

WIP; depends on the RAL implementation.

Consider merging #2 before this PR. #2 adds a new Instance implementation for the DCDC. We should include an update for that implementation as part of this branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant