beautypg.com

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

Page 143

background image

142

APPENDIX • CLICK 500 DEVELOPER GUIDE

ClickflashRead

Retrieves the user defined array from flash and puts it in dataArray.

˽

LIBRARY – click500flash.lib

˽

SYNTAX –

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

˽

PARAMETER1 – The location to place the retrieved data.

˽

PARAMETER2 – The number of bytes to read from the config space.

˽

PARAMETER3 – An offset from the beginning of the user config space.

˽

RETURN VALUE – 0 - Success/1 - Failure

˽

SEE ALSO – ClickflashWrite