文件名称:iic
介绍说明--下载内容来自于网络,使用问题请自行百度
extern void I2C0_IRQHandler( void );
extern void I2C1_IRQHandler( void );
extern void I2C2_IRQHandler( void );
extern void My_I2C_IRQHandler(LPC_I2C_TypeDef *LPC_I2Cx); // 通用的函数
extern uint32_t I2CInit_0( uint32_t I2cMode ,int SpeedMode) ;//I2C0支持快速模式和标准模式
extern uint32_t I2CInit_1( uint32_t I2cMode );
extern uint32_t I2CInit_2( uint32_t I2cMode );
uint8_t I2C_WriteNByte(uint8_t sla, uint8_t suba_type, uint32_t suba, uint8_t *s, uint32_t num ,LPC_I2C_TypeDef *LPC_I2Cx); //通用的I2C写函数
uint8_t I2C_ReadNByte (uint8_t sla, uint8_t suba_type, uint32_t suba, uint8_t *s, uint32_t num ,LPC_I2C_TypeDef *LPC_I2Cx); //通用的I2C读函数(extern void I2C0_IRQHandler( void );
extern void I2C1_IRQHandler( void );
extern void I2C2_IRQHandler( void );
extern void My_I2C_IRQHandler(LPC_I2C_TypeDef *LPC_I2Cx);
extern uint32_t I2CInit_0( uint32_t I2cMode ,int SpeedMode) ;
extern uint32_t I2CInit_1( uint32_t I2cMode );
extern uint32_t I2CInit_2( uint32_t I2cMode );
uint8_t I2C_WriteNByte(uint8_t sla, uint8_t suba_type, uint32_t suba, uint8_t *s, uint32_t num ,LPC_I2C_TypeDef *LPC_I2Cx);
uint8_t I2C_ReadNByte (uint8_t sla, uint8_t suba_type, uint32_t suba, uint8_t *s, uint32_t num ,LPC_I2C_TypeDef *LPC_I2Cx);)
extern void I2C1_IRQHandler( void );
extern void I2C2_IRQHandler( void );
extern void My_I2C_IRQHandler(LPC_I2C_TypeDef *LPC_I2Cx); // 通用的函数
extern uint32_t I2CInit_0( uint32_t I2cMode ,int SpeedMode) ;//I2C0支持快速模式和标准模式
extern uint32_t I2CInit_1( uint32_t I2cMode );
extern uint32_t I2CInit_2( uint32_t I2cMode );
uint8_t I2C_WriteNByte(uint8_t sla, uint8_t suba_type, uint32_t suba, uint8_t *s, uint32_t num ,LPC_I2C_TypeDef *LPC_I2Cx); //通用的I2C写函数
uint8_t I2C_ReadNByte (uint8_t sla, uint8_t suba_type, uint32_t suba, uint8_t *s, uint32_t num ,LPC_I2C_TypeDef *LPC_I2Cx); //通用的I2C读函数(extern void I2C0_IRQHandler( void );
extern void I2C1_IRQHandler( void );
extern void I2C2_IRQHandler( void );
extern void My_I2C_IRQHandler(LPC_I2C_TypeDef *LPC_I2Cx);
extern uint32_t I2CInit_0( uint32_t I2cMode ,int SpeedMode) ;
extern uint32_t I2CInit_1( uint32_t I2cMode );
extern uint32_t I2CInit_2( uint32_t I2cMode );
uint8_t I2C_WriteNByte(uint8_t sla, uint8_t suba_type, uint32_t suba, uint8_t *s, uint32_t num ,LPC_I2C_TypeDef *LPC_I2Cx);
uint8_t I2C_ReadNByte (uint8_t sla, uint8_t suba_type, uint32_t suba, uint8_t *s, uint32_t num ,LPC_I2C_TypeDef *LPC_I2Cx);)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
iic\i2c.c | 15624 | 2017-03-13 |
iic\i2c.h | 1707 | 2017-03-13 |
iic |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.