PICPilot 2.1
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Autopilot
AttitudeManager
timer.h
Go to the documentation of this file.
1
/*
2
* @file timer.h
3
* @author Chris Hajduk
4
* @created September 2, 2015, 3:37 PM
5
* @description Provides functions for initializing the timers (only Timers 2 and 4 used)
6
* as well as getting the current system time
7
*/
8
9
#ifndef TIMER_H
10
#define TIMER_H
11
20
#define T2_TICKS_TO_MSEC 642
21
27
#define T2_PERIOD 20
28
32
void
initTimer2
(
void
);
33
37
void
initTimer4
(
void
);
38
43
long
unsigned
int
getTime
();
44
45
#endif
getTime
long unsigned int getTime()
Get current time in ms.
Definition:
timer.c:54
initTimer4
void initTimer4(void)
Initializes Timer4.
Definition:
timer.c:33
initTimer2
void initTimer2(void)
Initializes Timer2.
Definition:
timer.c:16
Generated on Sun Mar 5 2017 00:02:40 for PICPilot by
1.8.7