Other Parts Discussed in Thread: EK-TM4C123GXL
Tool/software: Code Composer Studio
Hi,
I could use some assistance with the following issue.
Development environment:
IDE: CCS Version: 7.1.0.00016 running on Windows 7 Professional with SP1, including all current updates.
Driver Library: Stellaris® Peripheral Driver Library: Software Driver Model API’s
Target: LaunchPad EK-TM4C123GXL (processor on-board TM4C123GHPMI
I can’t find the “I” version listed in the CCSv7 Properties > CCS General > Device field, I selected the TM4C123GHPM. It works, my code builds, loads and runs as expected.
I have CCSv7 configured and am able to write C code to successfully use the PWM and GPIO peripherals.
However, I am not able to create and call user defined functions. I had been able to do this easily when using uVision MDK-Lite.
I have searched TI’s documentation and the e2e Forum unsuccessfully for guidance on these issues, and have tried numerous “experiments” unsuccessfully which were similar to those I had used with uVision.
My questions:
1) How do I create, in C, user defined functions using CCSv7 Software Driver Model API’s?
2) How do I call, in C, the user defined functions I create using CCSv7 Software Driver Model API’s?
3) Some very simple example code to go with the answers would be of great help.
-
- For example:Example code showing how to create and call a functions to turn on and off enabled GPIO ports used to drive LED’s.
- I understand how to use the GPIO and PWM API functions.
Thanks, Bob