summaryrefslogtreecommitdiff
path: root/ports/nrf/common-hal/time/__init__.c
AgeCommit message (Collapse)Author
2020-03-13Initial work on SAMDScott Shawcroft
2020-03-13Fix autoreload, neopixel, monotonic_ns and sleep w/o SDScott Shawcroft
2020-03-13First try at lowering the power consumptionScott Shawcroft
2020-02-07fix function defs for compilerDan Halbert
2020-02-07improve time.monotonic_ns() accuracy from ms to usDan Halbert
2019-11-18Supervisor: move most of systick to the supervisorJeff Epler
This code is shared by most parts, except where not all the #ifdefs inside the tick function were present in all ports. This mostly would have broken gamepad tick support on non-samd ports. The "ms32" and "ms64" variants of the tick functions are introduced because there is no 64-bit atomic read. Disabling interrupts avoids a low probability bug where milliseconds could be off by ~49.5 days once every ~49.5 days (2^32 ms). Avoiding disabling interrupts when only the low 32 bits are needed is a minor optimization. Testing performed: on metro m4 express, USB still works and time.monotonic_ns() still counts up
2018-07-10nrf: Remove the old time hal and replace with nRFxarturo182
2018-06-27nrf: Rewrite more common-hal with nrfx and sync with atsamd portarturo182
2018-02-05nrf: Implement ticks, add gamepad module and examplearturo182
2017-12-21nRF52 update with internal file system supportmicrobuilder
2017-11-23Revert "Supervisor REPL support for ports/nrf/boards/feather52"Kevin Townsend
This reverts commit 92113dde815ce5aaecf63ea9e87bc4addcabd822.
2017-11-23Supervisor REPL support for ports/nrf/boards/feather52Kevin Townsend