[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/driver/inc/misc/drvs_pcu.h b/cp/ps/driver/inc/misc/drvs_pcu.h
new file mode 100644
index 0000000..0144172
--- /dev/null
+++ b/cp/ps/driver/inc/misc/drvs_pcu.h
@@ -0,0 +1,120 @@
+/***********************************************************************
+* Copyright (C) 2014, ZTE Corporation.
+*
+* File Name: drvs_pcu.h
+* File Mark:
+* Description: pcu control interface declaration.
+* Others:
+* Version: v1.0
+* Author: limeifeng
+* Date: 2014-01-22
+*
+* History 1:
+* Date:
+* Version:
+* Author:
+* Modification:
+
+**********************************************************************/
+#ifndef DRVS_PCU_H
+#define DRVS_PCU_H
+
+/*************************************************************************
+ * Include files *
+ *************************************************************************/
+#include "drvs_general.h"
+/****************************************************************************
+* macro
+****************************************************************************/
+
+/****************************************************************************
+* Type
+****************************************************************************/
+/**************************************************************************
+ * Global Variable *
+ **************************************************************************/
+
+/**************************************************************************
+ * Function Prototypes *
+ **************************************************************************/
+/*******************************************************************************
+ * Function: zDrvPcu_InitIntType
+ * Description:ÉèÖþ¹ýPCUµÄÖжÏÔ´Í·ÀàÐͲ¢ÇåÖжϣ¬GPIOĬÈÏΪµçƽ´¥·¢¡£
+ * Parameters:
+ * Input:
+ *
+ * Output:
+ *
+ * Returns:
+ *
+ * Others:´Ëº¯ÊýÖ»¹©ÖжÏÄ£¿éµ÷Óã¬ÆäËüÄ£¿éÇ벻ҪʹÓÃ!
+ ********************************************************************************/
+VOID zDrvPcu_InitIntType(VOID);
+
+/*******************************************************************************
+ * Function: zDrvPcu_SetWakeInt
+ * Description:
+ * ÉèÖÃij¸öÖжÏÊÇ·ñΪ»½ÐÑÖжÏ
+ * Parameters:
+ * Input:
+ * intLine: ÖжϺÅ
+ * isWakeInt: ÊÇ·ñΪ»½ÐÑÖжϣ¬0 »½ÐÑÖÐ¶Ï 1 ·Ç»½ÐÑÖжÏ
+ * Output:
+ *
+ * Returns: ³É¹¦·µ»ØDRV_SUCCESS£¬Ê§°Ü·µ»ØDRV_ERROR¡£
+ *
+ * Others:
+ ********************************************************************************/
+SINT32 zDrvPcu_SetWakeInt(UINT32 intLine, BOOL isWakeInt);
+
+/*******************************************************************************
+ * Function: zDrvPcu_ClrInt
+ * Description:Çå³ýÖжÏÔÚPCUµÄÖжÏ״̬¡£
+ * Èç¹û¶ÔÓ¦ÖжϾ¹ýPCUÇÒÖжÏÔ´Í·ÀàÐÍΪ±ßÑØ´¥·¢£¬
+ * ÔòÐèÒªÔÚÖжϻص÷º¯ÊýISRÀïµ÷Óô˺¯ÊýÇå³ýÖжÏ״̬¡£
+ * Parameters:
+ * Input:
+ * intSel: T_PCUINT_SELö¾ÙÀàÐÍ,ÒªÇå³ýµÄÖжϡ£
+ * Output:
+ *
+ * Returns: ³É¹¦·µ»ØDRV_SUCCESS£¬Ê§°Ü·µ»ØDRV_ERROR¡£
+ *
+ * Others:
+ ********************************************************************************/
+//SINT32 zDrvPcu_ClearInt(UINT32 intLine);
+
+
+/*******************************************************************************
+ * Function: zDrvPcu_SetIntLevel
+ * Description:
+ * 1.¶ÔÓÚPCU²à¹Ì¶¨´¥·¢·½Ê½µÄÖжϲ»ÐèÒªµ÷Óô˺¯Êý
+ * ÒÑÔÚÖжÏÄ£¿é³õʼ»¯Ê±ÅäÖá£
+ * 2.´Ëº¯ÊýÖ÷Òª¸øÍⲿÖжÏÀàÐÍ¿ÉÉèÖõÄGPIO_EX_INTºÍEX_INT¸ù¾Ý
+ * ʵ¼Ê´¥·¢·½Ê½½øÐÐÅäÖá£
+ * Parameters:
+ * Input:
+ * intSel: T_IntPCURegö¾ÙÀàÐÍ
+ * level: PCU²àµÄÖжϴ¥·¢·½Ê½
+ * Output:
+ *
+ * Returns: ³É¹¦·µ»ØDRV_SUCCESS£¬Ê§°Ü·µ»ØDRV_ERROR¡£
+ *
+ * Others:
+ ********************************************************************************/
+//SINT32 zDrvPcu_SetIntLevel(UINT32 intLine,T_zDrvIntLineLevel level);
+
+/*******************************************************************************
+ * Function: zDrvPcu_Clear8in1Int
+ * Description:EX8IN1_INT0_PCU~EX8IN1_INT7_PCUÐèÒª¶îÍâµ÷Óô˺¯ÊýÇå³ýÖжÏ
+ * Parameters:
+ * Input:
+ * intSel: T_PCUINT_SELö¾ÙÀàÐÍ,ÒªÇå³ýµÄÖжϡ£
+ * Output:
+ *
+ * Returns: ³É¹¦·µ»ØDRV_SUCCESS£¬Ê§°Ü·µ»ØDRV_ERR_INVALID_PARAM¡£
+ *
+ * Others:
+ ********************************************************************************/
+//SINT32 zDrvPcu_Clear8in1Int(VOID);
+
+#endif /* DRVS_PCU_H */