.. include:: custom_tools.txt .. sectnum:: .. _ccr_coding_standards: ******************** CCR Coding Standards ******************** .. toctree:: :maxdepth: 6 :caption: Contents: :numbered: authors_note introduction definitions names macro_names variable_names custom_data_types function_names abbreviations whitespace alignment indentation database_fields efficiency formal_arguments date_format macro_use_policy dma_use_policy file_sections documentation include_policy vb_and_c_sharp appendix_a appendix_b glossary bibliography .. toctree:: :maxdepth: 6 :caption: Quick-Start for Embedded C Systems: :numbered: embedded_rules_quickstart Tables ****** * :ref:`Naming Senior Policy ` * :ref:`macro name parts` * :ref:`Variable Name Parts ` * :ref:`scope prefixes` * :ref:`type prefixes` * :ref:`portable integer type prefixes` * :ref:`non-portable integer type prefixes` * :ref:`pointer prefix` * :ref:`array prefix` * :ref:`prefix exceptions` * :ref:`custom type prefix examples` * :ref:`spelled-out custom type prefix examples` * :ref:`Function Name Parts ` * :ref:`common abbreviations` * :ref:`common lvgl abbreviations` * :ref:`Documentation Priorities ` * :ref:`change log` Code Examples ************* * :ref:`Code-Clarity Example ` * :ref:`Macro-Name Examples ` * :ref:`Example of Code-Inlining with Macros ` * :ref:`Example of Correct Use of 'bool' ` * :ref:`Examples of Sharing Enumerations Between VB.NET and C ` * :ref:`Examples of DMA Variables ` * :ref:`Examples of Variable Prefix Exceptions ` * :ref:`Examples of Partially-Defined Types ` * :ref:`Examples of Custom-Type Alignment Rules ` * :ref:`Examples of Library Names vs Function Names ` * :ref:`Examples of Code-Execution Efficiency ` * :ref:`Example of Formal-Argument Naming ` * :ref:`Examples of Indentation Rules ` * :ref:`Examples of Safe-vs-Unsafe Macro Use ` * :ref:`Template for an H File Header