High Speed Camera User Guide
50
KYFG_SetGrabberValueInt(camHandle, UserMemoryPageSelector , <page[255..0]>)
KYFG_ExecuteCommand(camHandle, UserMemoryBulkErase )
1.
2.
KYFG_ExecuteCommand(camHandle, UserMemoryPageSave )
uint8_t buffer[256]; uint32_t bufferSize = sizeof(buffer);
KYFG_CameraReadReg(camHandle, 0x30300, buffer, &bufferSize);
uint8_t buffer[256]={0,1,2,3/*...*/}; uint32_t bufferSize = sizeof(buffer);
KYFG_CameraWriteReg(camHandle, 0x30300, buffer, &bufferSize);
3.
4.
Figure 34 : Non-Volatile memory save function call sequence
1.
“UserMemoryBulkErase” – erase all user non-volatile memory
2.
“UserMemoryPageSelector” – select page[255..0] in memory (256 bytes for each page)
3.
“UserMemoryPageAll” – array of 256 bytes to load data of specified page
4.
“UserMemoryPageSave” – save selected page to non-volatile memory
Camera Features