Low-level CPU ID peripheral driver. More...
Low-level CPU ID peripheral driver.
Provides access the CPU's serial number
The implementation should make sure, that calling cpuid_get() does not introduce any long-term power usage penalties. If e.g. some peripheral has to be powered on for the CPU ID to be read, the implementation should take care to disable the peripheral again after the read is finished.
Files | |
file | cpuid.h |
Low-level CPUID peripheral driver interface definitions. | |
Functions | |
void | cpuid_get (void *id) |
Gets the serial number of the CPU. More... | |
void cpuid_get | ( | void * | id | ) |
Gets the serial number of the CPU.
[out] | id | The serial number of the CPU of length CPUID_LEN (must be defined in the CPU's cpu_conf.h) |