Frank
78588aee84
Fix comment re: systick
This answers a long standing question :-)
4 anos atrás
PaulStoffregen
041bfbe9ed
Optimize micros()
5 anos atrás
PaulStoffregen
bd4a9e2cfb
Make sure micros() is monotonic
5 anos atrás
Defragster
aa3b459699
Removed volatile tag on dummy var systick_safe_read
5 anos atrás
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
5 anos atrás
Defragster
8cb4de3469
expose ccmicros for testing
micros() unchanged - minor systick_isr() diversion - one line added to systick_isr.
5 anos atrás
Defragster
c4c5a0170f
opps - left in compared code
5 anos atrás
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
5 anos atrás
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
5 anos atrás
PaulStoffregen
c4ab57c003
EventResponder, MillisTimer, yield
5 anos atrás
PaulStoffregen
e687673ddf
First commit, Teensy4 work-in-progress
6 anos atrás