Skip to content

Instantly share code, notes, and snippets.

@r0oland
Last active June 11, 2024 06:23
Show Gist options
  • Save r0oland/f41d97e9842c5701795b3e7118c75da7 to your computer and use it in GitHub Desktop.
Save r0oland/f41d97e9842c5701795b3e7118c75da7 to your computer and use it in GitHub Desktop.
C Templates and Usefull Stuff
/**
* @author Johannes Rebling (johannes.rebling@asmpt.com)
* @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
#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