This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6742: Configure GPIO using registers

Part Number: TMS320C6742

Hi i m learning to configure GPIO using registers, and come across the following code, can anyone kindly help to advise the following? what does the whole sentence do? what does the (volatile....) means, what does GPIO_OUT_DATA(0) does and what does  + SOC_GPIO_0_REGS means? 

 

#define GPIOSR_ADDR      (*(volatile unsigned int *)(GPIO_OUT_DATA(0) + SOC_GPIO_0_REGS))