Showing changes from revision #2 to #3:
Added | Removed | Changed
unsigned int64 HAL_MachineID(void)
Entry | |
---|---|
Exit | |
---|---|
- | Returns machine ID |
This is an internal call for OS use only, and its specifications are subject to change without warning. User software should use OS_ReadSysInfo 12 (and friends) instead of calling this function directly.
Returns a 64-bit unique machine identifier,this may later be used to form the ethernet MAC address but otherwise has no great significance on non networked machines.
The top 8 bits are a CRC,based on the same algorithm the original DS2401 used – if the CRC fails zero will be substituted.
If this machine ID format is unsuitable for your hardware, it is recommended that you implement HAL_ExtMachineID instead.