1 Commits (e160fe7bc64212a3ce56f5478f208e2b4d343a8b)

Author SHA1 Message Date
Damien George 9955553001 extmod/modutime: Provide a generic time module. 2 years ago
Damien George 26cc647fce extmod/utime_mphal: Provide a general mktime function. 2 years ago
Damien George fe330c74f4 extmod/utime_mphal: Fix comment re delta range check in time_ticks_add. 2 years ago
Damien George 815920c87f extmod/utime_mphal: Make ticks_add check for overflow of delta. 2 years ago
Josh Lloyd db6d60b079 extmod/utime: Always invoke mp_hal_delay_ms when >= to 0ms. 5 years ago
Damien George d4b61b0017 extmod/utime_mphal: Add generic utime.time_ns() function. 4 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Tom Collins 145796f037 py,extmod: Some casts and minor refactors to quiet compiler warnings. 7 years ago
Damien George 2e3fc77809 extmod/utime_mphal: Don't exit/enter the GIL in generic sleep functions. 8 years ago
Paul Sokolovsky 9b345a9e48 extmod/utime_mphal: ticks_diff/ticks_add: Don't hardcode 32-bit types. 8 years ago
Paul Sokolovsky 10bde6933e extmod/utime_mphal: ticks_diff(): Optimize to avoid if conditions. 8 years ago
Paul Sokolovsky e429daa572 extmod/utime_mphal: Fix implementation of new semantics of ticks_diff(). 8 years ago
Paul Sokolovsky 76146b3d9a extmod/utime_mphal: Allow ticks functions period be configurable by a port. 8 years ago
Paul Sokolovsky d86cac4b82 extmod/utime_mphal: Implement ticks_add(), add to all maintained ports. 8 years ago
Paul Sokolovsky 6a87084019 extmod/utime_mphal: Add MP_THREAD_GIL_EXIT/ENTER warppers for sleep functions. 8 years ago
Paul Sokolovsky 6ed5583f8c extmod/utime_mphal: ticks_diff(): switch arg order, return signed value. 8 years ago
Paul Sokolovsky 36f97f19b4 extmod/utime_mphal: sleep_us/ms(): Don't wait on negative argument. 8 years ago
Paul Sokolovsky a97284423e extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse. 8 years ago