⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hwsetup.c

📁 代码有点长,需细心阅读,仅供影音视听类产品的开发人员参考
💻 C
字号:
/*
** FILE
** hwsetup.c
**
** DESCRIPTION
** provide system boot-up reset code.
**
** *NOTE* this file is split from reset.c
*/

#include "config.h"
#include "global.h"
#include "macro.h"
#include "regmap.h"
#include "dma.h"
#include "cddsp.h"
#include "vpp.h"
#include "memmap.h"
#include "func.h"
#include "framebuf.h"
#include "hwsetup.h"
#include "servo.h"
#include "set.h"
#include "gpio.h"

//#define MONE_SYSTEM_CONFIGURATION
//#define MONE_PRESET_FRMBUF
//#define LOW_VOLTAGE_RESET

#ifdef MONE_SYSTEM_CONFIGURATION
void    dump_memory_configuration(void);
#endif
/*
** FUNCTION
** preset_framebuffer()
*/
void preset_framebuffer(int config)
{
    SkipFrameCount = 0;                     /*reset skip_frame_count */

    //psprintf(linebuf,"old_config:%x new_config:%x\n",framebuffer_configuration,config);
    //epp_write_wait(linebuf);

    //.If press RETURN(or PBC ON),we'll have PbcBlackEnable TRUE(==0xFF) and enter psd_navigation()
    //.If process segment TRACK or segment MENU,we'll have PlaySeg TRUE(==0x1)
    //.If 2 conditions meet,RETURN(or PBC ON) will execute at once and keep last picture.
    // Disable video will be executed at the end of do_sequence_header()


    //if(PlaySeg==1||PlaySelection==1)/* IsPlay segment MENU*/
    if((PlaySeg == 1 || PlaySelection == 1) && PbcBlackEnable)  /* IsPlay segment MENU and PBC return */
    {

        if(framebuffer_configuration != config)
        {
#ifdef MONE_PRESET_FRMBUF
            epp_write_wait
                ("(HIRES)Different Config==>Preset Segment TRACK or Segment MEMU\n");
#endif
            //JJDing 2002/10/21
            //For 懂

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -