My fork of X_NUCLEO_IDB0XA1
Fork of X_NUCLEO_IDB0XA1 by
source/platform/clock.c
- Committer:
- Andrea Palmieri
- Date:
- 2015-11-18
- Revision:
- 177:65d9b1b75fca
- Parent:
- 144:bdf5e8432131
- Child:
- 253:9665a6f8bbdb
File content as of revision 177:65d9b1b75fca:
#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); } /*---------------------------------------------------------------------------*/