![]() |
PIDUINO
|
Structure containing information about the Max1161x converter. More...
#include <max1161x.h>
Public Member Functions | |
Info (MaxIndex id=Max11615, int busId=I2cDev::Info::defaultBus().id()) | |
Default constructor for Info. | |
Info (MaxIndex id, int addr, int nchan, double intref, double fsr) | |
Constructs an Info object with the specified parameters. | |
void | setId (MaxIndex id) |
Sets the Max1161x model ID. | |
Public Attributes | |
MaxIndex | id |
The Max1161x model ID (12, 13, 14, 15, 16, or 17). | |
int | addr |
The I2C address of the converter. | |
int | nchan |
The number of channels configured for the converter. | |
double | intref |
The internal reference voltage value. | |
double | fsr |
The full-scale range value. | |
int | busId |
The I2C bus ID used for communication. | |
Structure containing information about the Max1161x converter.
Definition at line 108 of file max1161x.h.
Piduino::Max1161x::Info::Info | ( | MaxIndex | id = Max11615 , |
int | busId = I2cDev::Info::defaultBus().id() |
||
) |
Piduino::Max1161x::Info::Info | ( | MaxIndex | id, |
int | addr, | ||
int | nchan, | ||
double | intref, | ||
double | fsr | ||
) |
void Piduino::Max1161x::Info::setId | ( | MaxIndex | id | ) |
int Piduino::Max1161x::Info::addr |
The I2C address of the converter.
Definition at line 110 of file max1161x.h.
int Piduino::Max1161x::Info::busId |
The I2C bus ID used for communication.
Definition at line 114 of file max1161x.h.
double Piduino::Max1161x::Info::fsr |
The full-scale range value.
Definition at line 113 of file max1161x.h.
MaxIndex Piduino::Max1161x::Info::id |
The Max1161x model ID (12, 13, 14, 15, 16, or 17).
Definition at line 109 of file max1161x.h.
double Piduino::Max1161x::Info::intref |
The internal reference voltage value.
Definition at line 112 of file max1161x.h.
int Piduino::Max1161x::Info::nchan |
The number of channels configured for the converter.
Definition at line 111 of file max1161x.h.