#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include <timer.h>

/********************************************************************
*    Function Name:  WriteTimer3                                    *
*    Description:    This routine writes a 16-bit value to Timer3   *
*    Parameters:     unsigned int: value to write to Timer          *
*    Return Value:   None                                           *
********************************************************************/
#ifdef _TIMER3

void WriteTimer3(unsigned int timer)
{
    TMR3 = timer;     /* assign timer value to Timer3 Register */
}

#else
#warning "Does not build on this target"
#endif
