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

Add GPTMR timer capture #759

Merged
merged 8 commits into from
Jan 6, 2024
Merged

Add GPTMR timer capture #759

merged 8 commits into from
Jan 6, 2024

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Jan 3, 2024

  • ✨ add "timer capture" feature to general purpose timer (GPTMR): copy current counter register to a dedicated capture registers if an edge is detected on the trigger input; also trigger GPTMR interrupt
    • sample on rising edge and/or falling edge
  • ⚠️ removed "single-shot" mode; changed control register layout
  • minor bug fixes and optimizations

@stnolting stnolting added bug Something isn't working enhancement New feature or request HW hardware-related labels Jan 3, 2024
@stnolting stnolting self-assigned this Jan 3, 2024
@stnolting stnolting changed the title Add GPTMR capture mode Add GPTMR timer capture Jan 6, 2024
@stnolting stnolting marked this pull request as ready for review January 6, 2024 17:18
@stnolting stnolting merged commit 80cc23c into main Jan 6, 2024
8 checks passed
@stnolting stnolting deleted the gptmr_capture branch January 6, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request HW hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant