-
Notifications
You must be signed in to change notification settings - Fork 0
/
project_information.txt
51 lines (39 loc) · 1.96 KB
/
project_information.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<Application Description for Project Goes Here>
Project Owner(s):
Author(s):
Hardware Platform:
Debuggers Used:
Programmers Used:
MPLAB Version:
C Compiler Version:
Final Checksum:
FILES INCLUDED IN THE PROJECT TREE:
system.h - Contains custom oscillator configuration function prototypes,
reset source evaluation function prototypes, and non-peripheral
microcontroller initialization function prototypes. It also may contain
system level #define macros and variables. This file is included
by system.c
user.h - Contains parameters and function prototypes used in user.c for user
level functions, for example, InitApp();
configuration_bits.c - Contains device configuration bit macros. Refer to
the comments in configuration_bits.c for instructions on where to get
information about device configuration bits and their corresponding macros.
interrupts.c - This file contains example stubs for interrupts. The user would
put the interrupt vectors for their application in interrupts.c.
main.c - This is the main code for the project. global variables and the
main() function are located in main.c The user would put their primary program
flow in main.c, and the operation should be contained in main.c with an
infinite loop.
system.c - Contains custom oscillator configuration functions, reset source
evaluation functions, and non-peripheral microcontroller initialization
functions. Functions in system.c would often be called from main.c during
device initialization.
user.c - Custom user algorithms, user peripheral initialization, data
computation functions, and calculation functions would go here. Prototypes for
user.c go in user.h.
FILES INCLUDED IN THE PROJECT BUT NOT IN THE PROJECT TREE:
#include <htc.h> /* Global Header File */
#include <stdint.h> /* For uint8_t definition */
#include <stdbool.h> /* For true/false definition */
These files come with the HiTech compiler. Check the compiler documentation for
more information on these files.