diff options
author | Damien George <damien@micropython.org> | 2020-09-24 12:37:02 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-10-01 14:20:42 +1000 |
commit | d4b61b00172ccc231307e3ef33f66f28cb6b051f (patch) | |
tree | 193b39ce0aa2a542d6f3ea6c96aadbe8f523858b /py/parse.c | |
parent | 905a18aafefbe04aa2beceb84885c29aa156b975 (diff) | |
download | micropython-d4b61b00172ccc231307e3ef33f66f28cb6b051f.tar.gz micropython-d4b61b00172ccc231307e3ef33f66f28cb6b051f.zip |
extmod/utime_mphal: Add generic utime.time_ns() function.
It requires mp_hal_time_ns() to be provided by a port. This function
allows very accurate absolute timestamps.
Enabled on unix, windows, stm32, esp8266 and esp32.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/parse.c')
0 files changed, 0 insertions, 0 deletions