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.

Changing direction of GPIO at runtime

Other Parts Discussed in Thread: TMS320F28335

I am working on TMS320F28335 Digital Signal Controller. I want to use 8 bits of Port B for my application, in which I am going to change the direction of these 8 pins from input to output and vice versa at runtime. I will be achieving by updating the Direction register at runtime. I want to know the time required for the switching and also it would help if you can provide a sequence of doing it, so that I can take care of all the possible problems that might arise.