The friendly Operating System for the Internet of Things
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 
23 #ifndef PERIPH_CPUID_H
24 #define PERIPH_CPUID_H
25 
26 #include "periph_cpu.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
39 #if CPUID_LEN
40 
47 void cpuid_get(void *id);
48 #endif /* CPUID_LEN */
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* PERIPH_CPUID_H */
55 
void cpuid_get(void *id)
Gets the serial number of the CPU.