at32_uid.h 400 B

123456789101112131415161718
  1. #ifndef AT32_UID_H_
  2. #define AT32_UID_H_
  3. #include <stdint.h>
  4. /**
  5. * The Artery factory-programmed UUID memory.
  6. * Three values of 32 bits each starting at this address
  7. * Use like this: STM32_UUID[0], STM32_UUID[1], STM32_UUID[2]
  8. */
  9. #define AT32_UUID ((uint8_t *)0x1FFFF7E8)
  10. void GetAT32IDStr(char* str, uint8_t* len);
  11. void GetAT32IDInt(char* value);
  12. #endif /* AT32_UID_H_ */