Uso de RTOS
INCLUDES.H
Go to the documentation of this file.
1 
7 /*
8 *********************************************************************************************************
9 * uC/OS-II
10 * The Real-Time Kernel
11 *
12 * (c) Copyright 2002, Nathan Brown, Longview, TX
13 * http://www.sputnickonline.com/
14 * All Rights Reserved
15 *
16 * PIC18xxxx Master Include File
17 * V1.00 - October 27, 2002
18 *
19 * File : INCLUDES.H
20 * By : Nathan Brown
21 *********************************************************************************************************
22 */
23 
24 /*
25 *********************************************************************************************************
26 * PROCESSOR SPECIFICS
27 *********************************************************************************************************
28 */
29 
30 #define CPU_FRT_FREQ 1000000L
32 #define OS_TICK_OC 1 /* Output compare # used to generate a tick int. */
33 
34  /* Number of FRT counts to produce an interrupt @tick rate */
35 #define OS_TICK_OC_CNTS (CPU_FRT_FREQ / OS_TICKS_PER_SEC)
36 
37 /*
38 *********************************************************************************************************
39 * Standard Header Files
40 *********************************************************************************************************
41 */
42 
43 #include "p18cxxx.h" // Register definitions
44 #include "STRING.H"
45 
46 /*
47 *********************************************************************************************************
48 * FILES TO INCLUDE
49 *********************************************************************************************************
50 */
51 
52 #define OS_ISR_PROTO_EXT
53  /* ... are found in OS_CPU.H */
54 #include "OS_CPU.H" /* Processor specific header file */
55 #include "OS_CFG.H" /* The OS configuration header */
56 
57 #include "uCOS_II.H" /* uC/OS-II header file */
Pagina de Configuracion del Proyecto RTOS.