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.
5 vuotta sitten
PaulStoffregen
e687673ddf
First commit, Teensy4 work-in-progress
5 vuotta sitten
PaulStoffregen
5218b19603
Make EventResponder attach functions atomic
7 vuotta sitten
PaulStoffregen
c34cbcf074
Add priority levels to EventResponder
7 vuotta sitten
PaulStoffregen
8ee4381890
Reduce MillisTimer interrupt disable time
7 vuotta sitten
PaulStoffregen
8796d748b9
Remane repeat function MillisTimer to beginRepeating
7 vuotta sitten
PaulStoffregen
9b8892856f
Disable interrupts in MillisTimer critical sections
7 vuotta sitten
PaulStoffregen
07ac3cb4ea
Disable interrupts in EventResponder critical sections
7 vuotta sitten
PaulStoffregen
c9a8bb6379
EventResponder cosmetic internal name change for consistency
7 vuotta sitten
PaulStoffregen
84e8810ccd
Never run normal EventResponder function from interrupt context
7 vuotta sitten
PaulStoffregen
e77b120f7b
Use PendSV for EventResponder attachInterrupt
7 vuotta sitten
PaulStoffregen
ea70a67f44
Add a couple more EventResponder comments
7 vuotta sitten
PaulStoffregen
aa5e833b04
Fix EventResponder append to triggered list
7 vuotta sitten
PaulStoffregen
54d1f35ddf
Add EventResponder documentation (as comments)
7 vuotta sitten
PaulStoffregen
a587b3dd1e
MillisTimer - initial commit
7 vuotta sitten
PaulStoffregen
f0d263c540
EventResponder - initial commit
7 vuotta sitten