代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
eeprom.hlk
-noprelink
-rom=D=R
-nomessage
-list="C:\WorkSpace\EEPROM\EEPROM\debug\EEPROM.map"
-nooptimize
-start=PResetPRG,PIntPRG/0400,P,C$DSEC,C$BSEC,D/0800,B,R/0F780,S/0FD80
-nologo
-input="C:\WorkSpac
eeprom.__i
-c --device DARMP -g -O0 --apcs=interwork -I "C:\Keil\ARM\INC\Philips" -o "eeprom.o" "eeprom.c"
eeprom.h
#define NUL '\0'
#define DELAY_COUNT 8555
#define AA 2
#define SI 3
#define STO 4
#define STA 5
#define I2EN 6
#define START 0x08
#define R_START 0x10
#define M
eeprom.c
#include
#include "eeprom.h"
void i2cInit(void)
{
PINSEL0 |= 0x50; //Switch GPIO to I2C pins
I2C0SCLH = 50; //Set bit rate 14.7456Mhz/VPBDIV+SCLH+SCLL = 14.7456
eeprom.__i
-c --device DARMP -g -O0 --apcs=interwork -I "C:\Keil\ARM\INC\Philips" -o "eeprom.o" "eeprom.c"
eeprom.h
#define NUL '\0'
#define DELAY_COUNT 8555
#define AA 2
#define SI 3
#define STO 4
#define STA 5
#define I2EN 6
#define START 0x08
#define R_START 0x10
#define M
eeprom.c
#include
#include "eeprom.h"
void i2cInit(void)
{
PINSEL0 |= 0x50; //Switch GPIO to I2C pins
I2C0SCLH = 50; //Set bit rate 14.7456Mhz/VPBDIV+SCLH+SCLL = 14.7456