Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker.
Add missing function and definition documentation.
This commit is contained in:
		
							parent
							
								
									022fa26b43
								
							
						
					
					
						commit
						77dbfd3cc4
					
				
					 17 changed files with 45 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -403,6 +403,8 @@
 | 
			
		|||
			 *        the results read directly from the \ref ADC_GetResult() instead to reduce overhead.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in] MUXMask  Mask comprising of an ADC channel mask, reference mask and adjustment mask.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \return Converted ADC result for the given ADC channel.
 | 
			
		||||
			 */
 | 
			
		||||
			static inline uint16_t ADC_GetChannelReading(const uint16_t MUXMask) ATTR_WARN_UNUSED_RESULT;
 | 
			
		||||
			static inline uint16_t ADC_GetChannelReading(const uint16_t MUXMask)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue