I am new to TI-RTOS and CCS and am having a hard time trying to do something quite simple: Read or write binary values to an arbitrary GPIO pin. The board I am working with is the MSP-EXP432P401R
My main question is: What is the "right" way to add a GPIO pin to a task in TI-RTOS?
I read the TI-RTOS manual entry for the GPIO driver and I understand that the GPIO pins and ports need to be configured in MSP_EXP432P401R.c and .h. I am not sure where each of the parameters come from in the GPIO_PinConfig gpioPinConfigs[] definition, or which other definitions I need to be sure to complete and how.
Could someone help me in the right direction by giving an example for how I would set up a pin/port (say, P2.7) as an input/output with TI-RTOS?
Thank you!