cpuid.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
36 #include "periph_cpu.h"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
49 #if CPUID_LEN
50 
57 void cpuid_get(void *id);
58 #endif /* CPUID_LEN */
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
void cpuid_get(void *id)
Gets the serial number of the CPU.