BLE_BlueNRG for Nucleo board
Dependents: Nucleo_BLE_HeartRate Nucleo_BLE_UART Nucleo_BLE_UART
Warning: Deprecated!
Supported drivers and applications can be found at this link.
Diff: platform/src/clock.c
- Revision:
- 0:a948f5f3904c
diff -r 000000000000 -r a948f5f3904c platform/src/clock.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/platform/src/clock.c Fri Dec 19 18:56:07 2014 +0000 @@ -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(int i) +{ + wait_ms(i); +} +/*---------------------------------------------------------------------------*/ + + +