?? miu_control.c
字號:
/******************************************************************************
*
* The information contained herein is the exclusive property of
* Sunplus Technology Co. And shall not be distributed, reproduced,
* or disclosed in whole in part without prior written permission.
*
* (C) COPYRIGHT 2005 SUNPLUS TECHNOLOGY CO.
* ALL RIGHTS RESERVED
*
* The entire notice above must be reproduced on all authorized copies.
*
*****************************************************************************/
/******************************************************************************
* Filename: MIU_Control.c
* Author: Robin.xjliu (eMail: xjliu@sunplus.com)
* Tel: 00885-028-87848688-5884
* Date: 2005-11-10
* Description: control all register about MIU1 and MIU2
* Reference:
* Version history:
*-----------------------------------------------------------------------------
* Version YYYY-MM-DD-INDEX Modified By Description
* 1.0.0 2005-11-10 xjliu Create
*
*****************************************************************************/
#include "Include/Sys_Global.h"
#include "Include/MIU_Control.h"
/**
* MIU1_Init - initialize MIU1's register
*/
void MIU1_Init(void)
{
//*P_MIU1_SDRAM_SETTING = 0x854020C0; // MIU1 SDRAM configuration
*P_TV_START_ADR1 = 0xa0d00000; // MIU1 TVE Frame Buffer 1 Start Address
*P_TV_START_ADR2 = 0xa0e00000; // MIU1 TVE Frame Buffer 2 Start Address
*P_TV_START_ADR3 = 0xa0f00000; // MIU1 TVE Frame Buffer 3 Start Address
}
/**
* MIU2_Init - initialize MIU2's register
*/
void MIU2_Init(void)
{
*P_MIU2_SDRAM_SETTING = 0x854020C0; // MIU2 SDRAM configuration
*P_MIU2_TV_START_ADR1 = 0xa0d00000; // MIU2 TVE Frame Buffer 1 Start Address
*P_MIU2_TV_START_ADR2 = 0xa0e00000; // MIU2 TVE Frame Buffer 2 Start Address
*P_MIU2_TV_START_ADR3 = 0xa0f00000; // MIU2 TVE Frame Buffer 3 Start Address
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -