Created
January 11, 2014 20:00
-
-
Save rosterloh/8375961 to your computer and use it in GitHub Desktop.
C source file templates from beningo.com
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
/******************************************************************************* | |
* Title : System Initialization | |
* Filename : sys_init.c | |
* Author : JWB | |
* Origin Date : 04/23/2012 | |
* Version : 1.0.0 | |
* Compiler : Microchip C30 v3.30c | |
* Target : PIC24FJ64GB004 | |
* Notes : None | |
*******************************************************************************/ | |
/*************** MODULE REVISION LOG ****************************************** | |
* | |
* Date Software Version Initials Description | |
* XX/XX/XX XXXXXXXXXXX JWB Module Created. | |
* | |
*******************************************************************************/ | |
/** \file XXX.c | |
* \brief This module contains the | |
*/ | |
/****************************************************************************** | |
* Includes | |
*******************************************************************************/ | |
#include <ints.h> // For portable types | |
/****************************************************************************** | |
* Module Preprocessor Constants | |
*******************************************************************************/ | |
/** | |
*Doxygen tag for documenting variables and constants | |
*/ | |
#define CONSTANT 5 | |
/****************************************************************************** | |
* Module Preprocessor Macros | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Module Typedefs | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Module Variable Definitions | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Function Prototypes | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Function Definitions | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Function : Pwm_Init() | |
*//** | |
* \section Description Description: | |
* | |
* This function is used to | |
* | |
* \param None. | |
* | |
* \return None. | |
* | |
* \section Example Example: | |
* \code | |
* Pwm_Init(); | |
* \endcode | |
* | |
* \see Pwm_Enable | |
* | |
* ---------------------- | |
* - HISTORY OF CHANGES - | |
* ---------------------- | |
* Date Software Version Initials Description | |
* XX/XX/XX XXXXXXXXXXX JWB Function Created. | |
* | |
*******************************************************************************/ | |
void Pwm_Init( void ) | |
{ | |
} | |
/*************** END OF FUNCTIONS ***************************************************************************/ |
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
/**************************************************************************** | |
* Title : ADC Application | |
* Filename : adc_app.h | |
* Author : JWB | |
* Origin Date : 06/07/2012 | |
* Version : 1.0.0 | |
* Compiler : Microchip C30 v3.30c | |
* Target : PIC24FJ64GB004 | |
* Notes : None | |
*****************************************************************************/ | |
/*************** INTERFACE CHANGE LIST ************************************** | |
* | |
* Date Software Version Initials Description | |
* 08/17/13 XXXXXXXXXXX JWB Interface Created. | |
* | |
*****************************************************************************/ | |
/** \file tsk.h | |
* \brief This module contains continuous tasks. | |
* | |
* This is the header file for the definition for tasks that are continuous | |
* and should be ran as often as possible. | |
*/ | |
#ifndef MODULE_H_ | |
#define MODULE_H_ | |
/****************************************************************************** | |
* Includes | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Preprocessor Constants | |
*******************************************************************************/ | |
/** | |
* This constant is | |
*/ | |
/****************************************************************************** | |
* Configuration Constants | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Macros | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Typedefs | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Variables | |
*******************************************************************************/ | |
/****************************************************************************** | |
* Function Prototypes | |
*******************************************************************************/ | |
#ifdef __cplusplus | |
extern "C"{ | |
#endif | |
void Function(void); | |
#ifdef __cplusplus | |
} // extern "C" | |
#endif | |
#endif /*File_H_*/ | |
/*** End of File **************************************************************/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment