📄 hwapi_sdram.h
字号:
/******************************************************************/
/* Copyright (C) 2007 ROCK-CHIPS FUZHOU . All Rights Reserved. */
/*******************************************************************
File : hwapi_sdram.h
Desc : 定义sdram的对外宏定义\接口函数
Author : huangxinyu
Date : 2007-05-30
Notes :
$Log: hwapi_sdram.h,v $
Revision 1.2 2007/10/08 02:38:49 Lingzhaojun
添加版本自动注释脚本
*********************************************************************/
#ifndef _HWAPI_SDRAM_H
#define _HWAPI_SDRAM_H
typedef enum
{
SDRAM_1x16, // 11x8
SDRAM_4x16, // 12x8
SDRAM_8x16, // 12x9
SDRAM_16x16, // 13x9
SDRAM_size_MAX
}SDRAM_SIZE_t;
typedef enum SDRAM_PRIORITY
{
PRIORITY_rrWR, // Round-robin wirte > read
PRIORITY_rr, //Round-robin wirte = read
PRIORITY_S1W, // S1 > S2 , wirte > read
PRIORITY_S1, //S1 > S2 , wirte = read
PRIORITY_S2W, //S2 > S1 , wirte > read
PRIORITY_S2, //S2 > S1 , wirte = read
PRIORITY_MAX
}SDRAM_PRIORITY_t;
/*********************************************************************
FUNCTION PROTOTYPES
*********************************************************************/
void SDRAM_PowerOnInit(void);
void SDRAM_SetFreq(unsigned int nKHz);
void SDRAM_SetPriority(SDRAM_PRIORITY_t priority);
#endif //_HWAPI_SDRAM_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -