Index: Utilities.c =================================================================== diff -u -r7ff7e715f7a15da5f4055b33e186d58cf96fe909 -rb28e0e05a9632cc46fc12378f2993a69d861a4cb --- Utilities.c (.../Utilities.c) (revision 7ff7e715f7a15da5f4055b33e186d58cf96fe909) +++ Utilities.c (.../Utilities.c) (revision b28e0e05a9632cc46fc12378f2993a69d861a4cb) @@ -100,9 +100,8 @@ * @brief * The crc16 function calculates a 16-bit CRC for a given range of bytes * in memory. Poly = 0x1021. Not reflected. Initial value = 0xFFFF. - * @details - * Inputs: none - * Outputs: none + * @details Inputs: none + * @details Outputs: none * @param address pointer to start address of memory range to calculate CRC for * @param len number of bytes in the memory range to calculate CRC for * @return CRC as a U16 @@ -124,9 +123,8 @@ * @brief * The crc8 function calculates a 8-bit CRC for a given range of bytes * in memory. - * @details - * Inputs: none - * Outputs: none + * @details Inputs: none + * @details Outputs: none * @param address pointer to start address of memory range to calculate CRC for * @param len number of bytes in the memory range to calculate CRC for * @return CRC as a U08 @@ -147,9 +145,8 @@ /*********************************************************************//** * @brief * The initTimeWindowedCount function initializes a given time windowed count. - * @details - * Inputs: timeWindowedCountsMaxCount, timeWindowedCountsInitialized - * Outputs: timeWindowedCountsMaxCount, timeWindowedCountsInitialized, alarm if + * @details Inputs: timeWindowedCountsMaxCount, timeWindowedCountsInitialized + * @details Outputs: timeWindowedCountsMaxCount, timeWindowedCountsInitialized, alarm if * software fault occurred * @param cnt ID of the time windowed count to initialize * @param maxCnt maximum number of instances in the time window for this count @@ -202,9 +199,8 @@ * function for a given time windowed count. * *Note - thread protection not provided - assumed function will be called * by one task for a given time windowed count. - * @details - * Inputs: timeWindowedCounts, timeWindowedCountIndexes, timeWindowedCountCounts - * Outputs: timeWindowedCounts, timeWindowedCountIndexes, timeWindowedCountCounts, + * @details Inputs: timeWindowedCounts, timeWindowedCountIndexes, timeWindowedCountCounts + * @details Outputs: timeWindowedCounts, timeWindowedCountIndexes, timeWindowedCountCounts, * alarm if a software fault occurred * @param cnt ID of the time windowed count to add an instance to * @return TRUE if this instances brings the count to the maximum within @@ -247,9 +243,8 @@ * The getCriticalData function gets the value for a given critical data * record. The integrity of the critical data is checked first. If the * critical data record fails the integrity check, a fault is triggered. - * @details - * Inputs: none - * Outputs: alarm if HD critical error occurred + * @details Inputs: none + * @details Outputs: alarm if HD critical error occurred * @param data Ptr to a critical data record * @return The data from a critical data record *************************************************************************/ @@ -284,9 +279,8 @@ * @brief * The isCriticalDataInRange function determines whether a critical data * value is within the range set for that critical data. - * @details - * Inputs: none - * Outputs: none + * @details Inputs: none + * @details Outputs: none * @param data Ptr to a critical data record * @return TRUE if given data is in range, FALSE if not *************************************************************************/ @@ -323,9 +317,8 @@ * @brief * The setCriticalData function sets the value for a given critical data * record. - * @details - * Inputs: none - * Outputs: alarm if HD critical error occurred + * @details Inputs: none + * @details Outputs: alarm if HD critical error occurred * @param data Ptr to a critical data record * @param value a value to set * @return TRUE if set was successful, FALSE if not (out of range) @@ -365,9 +358,8 @@ /*********************************************************************//** * @brief * The resetCriticalData function resets a critical data record. - * @details - * Inputs: none - * Outputs: Given critical data record is reset to unset w/ default value. + * @details Inputs: none + * @details Outputs: Given critical data record is reset to unset w/ default value. * @param data Ptr to a critical data record * @return none *************************************************************************/