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