代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
eeprom.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="E:\2407C\9eeprom1211\"
ProjectType=Executable
CPUFamily=TMS320C24XX
Tool="Compiler"
eeprom.mak
/************* Code Composer V1 Project Data ********************
The following section contains data generated by Code Composer
to store project information like build options, source filenames
eeprom.c
#include "register.h"
int source[4]={0x2233,0x4455,0x4455,0x5566};
int result[4];
int n,control,control1;
//系统初始化子程序
void sysinitial()
{
asm(" setc INTM");//关闭总中断
asm(" clrc OVM");//累加器结果正常溢
eeprom.c
//24LC256的宏定义
#define EDATA_H 0x0040 //FLOATS DATA LINE (IOPF6=1)
#define EDATA_L 0xFFBF //DRIVES DATA LINE LOW(IOPF6=0)
#define ECLOCK_H 0x0020 //FLOATS CLOCK LINE (IOPF5=1)
#def
eeprom.c
/*
create by hzh, to support wr/rd parameters to/from eeprom
*/
#include "def.h"
#include "2440addr.h"
#include "2440lib.h"
#define SLV_ADDR_24C02 0xa0
void Delay(int ms);
static volati
eeprom.h
/***********************************
Name: EEPROMDG128.c
Function:Erase and Program the EEPROM
Author: QIU ZHAOPENG
Data: 2008.10.01
** Contents :
** SetByte - byte IEE1
eeprom.c
/***********************************
Name: EEPROMDG128.c
Function:Erase and Program the EEPROM
Author: QIU ZHAOPENG
Data: 2008.10.01
************************************/
/* MODUL
eeprom.h
#ifndef _EEPROM_H
#define _EEPROM_H
extern void EEPROM_write(unsigned char adr, unsigned char dat);
extern unsigned char EEPROM_read(unsigned char adr);
#endif