There are two pins on FX2LP for controlling the wakeup mode of the FX2. They also control whether the FX2 goes into the suspend mode. The two pins are WAKEUP and WU2 (an alternate pin) and whichever one is used must be tied active. The pin's polarity is programmable so firmware determines if it is high or low.
First consider how you want to configure the hardware and then control the WUPOL or WU2POL bits to match the pin and configure it as active. Example: tie the WAKEUP pin low and then program the WUPOL bit to zero.