Lines Matching refs:odf_arg
77 static CO_SDO_abortCode_t canopen_odf_1f50(CO_ODF_arg_t *odf_arg) in canopen_odf_1f50() argument
81 if (odf_arg->subIndex != 1U) { in canopen_odf_1f50()
85 if (odf_arg->reading) { in canopen_odf_1f50()
94 if (odf_arg->firstSegment) { in canopen_odf_1f50()
107 ctx.total = odf_arg->dataLengthTotal; in canopen_odf_1f50()
111 err = flash_img_buffered_write(&ctx.flash_img_ctx, odf_arg->data, in canopen_odf_1f50()
112 odf_arg->dataLength, in canopen_odf_1f50()
113 odf_arg->lastSegment); in canopen_odf_1f50()
122 if (odf_arg->lastSegment) { in canopen_odf_1f50()
229 static CO_SDO_abortCode_t canopen_odf_1f51(CO_ODF_arg_t *odf_arg) in canopen_odf_1f51() argument
234 if (odf_arg->subIndex != 1U) { in canopen_odf_1f51()
238 if (odf_arg->reading) { in canopen_odf_1f51()
239 odf_arg->data[0] = canopen_program_get_status(); in canopen_odf_1f51()
249 cmd = odf_arg->data[0]; in canopen_odf_1f51()
250 memcpy(odf_arg->data, odf_arg->ODdataStorage, sizeof(uint8_t)); in canopen_odf_1f51()
314 static CO_SDO_abortCode_t canopen_odf_1f56(CO_ODF_arg_t *odf_arg) in canopen_odf_1f56() argument
324 if (odf_arg->subIndex != 1U) { in canopen_odf_1f56()
328 if (!odf_arg->reading) { in canopen_odf_1f56()
330 memcpy(odf_arg->data, odf_arg->ODdataStorage, sizeof(uint32_t)); in canopen_odf_1f56()
355 CO_setUint32(odf_arg->data, 0U); in canopen_odf_1f56()
364 CO_setUint32(odf_arg->data, 0U); in canopen_odf_1f56()
394 CO_setUint32(odf_arg->data, crc); in canopen_odf_1f56()
401 static CO_SDO_abortCode_t canopen_odf_1f57(CO_ODF_arg_t *odf_arg) in canopen_odf_1f57() argument
403 if (odf_arg->subIndex != 1U) { in canopen_odf_1f57()
407 if (!odf_arg->reading) { in canopen_odf_1f57()
409 memcpy(odf_arg->data, odf_arg->ODdataStorage, sizeof(uint32_t)); in canopen_odf_1f57()
413 CO_setUint32(odf_arg->data, ctx.flash_status); in canopen_odf_1f57()