AN370
Rev. 1.0
21
)
interrupt INTERRUPT_DMD using 2 /* Use RB2 for this ISR */
/*------------------------------------------------------------------------------
*
* FUNCTION DESCRIPTION:
* This is the interrupt service routine for the DMD. It clears the DMD
* interrupt flag and calls the vDmdTs_IsrCall() which handles the
* interface to the demodulator and temperature sensor.
*
* Use RB1 .. system is using single interrupt priority level for all ISR's
* Use RB2 .. system is using two interrupt priority levels
*
* This DMD ISR must be always at the higher priority level in the system.
*
*------------------------------------------------------------------------------
*/
{
/*
*------------------------------------------------------------------------------
*
* VARIABLES:
*
*------------------------------------------------------------------------------
*/
/* Clear the demodulator interrupt flag */
vDmdTs_ClearDmdIntFlag();
/* Call DMD TS function that handles skipping samples and getting the sample
* from the temperature sensor demodulator */
vDmdTs_IsrCall();
}
/*
*------------------------------------------------------------------------------
*/