开发平台;MSP430 IIC总线驱动代码 本人试用过,可以成功的调通 /////////////////////////////////////////////////////////// //iic.c #include <msp430x14x.h> typedef unsigned char uchar; typedef unsigned int uint; #define SCL_H P1OUT |= BIT2 #define SCL_L P1OUT &= ~BIT2 #define SDA_H P1OUT |= BIT3 #define SDA_L P1OUT &= ~BIT3
MSP430_IIC_程序驱动代码.rar
(5.53 KB)
|