i2c.c File Reference
I2C generic driver functions (implementation). More...
#include "i2c.h"#include "cfg/cfg_i2c.h"#include <cfg/compiler.h>#include <cfg/macros.h>#include <cfg/debug.h>#include <cpu/attr.h>#include "drv/PP_CAT3(i2c, _, CPU_ID).h"Go to the source code of this file.
Functions | |
| bool | i2c_send (const void *_buf, size_t count) |
| Send a sequence of bytes in master transmitter mode to the selected slave device through the I2C bus. | |
| bool | i2c_recv (void *_buf, size_t count) |
| Receive a sequence of one or more bytes from the selected slave device in master receive mode through the I2C bus. | |
Detailed Description
I2C generic driver functions (implementation).
Definition in file i2c.c.
