| ??? 07/09/11 09:15 Read: times  | 
#182828 - My code based assignments are... Responding to: ???'s previous message  | 
My code based assignments are almost always grouped in with the code modules that utilize the particular global variables. Most times I group all the things related to a certain peripheral or function onto a small C file that also has its companion .H file. One entry point in each of these files is a subroutine named xxxx_init() that can be called from the main() initial code. These entry points can also be called at such times as may be necessary to reset the functions of a peripheral or process and then re-initialize it back to startup conditions. 
 This coincides with the item #1 in my previous posting here in that it is easiest to see things related to variable initialization near to the companion code that uses the variables. Michael Karas  | 
| Topic | Author | Date | 
| Variable Initialisation | 01/01/70 00:00 | |
| a question for (the) Raisonance (forum) | 01/01/70 00:00 | |
| Depends on amounts of global data | 01/01/70 00:00 | |
| Yes - Ask Raisonance! | 01/01/70 00:00 | |
| Personal Preference Here | 01/01/70 00:00 | |
| Another personal preference | 01/01/70 00:00 | |
| My code based assignments are... | 01/01/70 00:00 | |
            OO classes        | 01/01/70 00:00 | 



