Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of X_NUCLEO_IDB0XA1 by
source/platform/clock.c
- Committer:
- Wolfgang Betz
- Date:
- 2015-10-21
- Revision:
- 144:bdf5e8432131
- Parent:
- 132:51056160fa4a
- Child:
- 177:65d9b1b75fca
File content as of revision 144:bdf5e8432131:
#include "clock.h" #include "mbed-drivers/wait_api.h" #include "mbed-drivers/rtc_time.h" const uint32_t CLOCK_SECOND = 1000; /*---------------------------------------------------------------------------*/ void Clock_Init(void) { //Not Used } /*---------------------------------------------------------------------------*/ tClockTime Clock_Time(void) { return clock(); } /*---------------------------------------------------------------------------*/ /** * Wait for a multiple of 1 ms. * */ void Clock_Wait(uint32_t i) { wait_ms(i); } /*---------------------------------------------------------------------------*/