lpc-rs / lpc-pac

Peripheral Access Crates for LPC microcontrollers
9 stars 9 forks source link

Problem in lpc82x.svd about PDRUNCFG register #46

Open yah opened 4 years ago

yah commented 4 years ago

For register PDRUNCFG, bit SYSOSC_PD, WDTOSC_PD, SYSPLL_PD and ACMP is wrong in svd. It should be be POWERED and POWERED_DOWN, but in svd it's DISABLED and ENABLED, totally flipped.

hannobraun commented 4 years ago

@yah Thank you for opening this issue!

See https://github.com/lpc-rs/lpc-pac/issues/40#issuecomment-558491973.

I'm leaving this issue open until it has been fixed in our version of the SVD. Please feel free to submit a pull request.