aboutsummaryrefslogtreecommitdiff
path: root/sdk-modifications/libsrc/core/ds2_cpuclock.h
blob: c28635bcd9e61503a5ed5a756e0816fc5d600efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _DS2_CPUCLOCK_H__
#define _DS2_CPUCLOCK_H__


#define CPU_MAX_LEVEL_EX 18

#ifdef __cplusplus
extern "C" {
#endif

extern int ds2_getCPUClock(void);
extern int ds2_setCPULevel(unsigned int level);
extern void udelayOC(unsigned int usec);
extern void mdelayOC(unsigned int msec);

//#define ds2_setCPUclocklevel ds2_setCPULevel

#ifdef __cplusplus
}
#endif

#endif //__DS2_CPUCLOCK_H__