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 
34 #ifndef PERIPH_CPUID_H
35 #define PERIPH_CPUID_H
36 
37 #include "periph_cpu.h"
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
50 #if CPUID_LEN
51 
58 void cpuid_get(void *id);
59 #endif /* CPUID_LEN */
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* PERIPH_CPUID_H */
void cpuid_get(void *id)
Gets the serial number of the CPU.