lib_version.h 822 B

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. *******************************************************************************
  3. * @file lib_version.h
  4. * @author Application Team
  5. * @version V4.5.0
  6. * @date 2019-05-14
  7. * @brief Version library.
  8. *******************************************************************************/
  9. #ifndef __LIB_VERSION_H
  10. #define __LIB_VERSION_H
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #include "target.h"
  15. #define DRIVER_VERSION(major,minor) (((major) << 8) | (minor))
  16. /* Exported Functions ------------------------------------------------------- */
  17. /**
  18. * @brief Read receive data register.
  19. * @param None
  20. * @retval Version value
  21. */
  22. uint16_t Target_GetDriveVersion(void);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* __LIB_VERSION_H */
  27. /*********************************** END OF FILE ******************************/