15 Commits

Author SHA1 Message Date
Gabriel Wang
4864c033b0 minor improvement 2021-06-07 16:30:39 +01:00
Gabriel Wang
1f10f986fa minor update
- Fix support for GCC
- update safe_atom_code() and __IRQ_SAFE for the latest version of CMSIS
2021-05-24 22:41:58 +01:00
Gabriel Wang
d3ecc136d1 Major update
- introduce get_system_ticks()
- rework on __cycleof__
- update other macros to support gcc extension: ({;;;;})
- update example
2021-03-24 14:44:46 +00:00
Gabriel Wang
04712e54d8 use the longest period during the initialization if the systick is not occupied by user applications 2021-03-24 11:20:23 +00:00
Gabriel Wang
f06324c00d resolve potential conflicts among macro definitions 2021-03-24 11:17:28 +00:00
Gabriel Wang
7c35545e07 remove wrong dependency 2021-02-08 18:41:49 +00:00
Gabriel Wang
312b9e1d4c add compenstation (tested in Cortex-M3) to delay_us 2021-01-14 13:53:08 +00:00
Gabriel Wang
e8f3f02300 add compenstation, PERF_CNT_DELAY_US_COMPENSATION, to delay_us 2021-01-14 12:49:23 +00:00
Gabriel Wang
097f387bf9 minor update 2021-01-11 20:14:33 +00:00
Gabriel Wang
233e006869 update comments 2021-01-11 20:09:09 +00:00
Gabriel Wang
2e465bc4c2 found some racing condition and fixed them
- fixed the racing condition
- introduce a minimal systick LOAD restriction
- add some comments
2021-01-11 18:50:02 +00:00
Gabriel Wang
6ec7874669 fix the issue when long time delay (>1 s), delay_us might have 25% accumulative error 2021-01-11 10:52:55 +00:00
Gabriel Wang
30337b59f9 add comments for how to use clock() 2021-01-09 13:51:30 +00:00
Gabriel Wang
8b0ee08ee2 clean up the license info 2021-01-09 13:18:39 +00:00
Gabriel Wang
ffe8ad3fca
upload content 2021-01-09 13:10:37 +00:00