Loading...
Searching...
No Matches
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
30#ifndef PERIPH_CPUID_H
31#define PERIPH_CPUID_H
32
33#include "periph_cpu.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
46#if CPUID_LEN
47
54void cpuid_get(void *id);
55#endif /* CPUID_LEN */
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* PERIPH_CPUID_H */
void cpuid_get(void *id)
Gets the serial number of the CPU.