Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
bc85674
Start of new InputCapture, need to process capture compare interrupts
victor-Lopez25 Feb 21, 2026
4ee5b31
feat: Capture compare interrupt for timers
victor-Lopez25 Feb 23, 2026
49eade8
enable interrupt for falling channel too
victor-Lopez25 Feb 23, 2026
033a7bd
Fix some compile errors
victor-Lopez25 Feb 23, 2026
16b498a
Fix more compile errors
victor-Lopez25 Feb 23, 2026
f796d5a
feat: mode, pull, speed for InputCapture af
victor-Lopez25 Feb 23, 2026
0c8a811
partial fix of things
victor-Lopez25 Feb 23, 2026
9d20a47
Merge remote-tracking branch 'origin/development' into feat/newInputC…
victor-Lopez25 Mar 7, 2026
bc05884
Remove get_channel_state_idx, get_channel_mul4 from pwm, dualpwm
victor-Lopez25 Mar 7, 2026
0deab80
Add return after ErrorHandler
victor-Lopez25 Mar 7, 2026
bb14e8c
Make TimerWrapper a friend and make constructor private
victor-Lopez25 Mar 7, 2026
00bee2c
Added a couple of guards just in case
victor-Lopez25 Mar 8, 2026
0b22028
fix copypasta error
victor-Lopez25 Mar 8, 2026
776bb57
Add a couple assertions and an explenation in the interrupt callback
victor-Lopez25 Mar 8, 2026
2fbe657
Fix interrupt callback
victor-Lopez25 Mar 11, 2026
79ce85e
revert PSC = 0 in Encoder, less energy usage
victor-Lopez25 Mar 11, 2026
a897304
fix all wierd stuff with timer interrupts for now
victor-Lopez25 Mar 11, 2026
2bbc261
Add default prescaler value for inputcapture
victor-Lopez25 Mar 12, 2026
06aa4fc
apply changes to tim8 irq handlers
victor-Lopez25 Mar 12, 2026
708bac0
Add code that was in main.cpp to st-lib
victor-Lopez25 Mar 12, 2026
0a5dd07
Add trash value check
victor-Lopez25 Mar 12, 2026
94fdf94
Resolve possibly uninitialized variable
victor-Lopez25 Mar 13, 2026
283c374
Fix tests
victor-Lopez25 Mar 13, 2026
1e4abdb
fix tests (part 2)
victor-Lopez25 Mar 13, 2026
546a006
fix tests (part 3)
victor-Lopez25 Mar 13, 2026
c234d88
remove other definition of TIM_ICSELECTION_DIRECTTI
victor-Lopez25 Mar 13, 2026
a0658a5
Add more defines
victor-Lopez25 Mar 13, 2026
aa055db
...
victor-Lopez25 Mar 13, 2026
cf86a8d
etc
victor-Lopez25 Mar 13, 2026
c077444
Add more defines...
victor-Lopez25 Mar 13, 2026
f38e02e
etc...
victor-Lopez25 Mar 13, 2026
9825c94
...etc
victor-Lopez25 Mar 13, 2026
e6cf69f
final? please
victor-Lopez25 Mar 13, 2026
97decbf
applied formatter
jorgesg82 Mar 13, 2026
e3feb4c
Merge remote-tracking branch 'origin/development' into feat/newInputC…
victor-Lopez25 Mar 16, 2026
5ea488d
Merge branch 'feat/newInputCapture' of https://github.com/HyperloopUP…
victor-Lopez25 Mar 16, 2026
fd2e6d3
fix indentation
victor-Lopez25 Mar 16, 2026
276cedd
Merge remote-tracking branch 'origin/development' into feat/newInputC…
victor-Lopez25 Mar 20, 2026
4dedc70
add changeset
victor-Lopez25 Mar 20, 2026
b860847
removed CaptureCompareOvercaptureMask since it wasn't being used
victor-Lopez25 Mar 20, 2026
c864fed
fix off by one 'error'
victor-Lopez25 Mar 20, 2026
89b2d02
fix typo
victor-Lopez25 Mar 20, 2026
5464ec1
fix error handling for something that should not happen ever
victor-Lopez25 Mar 20, 2026
cc5f75b
reads to CCRx are done through volatile uint32_t now
victor-Lopez25 Mar 20, 2026
99dbd3f
fix typo
victor-Lopez25 Mar 20, 2026
d580723
fix compilation error
victor-Lopez25 Mar 20, 2026
eb38381
formatting
victor-Lopez25 Mar 21, 2026
03e49c8
formatting
victor-Lopez25 Mar 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changesets/inputcapture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
release: minor
summary: input capture implementation

Also changed how the timer interrupts are handled since this was required for inputcapture
Loading
Loading