Index: App/Services/Utilities.c =================================================================== diff -u -r6c8c486d26306662402945537c5acaea2709d85b -ra1c9eabfc633bc7e3ef370096b655b87a08e2e52 --- App/Services/Utilities.c (.../Utilities.c) (revision 6c8c486d26306662402945537c5acaea2709d85b) +++ App/Services/Utilities.c (.../Utilities.c) (revision a1c9eabfc633bc7e3ef370096b655b87a08e2e52) @@ -86,4 +86,24 @@ return crc; } +/************************************************************************* + * @brief crc8 + * The crc8 function calculates a 8-bit CRC for a given range of bytes \n + * in memory. + * @details + * Inputs : none + * Outputs : none + * @param address : pointer to start address of memory range to calculate CRC for + * @param len : # of bytes in the memory range to calculate CRC for + * @return CRC + *************************************************************************/ +U08 crc8( U08 *address, U32 len ) +{ + U16 crc = 0; + // TODO - 8-bit CRC algorithm + + return crc; +} + +