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 
10 #ifndef __LIB_VERSION_H
11 #define __LIB_VERSION_H
12 
13 #ifdef __cplusplus
14  extern "C" {
15 #endif
16 
17 #include "target.h"
18 
19 #define DRIVER_VERSION(major,minor) (((major) << 8) | (minor))
20 
21 /* Exported Functions ------------------------------------------------------- */
22 
23 /**
24   * @brief  Read receive data register.
25   * @param  None
26   * @retval Version value
27   */
28 uint16_t Target_GetDriveVersion(void);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif /* __LIB_VERSION_H */
35 
36 /*********************************** END OF FILE ******************************/
37