#include <stdlib.h>
#include <stdio.h>
#include <digital.h>
#include <i2cd.h>
Include dependency graph for digital.c:
Go to the source code of this file.
Functions | |
unsigned char | I2C_ReadBinIn (int chip) |
read the binary input on a PCF8574(A) device. More... | |
int | I2C_WriteBinOut (int chip, unsigned char value) |
int | I2C_init_digital () |
initializes all PCF8574 devices in the system. More... | |
Variables | |
_I2C_bin_datas | _I2C_bin_data [32] |
keeps the internal data for all PCF8574(A) bin i/o devices. More... | |
int | _I2C_binnum |
unsigned char | _I2C_digital_mbuf [MAXI2CMESSLENGTH] |
i2cmess | _I2C_digital_m |
Definition in file digital.c.
|
Definition at line 60 of file digital.c. References _I2C_digital_mbuf, _I2C_bin_datas::active, _I2C_bin_datas::address, i2cmess::address, i2cmess::buf, I2C_MASTER, I2C_OK, I2C_process, i2cmess::nrBytes, and i2cmess::status. |
|
Definition at line 30 of file digital.c. Referenced by I2C_init_digital. |
|
|
|
Definition at line 33 of file digital.c. Referenced by I2C_init_digital, I2C_ReadBinIn, and I2C_WriteBinOut. |