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

USB0 HCCHARx.EC register seems to have the wrong bit width. #305

Open
Dominaezzz opened this issue Dec 24, 2024 · 1 comment
Open

USB0 HCCHARx.EC register seems to have the wrong bit width. #305

Dominaezzz opened this issue Dec 24, 2024 · 1 comment
Assignees

Comments

@Dominaezzz
Copy link

#[doc = "Bit 21"]
#[inline(always)]
pub fn ec(&self) -> EC_R {
has it as just bit 21, however the STM32 TRM (which has the same Sysnopsis OTG peripheral) says it's bit 21 and 20.

esp-idf also says it's two bits.

I don't have access to the ESP32-S3 registers to confirm but I reckon the PAC is wrong.

Note: This applies to both the S2 and S3. The P4 doesn't have the PAC yet.

@jessebraham jessebraham self-assigned this Jan 2, 2025
@jessebraham
Copy link
Member

Thanks for pointing that out, will get it fixed within the next few work days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants