Kurt Eckhardt
9828bd7188
EventResponder runFromYield shortcut
Add quick test at start of function to return if there are no events pending.
Do this before checking if in ISR and the like. Cut timing down a lot in yield.
pirms 5 gadiem
PaulStoffregen
e687673ddf
First commit, Teensy4 work-in-progress
pirms 6 gadiem
PaulStoffregen
5218b19603
Make EventResponder attach functions atomic
pirms 7 gadiem
PaulStoffregen
c34cbcf074
Add priority levels to EventResponder
pirms 7 gadiem
PaulStoffregen
8ee4381890
Reduce MillisTimer interrupt disable time
pirms 7 gadiem
PaulStoffregen
8796d748b9
Remane repeat function MillisTimer to beginRepeating
pirms 7 gadiem
PaulStoffregen
9b8892856f
Disable interrupts in MillisTimer critical sections
pirms 7 gadiem
PaulStoffregen
07ac3cb4ea
Disable interrupts in EventResponder critical sections
pirms 7 gadiem
PaulStoffregen
c9a8bb6379
EventResponder cosmetic internal name change for consistency
pirms 7 gadiem
PaulStoffregen
84e8810ccd
Never run normal EventResponder function from interrupt context
pirms 7 gadiem
PaulStoffregen
e77b120f7b
Use PendSV for EventResponder attachInterrupt
pirms 7 gadiem
PaulStoffregen
ea70a67f44
Add a couple more EventResponder comments
pirms 7 gadiem
PaulStoffregen
aa5e833b04
Fix EventResponder append to triggered list
pirms 7 gadiem
PaulStoffregen
54d1f35ddf
Add EventResponder documentation (as comments)
pirms 7 gadiem
PaulStoffregen
a587b3dd1e
MillisTimer - initial commit
pirms 7 gadiem
PaulStoffregen
f0d263c540
EventResponder - initial commit
pirms 7 gadiem