Help config two variables

killer414 wrote on Monday, April 25, 2011:

Hey
Im trying to integrate miwi and freertos… I have a doubt with a couple of macros… Can someone tell me what they mean… Im using the pic32 pport

#define RFIF            IFS1bits.INT1IF
  #define RFIE            IEC1bits.INT1IE

richard_damon wrote on Monday, April 25, 2011:

Those look to be defining macros to allow for easy access to the Interrupt Flag and Interrupt Enable bit for a device “RF” which is physically connected to INT1. Microchip defines a lot of these macros so that your code can be a bit more device independent, as other chips may connect the resource to a different interrupt.