12 Commits

Author SHA1 Message Date
Gabriel Wang
1ad3980ee2 update library 2021-11-13 14:07:24 +00:00
Gabriel Wang
ae5afb0ca1 minor update 2021-07-20 00:05:17 +01:00
Gabriel Wang
5483710769 Add a dedicated library for gcc 2021-07-19 23:55:51 +01:00
Gabriel Wang
4ae1b3202c fix issue #1
now you can use delay_us with start_perf_counter() and stop_perf_counter.
2021-06-08 11:21:18 +01:00
Gabriel Wang
4864c033b0 minor improvement 2021-06-07 16:30:39 +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
312b9e1d4c add compenstation (tested in Cortex-M3) to delay_us 2021-01-14 13:53:08 +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
4fb5635605 support all cortex-m processors (including M0/M0+) 2021-01-09 21:08:09 +00:00
Gabriel Wang
ffe8ad3fca
upload content 2021-01-09 13:10:37 +00:00