Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register numbers don't match with the ID of peripheral due to them being transmuted to the same type #181

Open
ProfFan opened this issue Dec 8, 2023 · 1 comment
Assignees
Labels
registers Something is wrong with one or more registers

Comments

@ProfFan
Copy link

ProfFan commented Dec 8, 2023

In the current driver code similar peripherals are cast to the same type (usually the type for the XXX0 peripheral). So the register names are named also with the 0th one.

@jessebraham

@jessebraham jessebraham self-assigned this Dec 8, 2023
@jessebraham jessebraham transferred this issue from esp-rs/esp-hal Dec 14, 2023
@jessebraham
Copy link
Member

FYI I've just transferred this issue, as the PACs are where this should be corrected.

@jessebraham jessebraham added the registers Something is wrong with one or more registers label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
registers Something is wrong with one or more registers
Projects
Status: Todo
Development

No branches or pull requests

2 participants