/* Enables a GPIO pin as a trigger to start an ADC capture. */
void GPIOADCTriggerEnable(unsigned long ulPort, unsigned char ucPins)
/* Enables a GPIO pin as a trigger to start an ADC capture. */
void GPIOADCTriggerEnable(unsigned long ulPort, unsigned char ucPins)
{
    ASSERT(GPIOBaseValid(ulPort));
    HWREG(ulPort + GPIO_O_ADCCTL) |= ucPins;
}