Real-Time Data Monitor (RTDM) Polling Constant

RTDM_POLLING

Description

This constant defines the mode that the Real-Time Data Monitor (RTDM) will be operating in the user’s application.

If it is set to YES, the user should place the RTDM_ProcessMsgs() function in the main loop. In order to ensure that the messages are being processed, we recommend that the main loop always poll this function as fast as possible (minimum 10 ms).

If it is set to NO, the RTDM_ProcessMsgs() function will be called on the Universal Asynchronous Receiver/Transmitter (UART) receiver Interrupt Service Routine (ISR). If multiple interrupts are enabled, you must activate the nested interrupts mode on the dsPIC® DSC device.

Value

YES or NO

Located in

RTDMUSER.h

Usage

#define RTDM_POLLING 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.