Clickmsgaddchecksumtask – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual
Page 164
APPENDIX
• CLICK 500 DEVELOPER GUIDE
163
ClickMsgAddChecksumTask
Add a checksum calculation function to the checksum table.
˽
LIBRARY – click500message.LIB
˽
SYNTAX –
void ClickMsgAddChecksumTask(funcPtr checksumTask,
unsigned char ChecksumTaskIndex);
˽
PARAMETER1 – A callback function the developer has created to calculate the check-
sum.
˽
PARAMETER2 – The checksum index references the callback function pointer in the
checksum table. By default 10 unique checksum algorithms (table entries 0 to 9) can
be used. If Click Supervisor support is used, the entry 9 will be claimed by this code
module.
˽
RETURN VALUE – none
˽
SEE ALSO – ClickMsgStoreChecksum, ClickMsgChecksumClear
This manual is related to the following products: