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.

TI-RTOS GPIO driver

Hello, I'm using M3-part of Concerto device with TI-RTOS.

What is the difference to use GPIO driver instead of direct manipulation of input/output registers ?

Thankyou

  • The driver provides a layer of abstraction to your application.

    At board level, you specify the available and/or required I/O signals in a simple enumeration (e.g. MyOutput = 0) , and map those (via the GPIO_Config and related structures) to board specific pins.

    At application level, you use the GPIO api with the abstract signal names (MyOutput). This way you can easily have the same application run on different platforms.