• 大小: 10.02MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-17
  • 语言: 其他
  • 标签: XC886CM  

资源简介

英飞凌资料,XC886CM的CAN/eeprom/PSM/SSC/UART test/Timer01/WDT等功能的示例程序,尤其对CAN通讯的示例最多。

资源截图

代码片段和文件信息

//****************************************************************************
// File Name     XC8Memory.c
//----------------------------------------------------------------------------
// Derivatives   Infineon XC88x AA and AB
//
// Description   Sets of function to handle the memory in the XC88x AA.
//               In particular the Flash handling is taken care of here.
//
//----------------------------------------------------------------------------
// Date          14.03.2006 10:48:38
// Copyright     (c) 2006 Infineon Technologies
//****************************************************************************

#include “XC8Memory.h“


// **************************************************************************
// Function Name:    void LoadXD2WLBuf (unsigned char xdata *address)
// Description:      Load  32byte of data from the XDATA to the WLBuf
//                   WLBuf is a buffer that is located in the IDATA-space
// Input Parameter:  *address ==>  pointer to the address
//                                 in the XDATA memory
// Output Parameter: none

// NOTE: Execution time and code can saved 
//       if you have the possibility to write directly in
//       the buffer
// **************************************************************************
void LoadXD2WLBuf(unsigned char xdata *address)
{
// Loads Wordline Buffer with 32bytes from given address in XDATA
unsigned char i;
 for (i=0; i}

// ***********************************************************************
// Function Name:    void LoadConst2WLBuf (unsigned char code *address)
// Description:      Load 32byte of data from the CODE to the WLBuf
//                   WLBuf is a buffer that is located in the IDATA-space
//                   This is used to copy data from one Flash location to another.
// Input Parameter:  *address ==>  pointer to the address
//            in the CODE memory
// Output Parameter: none

// NOTE: Execution time and code can saved 
//       if you have the possibility to write directly in
//       the buffer
// ***********************************************************************
void LoadConst2WLBuf(unsigned char code *address)
{
// Loads Wordline Buffer with 32bytes from given address in CODE
unsigned char i;
 for (i=0; i { WLBuf[i] = *address++;
 }
}

// **************************************************************************************
// Function Name:    bit ProgWL (unsigned char code *AdrBnkXSecYWLZ)
// Description:      Program the data from the WLBuf to the location in the Flash
//                   which is pointed by *AdrBnkXSecYWLZ
// Input Parameter:  *AdrBnkXSecYWLZ ==> pointer to the location in the FLASH.
//                                       The address must be aligned to a 32byte boundary
// Output Parameter: 1 = Success
//                   0 = Fail
// Note:             used Stac

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    4309442  2006-12-23 02:14  IFINEON_XC886例子\EEmulation.zip

     文件      33435  2006-03-15 23:04  IFINEON_XC886例子\eeprom\eeprom\Source_Code\eeprom.dav

     文件      29856  2006-03-15 23:04  IFINEON_XC886例子\eeprom\eeprom\Source_Code\eeprom.dpt

     文件       5025  2006-03-15 23:04  IFINEON_XC886例子\eeprom\eeprom\Source_Code\eeprom.rtf

     文件      12194  2006-03-20 13:15  IFINEON_XC886例子\eeprom\eeprom\Source_Code\MAIN.C

     文件      16640  2006-03-19 00:47  IFINEON_XC886例子\eeprom\eeprom\Source_Code\MAIN.H

     文件       1594  2006-09-06 23:16  IFINEON_XC886例子\eeprom\eeprom\Source_Code\readme.txt

     文件       7920  2006-03-19 18:43  IFINEON_XC886例子\eeprom\eeprom\Source_Code\START_XC.A51

     文件       8304  2006-03-19 18:01  IFINEON_XC886例子\eeprom\eeprom\Source_Code\UART.C

     文件       2800  2006-03-19 18:43  IFINEON_XC886例子\eeprom\eeprom\Source_Code\UART.H

     文件      30219  2006-09-06 23:40  IFINEON_XC886例子\eeprom\eeprom\Source_Code\XC88x_FLADDR.H

     文件       9355  2006-09-06 23:41  IFINEON_XC886例子\eeprom\eeprom\Source_Code\XC88x_FLHANDLER.ASM

     文件       6098  2006-09-06 23:40  IFINEON_XC886例子\eeprom\eeprom\Source_Code\XC8Memory.c

     文件       2471  2006-09-06 23:40  IFINEON_XC886例子\eeprom\eeprom\Source_Code\XC8Memory.h

     文件     174592  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom

     文件       4935  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.hex

     文件        133  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.lnp

     文件      95480  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.MAP

    .......      3418  2007-10-12 17:20  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.opt.bak

     文件        484  2011-01-03 14:13  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.plg

     文件     148114  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.SBR

    .......      2766  2007-10-12 17:20  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.Uv2.bak

    .......     63653  2011-01-03 14:13  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.uvopt

    .......     15081  2011-01-03 14:13  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom.uvproj

     文件       3246  2006-09-06 23:18  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom_Opt.Bak

     文件       2772  2006-03-20 11:59  IFINEON_XC886例子\eeprom\eeprom\Working\eeprom_Uv2.Bak

     文件      19630  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\MAIN.lst

     文件      66470  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\MAIN.obj

     文件      19505  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\START_XC.lst

     文件       1304  2011-01-03 14:12  IFINEON_XC886例子\eeprom\eeprom\Working\START_XC.obj

............此处省略27个文件信息

评论

共有 条评论

相关资源