FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

stm32: do not declare ADC interrupts unless using SIMPLEFOC_STM32_ADC_INTERRUPT by Moddingear · Pull Request #546 · simplefoc/Arduino-FOC · GitHub

stm32: do not declare ADC interrupts unless using SIMPLEFOC_STM32_ADC_INTERRUPT - #546

Open
Moddingear wants to merge 1 commit into
simplefoc:devfrom
Moddingear:stm32_free_adc_isr
Open

stm32: do not declare ADC interrupts unless using SIMPLEFOC_STM32_ADC_INTERRUPT#546
Moddingear wants to merge 1 commit into
simplefoc:devfrom
Moddingear:stm32_free_adc_isr

Conversation

Copy link
Copy Markdown
Contributor

This allows the user to declare their own ADC interrupts when they're not in use by SimpleFOC (which they're not by default)

dekutree64 commented Jun 16, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Looks good. I usually use DMA for the ADC results, but have used interrupts as well, and had to hunt down that function in the library code and disable it. Better to control it with a #define so you don't have to modify the library code.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL