Loading...
Searching...
No Matches

Low-level CPU ID peripheral driver. More...

Detailed Description

Low-level CPU ID peripheral driver.

Provides access the CPU's serial number

Note
This is distinct from what is called CPUID in ARM CPUs (which only covers variation down to silicon revisions, not down to individual instances of a CPU).

(Low-) Power Implications

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.
 

Function Documentation

◆ cpuid_get()

void cpuid_get ( void *  id)

Gets the serial number of the CPU.

Parameters
[out]idThe serial number of the CPU of length CPUID_LEN (must be defined in the CPU's cpu_conf.h)