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.

regarding the gpio ports

Other Parts Discussed in Thread: OMAPL138

I am not able to know that which header file should be included to configure the GPIO Ports, 

DIR01 &= 0xFDFFFFFE;
OUT_DATA01 = 0XFDFFFFFF;

these are the codes to configure the GPIO Ports,, in CCS it is coming undefined (#20 identifier "DIR01" is undefined),

So which header file i should use so that i does not get this error

  • Hi Marut,

    Having not specified about the name of the device here, from your other posts, I assume you are experimenting with OMAPL138 LCDK.

    Shall I recommend you to run the GPIO examples first ? so that it is always good to start with something which already works.

    If you install the starterware package, you will find the example project at path: "\OMAPL138_StarterWare_1_10_03_03\examples\lcdkOMAPL138\gpio"

    If you install MCSDK, you will find at "\pdk_OMAPL138_1_01_00_01\packages\ti\csl\exampleProjects\gpio_exampleProject"

    By running these projects, you will get a fair idea on configuring the gpio.Then you may proceed on your own

     

    Regards,

    Shankari

     

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------