aboutsummaryrefslogtreecommitdiff
path: root/sdk-modifications/include/ds2_cpuclock.h
blob: 058ba99fb19ccb62ee75067b3b753bc1e9527c57 (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 ds2_udelay(unsigned int usec);
extern void ds2_mdelay(unsigned int msec);

//#define ds2_setCPUclocklevel ds2_setCPULevel

#ifdef __cplusplus
}
#endif

#endif //__DS2_CPUCLOCK_H__