how do i create a user defined data class with specific functions from different .c files and place the class at a particular address in ram
Do you mean the functions (which are CODE), or their associated data?
If they need to be together, the easiest way would be to put them in the same source file...
See #pragma USERCLASS in the manual.
The description hints that this directive may simple rename the entire segment, rather than allowing you to break one file into pieces. Try an experiment to be sure.
View all questions in Keil forum