hwapi_sdram.h

来自「瑞星微公司RK27XX系列芯片的SDK开发包」· C头文件 代码 · 共 47 行

H
47
字号
/******************************************************************/
/*   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 + =
减小字号Ctrl + -
显示快捷键?