TimerCall Project
-----------------

This project demonstrates the use of a repetitive callback function 
call using ChibiOS/RT timers

The project uses Timer 11 in GPT mode so Timer 11 needs to be set 
in mcuconf.h to GPT mode changin its line so tha it reads like that:

  #define STM32_GPT_USE_TIM11     TRUE // Use in repetitive calls

All the operations are contained in timer.c and timer.h

Configuration in timer.h:

Set TIMER_CLOCK to the desired timer clock frequency (1MHz default)
Set TIMER_TICKS to the number of clocks for a function call (1000 by default)

The function callback will be called at a frequency equal to TIMER_CLOCK/TIMER_TICKS

The callback can be defined in any .c file in the project but 
has to be defined:

void timerCallback(GPTDriver *gptp)

The timer operation can be started calling timerStart() and can
be stopped calling timerStop()


