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

stm32:exti: Add EXTI_TRIGGER_NONE and support it in exti_set_trigger #1470

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smavridis
Copy link

Allow resetting/clearing exti triggers.

A few notes:

  • I appended the new EXTI_TRIGGER_NONE enum value, so as to not break anyone that might have used hard-coded values (i.e. 2 instead of EXTI_TRIGGER_BOTH).
  • An alternate implementation could be adding a dedicated exti_clear_trigger call, but i felt it was better to just add the functionality to the existing exti_set_trigger.

Let me know what you think of this request, any changes you want and what i can do to merge it.

Thank you for the great work on OpenCM3.

@smavridis
Copy link
Author

Updated to track master.

@UncleGrumpy
Copy link

Any chance of getting this merged? These changes would actually be quite helpful in a project I am working on.

@smavridis
Copy link
Author

Updated to follow master.

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

Successfully merging this pull request may close these issues.

None yet

3 participants