beautypg.com

Clickflashwritesupervisor – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual

Page 145

background image

144

APPENDIX • CLICK 500 DEVELOPER GUIDE

ClickflashWriteSupervisor

Puts the data found in “dataArray” and saves it to the supervisor config space in flash.

˽

LIBRARY – click500flash.lib

˽

SYNTAX –

int ClickflashWriteSupervisor( int offset, void* dataArray,
int numBytes );

˽

PARAMETER1 – The offset from the beginning of the Supervisor support space. Ex-

amples values are: OEM_CONFIG_0, OEM_CONFIG_1, OEM_CONFIG_2.

˽

PARAMETER2 – Pointer to the data source address.

˽

PARAMETER3 – The number of bytes to write.