Parent directory

hardware_id.h

356 bytes
 1// Copyright 2022 QMK
 2// SPDX-License-Identifier: GPL-2.0-or-later
 3
 4#pragma once
 5
 6#include <stdint.h>
 7
 8/** \brief Storage for a hardware ID
 9 *
10 * Ensure this is sized to cover all hardware scenarios
11 */
12typedef struct hardware_id_t {
13    uint32_t data[4];
14} hardware_id_t;
15
16/** \brief Query the devices "unique" ID
17 */
18hardware_id_t get_hardware_id(void);