summaryrefslogtreecommitdiff
path: root/pmapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'pmapi.h')
-rw-r--r--pmapi.h23
1 files changed, 3 insertions, 20 deletions
diff --git a/pmapi.h b/pmapi.h
index 8efb250..1bb2a40 100644
--- a/pmapi.h
+++ b/pmapi.h
@@ -23,8 +23,10 @@
#ifndef __POWER_MANAGER_LIBRARY_H__
#define __POWER_MANAGER_LIBRARY_H__
+#include "pmapi_managed.h"
+
/**
- * @defgroup POWER_MANAGER Power manager library
+ * @defgroup POWER_MANAGER Power manager library
* @ingroup SYSTEM_FRAMEWORK
* @brief Power manager control API library
*
@@ -177,25 +179,6 @@ extern "C" {
int pm_unlock_state(unsigned int, unsigned int);
/**
- * @fn int pm_change_state(unsigned int state);
- * @brief This API is used to change the power manager state by force.
- * @param[in] state power manager state - LCD_NORMAL, LCD_DIM, LCD_OFF
- * @return 0 on success, -1 if failed.
- * @see pm_lock_state(), pm_unlock_state()
- * @pat Example
- * @code
- * ...
- * result = pm_change_state(LCD_OFF);
- * if( result < 0 )
- * printf("[ERROR] return value result =%d, \n",result);
- * else
- * printf("[SUCCESS]return value result =%d \n",result);
- * ...
- * @endcode
- */
- int pm_change_state(unsigned int);
-
-/**
* @}
*/