Index: firmware/App/Services/Utilities.h =================================================================== diff -u -rf100557efc2f7916054a63bbafb187d8017914d0 -rc74c1d99a011dd0fb7f98f183faecda675221fce --- firmware/App/Services/Utilities.h (.../Utilities.h) (revision f100557efc2f7916054a63bbafb187d8017914d0) +++ firmware/App/Services/Utilities.h (.../Utilities.h) (revision c74c1d99a011dd0fb7f98f183faecda675221fce) @@ -1,23 +1,29 @@ -/* - * Utilities.h - * - * Created on: Aug 4, 2024 - * Author: fw - */ #ifndef __UTILITIES_H__ #define __UTILITIES_H__ #include "BLCommon.h" +/** + * @defgroup Utilities Utilities + * @brief Utilities unit contains various utility functions. + * + * @addtogroup Utilities + * @{ + */ + +// ********** public definitions ********** + #define MAX_CRC_CALC_DATA_SIZE 0x8000 ///< The maximum size of data for each CRC calculation. +// ********** public function prototypes ********** + BOOL runFWIntegrityTest( void ); -U16 crc16( U08 *address, U32 len ); - U32 crc32( U32 initialValue, U08 *address, U32 len ); +U16 crc16( U08 *address, U32 len ); +/**@}*/ #endif