Add D13 definition
Dependents: Program3_BLEHeartRate Program3_BLEHeartRate
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/platform/clock.c
- Revision:
- 132:51056160fa4a
- Child:
- 144:bdf5e8432131
diff -r e09947216ccb -r 51056160fa4a source/platform/clock.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/platform/clock.c Wed Oct 07 08:39:04 2015 +0200 @@ -0,0 +1,34 @@ + +#include "clock.h" +#include "wait_api.h" +#include "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); +} +/*---------------------------------------------------------------------------*/ + + +