TWI总线 源代码

汇集 TWI总线 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

#ifndef __TWI_H__ #define __TWI_H__ #ifndef F_CPU #define F_CPU 7372800 //晶振,注意有可能CONFIG.H里面已经定义的情况 #endif #define TWI_M…

源码文件

// 作者:古欣 // AVR与虚拟仪器 http://www.avrvi.com #include "config.h" //TWI master initialize // bit rate:100 void twi_master_init(…

源码文件

#ifndef __TWI_H__ #define __TWI_H__ #ifndef F_CPU #define F_CPU 7372800 //晶振,注意有可能CONFIG.H里面已经定义的情况 #endif #define TWI…

源码文件

#include "config.h" volatile uint8 main_tmp=0; //extern volatile uint8 main_tmp=0; //TWI master initialize // bit rate:100…

源码文件

/********************************************************************************************************* ** …

源码文件

/********************************************************************************************************* ** TWI…

源码文件

// This is a headfile for twi communication #include #include #include #include #define num 4 //Interrupt 中断入口地址 #prag…

源码文件

// This is a headfile for twi communication #include #include #include #include #define num 4 //Interrupt 中断入口地址 #prag…

源码文件

/*函数的使用说明: 1.该twi模块包含四种工作模式,主发,主收,从收,从发,其中主发由 twiWriteByte(从机地址,要发送的数据)实现,主收由twiReadByte(从机地址)实现,从机 的发送与接收均通过中断实现 2.在从机模式下…

源码文件

//ICC-AVR application builder : 2007-1-9 15:50:41 // Target : M8 // Crystal: 8.0000Mhz #ifndef _TWI_H #define _TWI_H #define …