RTDM Minimum Code Size Constant

RTDM_MIN_CODE_SIZE

Description

This constant defines the Cyclic Redundancy Check (CRC) algorithm calculation minimum code size.

If it is set to YES, the Real-time Data Monitor (RTDM) library will be built including a pre-calculated polynomial table for the CRC algorithm. This method reduces the device CPU throughput required to calculate the CRC16 checksum.

If it is set to NO, the CRC16 value is calculated from scratch and the predefined polynomial values would not be loaded into the program memory. This mode saves 768 bytes of code but requires more device CPU throughput to calculate the CRC16 checksum.

Value

YES or NO

Located in

RTDMUSER.h

Usage

#define RTDM_MIN_CODE_SIZE YES

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.