#include "typedefs.h"
#include "dev.h"
Go to the source code of this file.
Functions | |
| void | I2CWrAdr8 (unsigned char devId, unsigned char adr, unsigned char noOfBytes, void *ptr) |
| Write a block to the given device/internal address. | |
| void | I2CRdAdr8 (unsigned char devId, unsigned char adr, unsigned char noOfBytes, void *ptr) |
| Read a block from the given device/internal address. | |
Variables | |
| t_dev | i2c_handler |
| Device descritptor for the kernel. | |
The implementation assumes, that the processor is operating a master and the devices connected always requiere besides the device address an internal address to select internal resgisters for read/write.
Definition in file I2Cmaster.h.
|
||||||||||||||||||||
|
Read a block from the given device/internal address.
|
|
||||||||||||||||||||
|
Write a block to the given device/internal address.
|
1.4.6