1 #ifndef DDK750_POWER_H__
2 #define DDK750_POWER_H__
12 #define setDAC(off) { \
14 (PEEK32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \
17 void ddk750_setDPMS(DPMS_t);
20 * This function sets the current power mode
22 void setPowerMode(unsigned int powerMode);
25 * This function sets current gate
27 void setCurrentGate(unsigned int gate);
30 * This function enable/disable the 2D engine.
32 void enable2DEngine(unsigned int enable);
35 * This function enable/disable the DMA Engine
37 void enableDMA(unsigned int enable);
40 * This function enable/disable the GPIO Engine
42 void enableGPIO(unsigned int enable);
45 * This function enable/disable the I2C Engine
47 void enableI2C(unsigned int enable);