Embedded Design Guidelines 2: Naming and Definitions
[Image]2.1.1.2. Variable definitions should always use lowercase snake_case naming convention. Pointers: Level 1 pointers should have the prefix “p_”, level 2 pointers should have the prefix “pp_”, and level 3 pointers should have the prefix “ppp_”. Static global variables (only in one C file) should start with “s_”, for example, void* s_p_sys_nparam = NULL; ; … Read more