pic_timer1.c File Reference

#include "pic_timer1.h"
Include dependency graph for pic_timer1.c:

Go to the source code of this file.

Functions

void timer_setup_1 (uns8 prescaler_setting, uns16 timer_start_value)
 Setup timer 1 with starting values.
void timer_start_1 ()
 Start timer 1.
void timer_stop_1 ()
 Stop timer 1.

Variables

uns16 timer_1_start_value = 0

Function Documentation

void timer_setup_1 ( uns8  prescaler_setting,
uns16  timer_start_value 
)

Turns off timer 1, sets prescaler setting and start value (which will be loaded on each reset).

Definition at line 43 of file pic_timer1.c.

References timer_1_start_value.

void timer_start_1 (  ) 

Kicks off timer 1.

Definition at line 56 of file pic_timer1.c.

References timer_1_start_value.

void timer_stop_1 (  ) 

Stops timer 1.

Definition at line 63 of file pic_timer1.c.


Variable Documentation

Definition at line 40 of file pic_timer1.c.

Referenced by timer_handle_1_isr(), timer_setup_1(), and timer_start_1().


Generated on Wed Dec 8 13:47:42 2010 for Pic Pack by  doxygen 1.6.1