代码搜索结果
找到约 10,000 项符合
I2C 的代码
landzo
/******************** (C) COPYRIGHT 2011 野火嵌入式开发工作室 ********************
* 文件名 :i2c.h
* 描述 :I2C头文件
*
* 实验平台 :野火kinetis开发板
* 库版本 :
* 嵌入系统 :
*
* 作者 :
read-byte.lis
.module read-byte.c
.area text(rom, con, rel)
0000 .dbfile D:\16实验程序\I2C读写24C04\读一个字节\read-byte.c
0000 .dbfile
write-byte.lis
.module write-byte.c
.area text(rom, con, rel)
0000 .dbfile D:\16实验程序\I2C读写24C04\写一个字节\write-byte.c
0000 .dbfil
i2ccore.c
/* I2cCore.c - MPC8220 PPC I2C Library */
/* Copyright 2004 Freescale Semiconductor, Inc. */
/*
modification history
--------------------
01c,29jun04,tcl 1.3 removed CR. Added two bytes offset
i2ctest.c
/****************************************************************************
* 文件名:I2CTest.C
* 功能:使用硬件I2C对E2PROM进行操作,利用中断方式操作。
* 说明:将跳线器JP5、JP9短接。
************************************************
i2ccore.c
/* I2cCore.c - MPC8220 PPC I2C Library */
/* Copyright 2004 Freescale Semiconductor, Inc. */
/*
modification history
--------------------
01c,29jun04,tcl 1.3 removed CR. Added two bytes offset
i2ctest.c
/****************************************************************************
* 文件名:I2CTest.C
* 功能:使用硬件I2C对E2PROM进行操作,利用中断方式操作。
* 说明:将跳线器JP5、JP9短接。
************************************************
ds3231_yj.c
/*********************************
晶振:11.0592M
硬件I2C总线操作DS3231
2007/11/08
编写:fjh
********************************/
#include
#include
#include "lcd.c"
#include "key.c"
i2c_s.c
#include
/* 主器件函数库 */
/*******************************************
设置总线函数
用于设置I2C控制寄存器,包括总线时钟,速率及从地址.不接受广播地址
********************************************/
void setbus(uns
i2ccore.c
/* I2cCore.c - MPC8220 PPC I2C Library */
/* Copyright 2004 Freescale Semiconductor, Inc. */
/*
modification history
--------------------
01c,29jun04,tcl 1.3 removed CR. Added two bytes offset