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

📄 util.h

📁 davinci的NANDFLASH烧写程序
💻 H
字号:
/* --------------------------------------------------------------------------
    FILE        : util.h
    PURPOSE     : Misc. utility header file
    PROJECT     : DaVinci CCS NAND Flashing Utility
    AUTHOR      : Daniel Allred
    DATE	    : 04-Jun-2007  
 
    HISTORY
 	     v1.00 - DJA - 04-Jun-2007
 	        Completion (with support for DM6441 and DM6441_LV)
 	     
 ----------------------------------------------------------------------------- */

#ifndef _UTIL_H_
#define _UTIL_H_

#define ENDIAN_SWAP(a) (((a&0xFF)<<24)|((a&0xFF0000)>>8)|((a&0xFF00)<<8)|((a&0xFF000000)>>24))

// Memory Allocation for decoing the s-record
void *ubl_alloc_mem (Uint32 size);
Uint32 get_current_mem_loc(void);
void set_current_mem_loc(Uint32 value);

// NOP wait loop 
void waitloop(unsigned int loopcnt);

#endif //_UTIL_H_

⌨️ 快捷键说明

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