搜索资源列表
IICMaster
- 12Mhz标准51的100KHz IIC总线主器件模拟方式驱动程序。 本驱动程序即可以在没有Small RTOS的情况下使用。此时,要使用本驱动程序只需要配置IIC总线使用的IO口。在驱动程序的主文件iic_master.c仅包含一个文件config.h。用户需要的是在这个文件中设置IIC总线使用的IO口SDA和SCL。如果用户单独使用iic_master.c,还要在config.h包含iic_master.h文件和其它必须的文件如reg51等;并定义宏TRUE、FALSE和与编译器无关的
mainprogramRTC
- Using Keil uVision to create this project and compile it to get the hex file. Interfacing DS1307 with AT89S52/1/3 to read and write RTC(Real Time Clocking) IC with I2C bus protocol. SDA and SCL connected into AT89S52 P2.0 Pin and P2.1 pin.
gpioportpins
- The software implemented in this Note controls the two GPIO port pins connected to the serial data (SDA) and serial clock (SCL) lines of the I2C bus.-The software implemented in this Note controls the two GPIO port pins connected to the serial dat
lsl29003-cortex_m0-keil
- ISL29003 通过 I2C 总线与 LPC11C14 进行通信, 其中 PIO0_4 作为 ISL29003 的 SDA, PIO0_5 作为 ISL29003 的 SCL , PIO0_7 作为 ISL29003 的 Light_nIN-ISL29003 through the I2C bus to communicate with LPC11C14 which PIO0_4 as ISL29003 of SDA, PIO0_5 as ISL29003 of SCL, PIO0_
I2C
- 4. I2C程序设计与电路仿真 LPC2138微控制器具有标准的硬件I2C接口,可配置主机或从机,总线时钟频率可调整,可支持400KHZ总线频率。使用I2C总线时,要将P0.2、P0.3连接设置选择SCL、SDA,并且总线上要接两个上拉电阻,阻值1~5千欧。 定义器件的地址和LED输出端口,设置包括从机地址、子地址、数据缓冲区指针、操作数据个数、操作结束标志、子地址使能控制在内的变量。使用PINSEL0、PINSEL1寄存器设置I/O口工作模式,设置LED控制口为输出,其他I/O为输入。
STM32F4_模拟I2C读写EEPROM简洁版
- 模拟I2C读写EEPROM简洁版(不切换SDA方向、不检测ACK位)。下载即可使用。(Analog I2C read and write EEPROM simple version (do not switch SDA direction, do not detect ACK bit). You can use it for download.)