I am trying to set up a GPIO pin on my 2837xS launchpad. The specific pin I am trying to use is ADC-A input 0. Here are the two lines of code I am calling to set it up:
GPIO_SetPinUpOptions(43, /*Need to figure out how to set the output*/, GPIO_QUAL6);
AdcSetMode(43, 16, /*Need to figure out this parameter*/);
First, am I calling the write functions to set up my pin? I am calling these functions from the files provided in controlSUITE. If they are correct, how do I initialize my missing parameters? I understand that there are a lot of structs in the header files that can be used but I am not certain how to use them and there does not seem to be a register associated with pin 43. Any help would be appreciated.