equal
deleted
inserted
replaced
1141 * configuration object and is written to the slave whenever the slave is |
1141 * configuration object and is written to the slave whenever the slave is |
1142 * being configured by the master. This usually happens once on master |
1142 * being configured by the master. This usually happens once on master |
1143 * activation, but can be repeated subsequently, for example after the slave's |
1143 * activation, but can be repeated subsequently, for example after the slave's |
1144 * power supply failed. |
1144 * power supply failed. |
1145 * |
1145 * |
|
1146 * The \a idn parameter can be separated into serveral sections: |
|
1147 * - Bit 15: Standard data (0) or Product data (1) |
|
1148 * - Bit 14 - 12: Parameter set (0 - 7) |
|
1149 * - Bit 11 - 0: Data block number (0 - 4095) |
|
1150 * |
1146 * Please note that the this function does not do any endianess correction. |
1151 * Please note that the this function does not do any endianess correction. |
1147 * Data have to be passed in EtherCAT endianess (little-endian). |
1152 * Multi-byte data have to be passed in EtherCAT endianess (little-endian). |
1148 * |
1153 * |
1149 * \retval 0 Success. |
1154 * \retval 0 Success. |
1150 * \retval <0 Error code. |
1155 * \retval <0 Error code. |
1151 */ |
1156 */ |
1152 int ecrt_slave_config_idn( |
1157 int ecrt_slave_config_idn( |