stm32_uid.h 466 B

12345678910111213141516171819202122232425
  1. /*
  2. * stm32_uid.h
  3. *
  4. * Created on: 25.07.2016
  5. * Author: balbekova
  6. */
  7. #ifndef STM32_UID_H_
  8. #define STM32_UID_H_
  9. #include <stdint.h>
  10. /**
  11. * The STM32 factory-programmed UUID memory.
  12. * Three values of 32 bits each starting at this address
  13. * Use like this: STM32_UUID[0], STM32_UUID[1], STM32_UUID[2]
  14. */
  15. #define STM32_UUID ((uint8_t *)0x1FFF7A10)
  16. void GetSTM32IDStr(char* str, uint8_t* len);
  17. void GetSTM32IDInt(char* value);
  18. #endif /* STM32_UID_H_ */