| BlueNRG-1 HAL drivers APIs

- Main Page
- Classes
- Files

- File List
- File Members

clock.h
Go to the documentation of this file.
1
21 #ifndef __CLOCK_H__
22 #define __CLOCK_H__
23
24 #include "BlueNRG1.h"
25
29 extern const uint32_t CLOCK_SECOND;
30
31 typedef uint32_t tClockTime;
32
40 void Clock_Init(void);
41
49 tClockTime Clock_Time(void);
50
51
59 void Clock_Wait(uint32_t i);
60
65 void SysCount_Handler(void);
66
67 #endif /* __CLOCK_H__ */
68
CLOCK_SECOND
const uint32_t CLOCK_SECOND
Number of clocks in one seconds.
Clock_Init
void Clock_Init(void)
This function initializes the clock library based on SysTick.
Clock_Wait
void Clock_Wait(uint32_t i)
This function waits for a given number of milliseconds.
SysCount_Handler
void SysCount_Handler(void)
This function is called on SysTick_Handler()
Clock_Time
tClockTime Clock_Time(void)
This function returns the current system clock time.
tClockTime
uint32_t tClockTime
Definition: clock.h:31