You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
356 B

  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);