diff options
| author | Damien George | 2017-03-02 15:32:32 +1100 |
|---|---|---|
| committer | Damien George | 2017-03-02 15:32:32 +1100 |
| commit | 89738e8240b0ae6dcc24c48d8e9e5078da90e15a (patch) | |
| tree | 94fe1425d6fda8e4bf9ed8d91256287828e763dd /stmhal/systick.h | |
| parent | 6ab5512132d5b3d19a5bf029cb27829d41e76f8e (diff) | |
stmhal: Rename sys_tick ticks/delay functions to corresp. mp_hal ones.
The renames are:
HAL_Delay -> mp_hal_delay_ms
sys_tick_udelay -> mp_hal_delay_us
sys_tick_get_microseconds -> mp_hal_ticks_us
And mp_hal_ticks_ms is added to provide the full set of timing functions.
Also, a separate HAL_Delay function is added which differs slightly from
mp_hal_delay_ms and is intended for use only by the ST HAL functions.
Diffstat (limited to 'stmhal/systick.h')
| -rw-r--r-- | stmhal/systick.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/stmhal/systick.h b/stmhal/systick.h index 5a4dfb3ed..1e7f62335 100644 --- a/stmhal/systick.h +++ b/stmhal/systick.h @@ -24,7 +24,5 @@ * THE SOFTWARE. */ -void sys_tick_udelay(uint32_t usec); void sys_tick_wait_at_least(uint32_t stc, uint32_t delay_ms); bool sys_tick_has_passed(uint32_t stc, uint32_t delay_ms); -uint32_t sys_tick_get_microseconds(void); |
