kbd_firmware/platforms/hardware_id.h
foostan 3dc23e2a84 Squashed 'firmwares/qmk/qmk_firmware/' content from commit b7468f4785
git-subtree-dir: firmwares/qmk/qmk_firmware
git-subtree-split: b7468f47857ad20a031906ccbd654541222a0d26
2024-01-28 21:03:18 +09:00

19 lines
356 B
C

// Copyright 2022 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <stdint.h>
/** \brief Storage for a hardware ID
*
* Ensure this is sized to cover all hardware scenarios
*/
typedef struct hardware_id_t {
uint32_t data[4];
} hardware_id_t;
/** \brief Query the devices "unique" ID
*/
hardware_id_t get_hardware_id(void);