PaulStoffregen
041bfbe9ed
Optimize micros()
pirms 5 gadiem
PaulStoffregen
bd4a9e2cfb
Make sure micros() is monotonic
pirms 5 gadiem
Defragster
aa3b459699
Removed volatile tag on dummy var systick_safe_read
pirms 5 gadiem
Defragster
b60d6774ac
Use ARM Synchronization
for micros() Use: ARM Synchronization Primitives, include of arm_math.h
Get systick_isr data safely without disable interrupts, uses systick_safe_read as indicator variable
pirms 5 gadiem
Defragster
8cb4de3469
expose ccmicros for testing
micros() unchanged - minor systick_isr() diversion - one line added to systick_isr.
pirms 5 gadiem
Defragster
c4c5a0170f
opps - left in compared code
pirms 5 gadiem
Defragster
edbf0b4c0c
Confirm no systick_isr() interruption
This saves a cycle - and checks both values to avoid _isr change of either value based on code/execution
pirms 5 gadiem
Defragster
6ba4fe8e3d
Replace micros for one using CycCnt
Alternate micros() extends millis() using ARM_DWT_CYCCNT
> Also makes unused_interrupt_vector() weak to allow user override like Teensy3
pirms 5 gadiem
PaulStoffregen
c4ab57c003
EventResponder, MillisTimer, yield
pirms 5 gadiem
PaulStoffregen
e687673ddf
First commit, Teensy4 work-in-progress
pirms 6 gadiem