Fork of BlueNRG library to be compatible with bluetooth demo application
Dependents: Nucleo_BLE_Demo Nucleo_BLE_Demo
Fork of Nucleo_BLE_BlueNRG by
clock.c
00001 00002 #include "clock.h" 00003 #include "wait_api.h" 00004 #include "rtc_time.h" 00005 00006 const uint32_t CLOCK_SECOND = 1000; 00007 00008 /*---------------------------------------------------------------------------*/ 00009 00010 void Clock_Init(void) 00011 { 00012 //Not Used 00013 } 00014 00015 /*---------------------------------------------------------------------------*/ 00016 00017 tClockTime Clock_Time(void) 00018 { 00019 return clock(); 00020 } 00021 00022 /*---------------------------------------------------------------------------*/ 00023 /** 00024 * Wait for a multiple of 1 ms. 00025 * 00026 */ 00027 void Clock_Wait(int i) 00028 { 00029 wait_ms(i); 00030 } 00031 /*---------------------------------------------------------------------------*/ 00032 00033 00034
Generated on Sat Jul 16 2022 01:53:16 by 1.7.2