33 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			33 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
|  | /****************************************************************************
 | ||
|  | 
 | ||
|  | Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED. | ||
|  | 
 | ||
|  | This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT | ||
|  | be copied by any method or incorporated into another program without | ||
|  | the express written consent of Aerospace C.Power. This Information or any portion | ||
|  | thereof remains the property of Aerospace C.Power. The Information contained herein | ||
|  | is believed to be accurate and Aerospace C.Power assumes no responsibility or | ||
|  | liability for its use in any way and conveys no license or title under | ||
|  | any patent or copyright and makes no representation or warranty that this | ||
|  | Information is free from patent or copyright infringement. | ||
|  | 
 | ||
|  | ****************************************************************************/ | ||
|  | 
 | ||
|  | /* The major version, 5 bits: 0~31*/ | ||
|  | #define SP_FIRMWARE_VERSION_MAJOR (11)
 | ||
|  | 
 | ||
|  | /* The minor version 7 bits: 0~127*/ | ||
|  | #define SP_FIRMWARE_VERSION_MINOR (0)
 | ||
|  | 
 | ||
|  | /* The micro version 4 bits: 0~15*/ | ||
|  | #define SP_FIRMWARE_VERSION_MICRO (0)
 | ||
|  | 
 | ||
|  | /* The build version 16 bits: 0~65535*/ | ||
|  | #define SP_FIRMWARE_VERSION_BUILD (0)
 | ||
|  | 
 | ||
|  | /* Numerically encoded version */ | ||
|  | #define SP_FIRMWARE_VERSION_HEX ((SP_FIRMWARE_VERSION_MAJOR << 27) |  \
 | ||
|  |                                  (SP_FIRMWARE_VERSION_MINOR << 20) |  \ | ||
|  |                                  (SP_FIRMWARE_VERSION_MICRO << 16) |  \ | ||
|  |                                  (SP_FIRMWARE_VERSION_BUILD )) |