This function writes into a buffer, at the specified offset, the value of a stru_large_int structure.
Syntax |
set_u64 (buffer, i32 offset, stru_large_uint data) |
---|---|
buffer |
Can be an array, structure, register |
offset |
Offset in bytes |
data |
Variable of type stru_large_int in which to save the read value |
Validity |
Task, Rule |
Note |
The mirror function is the get_u64() |
Once you have loaded the example program on a control, via a shell you can verify that the get_u64 works. To do this, set a value between 0 and 127 - sizeof(my_data) to the offset variable, then set a non-zero value to the variables val_high and val_low, then verify that the my_data structure is equal to set_val.
|