aboutsummaryrefslogtreecommitdiff
path: root/sdk-modifications/include/ds2_cpuclock.h
blob: 3263ed004769237dc9eb075a5aa9db18d3c904a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 ds2_udelay(unsigned int usec);
extern void ds2_mdelay(unsigned int msec);


#ifdef __cplusplus
}
#endif

#endif //__DS2_CPUCLOCK_H__