logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

hardware_id.h (356B)


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