| ||||||
Files | |
| file | maxim-max127.h |
MAXIM MAX127 ADC driver. | |
Defines | |
| #define | MAX127_I2C_ADDR 0x50 |
Functions | |
| int | MAX127readChan (tSensors link, byte i2caddress, byte adcchannel) |
Variables | |
| tByteArray | MAX127_I2CRequest |
| tByteArray | MAX127_I2CReply |
MAXIM MAX127 ADC
| #define MAX127_I2C_ADDR 0x50 |
MAX127 default I2C device address
Definition at line 39 of file maxim-max127.h.
| int MAX127readChan | ( | tSensors | link, |
| byte | i2caddress, | ||
| byte | adcchannel | ||
| ) |
Returns the current analogue value as measured on the specified channel.
| link | the MAX127 port number |
| i2caddress | the I2C address the MAX127 is configured for. Use MAX127_I2C_ADDR for the default. |
| adcchannel | the ADC channel number (0-7) |
Definition at line 53 of file maxim-max127.h.
Array to hold I2C reply data
Definition at line 42 of file maxim-max127.h.
Array to hold I2C command data
Definition at line 41 of file maxim-max127.h.
1.7.2