Last active
October 16, 2024 12:59
-
-
Save r0oland/f41d97e9842c5701795b3e7118c75da7 to your computer and use it in GitHub Desktop.
C Templates and Usefull Stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Johannes Rebling ([email protected]) | |
* @brief | |
* @date | |
* | |
* @copyright ASMPT GmbH & Co. KG, SMT R&D 34 - 2024 | |
* | |
*/ | |
#ifndef _XXX_H | |
#define _XXX_H | |
// ============================================================================= | |
// Includes | |
// ============================================================================= | |
// include headers required by the header file, other includes are in .c file | |
#include "only_headers_needed_here.h" | |
// ============================================================================= | |
// Shared Data Declarations (extern) | |
// ============================================================================= | |
// ============================================================================= | |
// Defines | |
// ============================================================================= | |
// ============================================================================= | |
// TypeDefs / Enums | |
// ============================================================================= | |
// ============================================================================= | |
// Structs and Unions | |
// ============================================================================= | |
// ============================================================================= | |
// Function Declarations (extern) | |
// ============================================================================= | |
// ============================================================================= | |
// Static Inline Functions (__STATIC_INLINE | __STATIC_FORCEINLINE) | |
// ============================================================================= | |
// ============================================================================= | |
// Macro Functions | |
// ============================================================================= | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "my_header.h" | |
// ============================================================================= | |
// Defines / Enums / Structs / Unions / Typedefs | |
// ============================================================================= | |
// ============================================================================= | |
// Shared Data Definitions (extern) | |
// ============================================================================= | |
// ============================================================================= | |
// Private Data Definitions (static) | |
// ============================================================================= | |
// ============================================================================= | |
// Private Function Declarations | |
// ============================================================================= | |
// ============================================================================= | |
// Global Function Definitions | |
// ============================================================================= | |
// ============================================================================= | |
// IRQ Handlers | |
// ============================================================================= | |
// ============================================================================= | |
// Private Function Definitions | |
// ============================================================================= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment