BA-IS-XX I2C-Read
Reading from I2C with the usage of the RITMeX BA-IS-XX I/O module.
blockType: CFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package RITM blocks. |
Block BA-IS-XX I2C-Read It is used for reading from I2C with the usage of the RITMeX BA-IS-XX I/O module.
Ports
Output
#
RX
—
data read from I2C
vector
Details
Array depending on the value of the Number of words parameter.
| Data types |
|
| Complex numbers support |
No |
Parameters
Параметры
#
Номер модуля: —
unique module identification
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
Details
Used to uniquely identify a module when more than one I/O module of the same type is installed in the real-time machine.
Module numbers are signed on the RITM housing.
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Номер канала: —
I2C channel number
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
Details
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Режим: —
I2C operation mode
Master | Slave
Details
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Адрес: — I2C Slave device address on the bus
Details
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Количество слов: —
number of words to send and receive via I2C
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32
Details
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Шаг расчёта, с: — calculation step in seconds with which I2C data is exchanged
Details
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
