请参考creator: help-> system reference guide, choose the related PSoC family's cy_boot, and search: CyGetUniqueID
void CyGetUniqueID(uint32* uniqueId)
Description: Returns the 64-bit unique id of the device
Parameters: uniqueId: Pointer to a two element 32-bit unsigned integer array.
Return Value: Returns the 64-bit unique id of the device by loading them into the integer array
pointed to by uniqueId.