1.no模式屏蔽lcd相关的接口
This commit is contained in:
parent
7fe09d9b75
commit
3a00ed7c90
|
@ -7,14 +7,14 @@
|
||||||
@brief Sleep Flow
|
@brief Sleep Flow
|
||||||
|
|
||||||
@note
|
@note
|
||||||
1.提供change sleep的介面
|
1.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>change sleep<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
System_ChangeSleep()
|
System_ChangeSleep()
|
||||||
(a)System_ChangeSleep()執行
|
(a)System_ChangeSleep()<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
各level不同的control condition
|
<EFBFBD>Ulevel<EFBFBD><EFBFBD><EFBFBD>P<EFBFBD><EFBFBD>control condition
|
||||||
包含通知不同device sleep, wakeup
|
<EFBFBD>]<EFBFBD>t<EFBFBD>q<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Pdevice sleep, wakeup
|
||||||
(b)System_ChangeSleep()執行
|
(b)System_ChangeSleep()<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
各level不同的control condition
|
<EFBFBD>Ulevel<EFBFBD><EFBFBD><EFBFBD>P<EFBFBD><EFBFBD>control condition
|
||||||
包含通知不同mode sleep, wakeup: System_ModeSleepEnter(), System_ModeSleepLeave()
|
<EFBFBD>]<EFBFBD>t<EFBFBD>q<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Pmode sleep, wakeup: System_ModeSleepEnter(), System_ModeSleepLeave()
|
||||||
|
|
||||||
@date 2012/1/1
|
@date 2012/1/1
|
||||||
*/
|
*/
|
||||||
|
@ -29,7 +29,9 @@
|
||||||
#define __DBGLVL__ ((THIS_DBGLVL>=PRJ_DBG_LVL)?THIS_DBGLVL:PRJ_DBG_LVL)
|
#define __DBGLVL__ ((THIS_DBGLVL>=PRJ_DBG_LVL)?THIS_DBGLVL:PRJ_DBG_LVL)
|
||||||
#define __DBGFLT__ "*" //*=All, [mark]=CustomClass
|
#define __DBGFLT__ "*" //*=All, [mark]=CustomClass
|
||||||
#include <kwrap/debug.h>
|
#include <kwrap/debug.h>
|
||||||
|
#if HUNTING_CAMERA_MCU == ENABLE
|
||||||
|
#include "sf_mcu.h"
|
||||||
|
#endif
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#if (LCD_ROTATE_FUNCTION == ENABLE)
|
#if (LCD_ROTATE_FUNCTION == ENABLE)
|
||||||
|
@ -111,7 +113,12 @@ void System_ChangeSleep(UINT32 sleep_lv)
|
||||||
//enter DEEP level
|
//enter DEEP level
|
||||||
DBG_MSG("enter level 3 - begin\r\n");
|
DBG_MSG("enter level 3 - begin\r\n");
|
||||||
#if (DISPLAY_FUNC == ENABLE)
|
#if (DISPLAY_FUNC == ENABLE)
|
||||||
GxVideo_SetDeviceCtrl(DOUT1, DISPLAY_DEVCTRL_SLEEP, TRUE);
|
#if HUNTING_CAMERA_MCU == ENABLE
|
||||||
|
if(sf_get_mode_flag())
|
||||||
|
{
|
||||||
|
GxVideo_SetDeviceCtrl(DOUT1, DISPLAY_DEVCTRL_SLEEP, TRUE);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
g_iSysSleepLevel = 3;
|
g_iSysSleepLevel = 3;
|
||||||
DBG_MSG("enter level 3 - end\r\n");
|
DBG_MSG("enter level 3 - end\r\n");
|
||||||
|
@ -126,7 +133,12 @@ void System_ChangeSleep(UINT32 sleep_lv)
|
||||||
DBG_MSG("leave level 3 - begin\r\n");
|
DBG_MSG("leave level 3 - begin\r\n");
|
||||||
|
|
||||||
#if (DISPLAY_FUNC == ENABLE)
|
#if (DISPLAY_FUNC == ENABLE)
|
||||||
GxVideo_SetDeviceCtrl(DOUT1, DISPLAY_DEVCTRL_SLEEP, FALSE);
|
#if HUNTING_CAMERA_MCU == ENABLE
|
||||||
|
if(sf_get_mode_flag())
|
||||||
|
{
|
||||||
|
GxVideo_SetDeviceCtrl(DOUT1, DISPLAY_DEVCTRL_SLEEP, FALSE);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
//GxVideo_SetDeviceCtrl(DOUT1, DISPLAY_DEVCTRL_BACKLIGHT, TRUE);
|
//GxVideo_SetDeviceCtrl(DOUT1, DISPLAY_DEVCTRL_BACKLIGHT, TRUE);
|
||||||
#endif
|
#endif
|
||||||
g_iSysSleepLevel = 2;
|
g_iSysSleepLevel = 2;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user