?? memtarget.c
字號:
/** ###################################################################
**
** (c) Freescale Semiconductor
** 2004 All Rights Reserved
**
**
** (c) Copyright UNIS, spol. s r.o. 1997-2004
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
** http : www.processorexpert.com
** mail : info@processorexpert.com
** ###################################################################*/
/* File: memTarget.c */
#include "port.h"
#include "mem.h"
#include "arch.h"
#include "assert.h"
#include <string.h>
#include <stdio.h>
/*******************************************************
* specific memory Package for 56F8346
*******************************************************/
/*****************************************************************************
*
* Module:
* memIsIM()
*
* Description:
* This function determines if the pointer to memory passed in is
* in internal memory of the 56F8346.
*
* Returns:
* true - if memory is in internal memory
* false - if memory is not in internal memory
*
* Global Data:
* None
*
* Arguments:
* memblock - void * pointer to a memory location
*
* Range Issues:
*
* Special Issues:
*
*******************************************************************************/
bool memIsIM (void * memblock)
{
return ((UInt32)memblock < (UInt32)0x2000);
}
/*****************************************************************************
*
* Module:
* memIsEM()
*
* Description:
* This function determines if the pointer to memory passed in is
* in external memory of the 56F8346.
*
* Returns:
* true - if memory is in external memory
* false - if memory is not in external memory
*
* Global Data:
* None
*
* Arguments:
* memblock - void * pointer to a memory location
*
* Range Issues:
*
* Special Issues:
*
*******************************************************************************/
bool memIsEM (void * memblock)
{
return ((UInt32)memblock >= (UInt32)0x2000);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -