📄 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 = 0xa0e10000; // MIU1 TVE Frame Buffer 1 Start Address
*P_TV_START_ADR2 = 0xa0ea6000; // MIU1 TVE Frame Buffer 2 Start Address
*P_TV_START_ADR3 = 0xa0f3c000; // 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 = 0xa0e10000; // MIU2 TVE Frame Buffer 1 Start Address
*P_MIU2_TV_START_ADR2 = 0xa0ea6000; // MIU2 TVE Frame Buffer 2 Start Address
*P_MIU2_TV_START_ADR3 = 0xa0f3c000; // MIU2 TVE Frame Buffer 3 Start Address
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -