- /** Maximum returnable temperature from the Temperature_GetTemperature() function. */\r
- #define TEMP_MAX_TEMP ((TEMP_TABLE_SIZE - 1) + TEMP_TABLE_OFFSET)\r
- \r
- /** Initializes the temperature sensor driver, including setting up the appropriate ADC channel.\r
- * This must be called before any other temperature sensor routines.\r
- *\r
- * The ADC itself (not the ADC channel) must be configured seperately before calling the temperature\r
- * sensor functions.\r
- */\r
- #define Temperature_Init() ADC_SetupChannel(TEMP_ADC_CHANNEL);\r
+ /** Minimum returnable temperature from the \ref Temperature_GetTemperature() function. */\r
+ #define TEMP_MIN_TEMP TEMP_TABLE_OFFSET\r
+\r
+ /** Maximum returnable temperature from the \ref Temperature_GetTemperature() function. */\r
+ #define TEMP_MAX_TEMP ((TEMP_TABLE_SIZE - 1) + TEMP_TABLE_OFFSET)\r
+ \r
+ /* Pseudo-Function Macros: */\r
+ #if defined(__DOXYGEN__)\r
+ /** Initializes the temperature sensor driver, including setting up the appropriate ADC channel.\r
+ * This must be called before any other temperature sensor routines.\r
+ *\r
+ * \note The ADC itself (not the ADC channel) must be configured separately before calling the\r
+ * temperature sensor functions.\r
+ */\r
+ static inline void Temperature_Init(void);\r
+ #else\r
+ #define Temperature_Init() ADC_SetupChannel(TEMP_ADC_CHANNEL);\r
+ #endif\r