aboutsummaryrefslogtreecommitdiff
path: root/cc3200/misc/mpsystick.c
AgeCommit message (Collapse)Author
2017-02-06cc3200: Refactor "ticks" functions to use common extmod implementation.Damien George
The port now uses the common mp_utime_ticks_{ms,us,cpu,add,diff} functions from extmod/utime_mphal.c. The mp_utime_sleep_XXX functions are still cc3200-specific because they handle the GIL differently to the ones in extmod. The files misc/mpsystick.[ch] have been removed because they contain 2 unused functions, and the other remaining function is renamed to mp_hal_ticks_us and moved to hal/cc3200_hal.c.
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations.
2015-10-29cc3200: Switch from HAL_GetTick() to mp_hal_ticks_ms().Paul Sokolovsky
2015-10-21cc3200: Correct ticks_cpu and ticks_us functions in time module.danicampora
2015-09-21cc3200: New SD and RTC API plus os and time modules' extensions.Daniel Campora
2015-07-08cc3200: Use alternative HAL_Delay also when interrupts are disabled.Daniel Campora
2015-03-21cc3200: Re-name pybsystick to mpsystick.danicampora