circuitpython/ports/nrf/common-hal/_bleio
Jeff Epler 7f744a2369 Supervisor: move most of systick to the supervisor
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
2019-11-18 11:01:23 -06:00
..
__init__.c Refine _bleio 2019-10-21 18:57:03 -07:00
__init__.h Refine _bleio 2019-10-21 18:57:03 -07:00
Adapter.c Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
Adapter.h Refine _bleio 2019-10-21 18:57:03 -07:00
Attribute.c rename bleio module to _bleio 2019-08-29 18:44:27 -04:00
Attribute.h rename bleio module to _bleio 2019-08-29 18:44:27 -04:00
Characteristic.c Refine _bleio 2019-10-21 18:57:03 -07:00
Characteristic.h Refine _bleio 2019-10-21 18:57:03 -07:00
CharacteristicBuffer.c Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
CharacteristicBuffer.h rename bleio module to _bleio 2019-08-29 18:44:27 -04:00
Connection.c Refine _bleio 2019-10-21 18:57:03 -07:00
Connection.h Refine _bleio 2019-10-21 18:57:03 -07:00
Descriptor.c Refine _bleio 2019-10-21 18:57:03 -07:00
Descriptor.h Refine _bleio 2019-10-21 18:57:03 -07:00
Service.c Refine _bleio 2019-10-21 18:57:03 -07:00
Service.h Refine _bleio 2019-10-21 18:57:03 -07:00
UUID.c Refine _bleio 2019-10-21 18:57:03 -07:00
UUID.h rename bleio module to _bleio 2019-08-29 18:44:27 -04:00