iforce2d Chris
/
nRF24L01SimpleExample
Basic port of the gcopeland nRF24L01 library
Clock.h@2:75a5b58b2338, 2019-03-25 (annotated)
- Committer:
- iforce2d
- Date:
- Mon Mar 25 07:35:02 2019 +0000
- Revision:
- 2:75a5b58b2338
Basic port of gcopeland nRF24L01 library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
iforce2d | 2:75a5b58b2338 | 1 | #pragma once |
iforce2d | 2:75a5b58b2338 | 2 | |
iforce2d | 2:75a5b58b2338 | 3 | #include <stdint.h> |
iforce2d | 2:75a5b58b2338 | 4 | |
iforce2d | 2:75a5b58b2338 | 5 | // Return the number of seconds since boot. |
iforce2d | 2:75a5b58b2338 | 6 | float clock_s(); |
iforce2d | 2:75a5b58b2338 | 7 | |
iforce2d | 2:75a5b58b2338 | 8 | // Return the number of milliseconds since boot. |
iforce2d | 2:75a5b58b2338 | 9 | uint64_t clock_ms(); |
iforce2d | 2:75a5b58b2338 | 10 | |
iforce2d | 2:75a5b58b2338 | 11 | // Return the number of microseconds since boot. |
iforce2d | 2:75a5b58b2338 | 12 | uint64_t clock_us(); |