Add D13 definition

Dependents:   Program3_BLEHeartRate Program3_BLEHeartRate

Fork of X_NUCLEO_IDB0XA1 by ST

source/platform/clock.c

Committer:
Wolfgang Betz
Date:
2015-10-07
Revision:
132:51056160fa4a
Child:
144:bdf5e8432131

File content as of revision 132:51056160fa4a:


#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);
}
/*---------------------------------------------------------------------------*/