📄 iic.h
字号:
/***********************************************************/
/* Copyright 2003 by SEED Incorporated. */
/* All rights reserved. Property of SEED Incorporated. */
/* */
/***********************************************************/
#ifndef _IIC_H
#define _IIC_H
#include <std.h>
#include <csl_stdinc.h>
#include <csl_i2c.h>
#ifdef __cplusplus
extern "C" {
#endif
void _IIC_write(I2C_Handle hI2C,
Uint8 devAddress,
Uint32 subAddress,
Uint8 data
);
/*
* ======== _IIC_read ========
* This function performs read from operation via I2C bus.
*/
void _IIC_read(I2C_Handle hI2C,
Uint8 devAddress,
Uint32 subAddress,
Uint8 *data
);
/* Spin in a delay loop for delay microseconds */
void EVMDM642_waitusec(Uint32 delay);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -