Detailed Description
The TIMER1 module gives an interface to a 16bit HW timer which can be used for custom application purposes.
This module offers:
- COUNTER mode - exact timing with callback functions and granularity 1/(16,384MHz) pro tick using 16,384MHz clock. The counter tick can be adjusted using a 1, 2, 4 postscaler.
- PWM mode - PWM signal generation on the SCSEDIO0 or ADIO0 or ADIO4 pin
See the source code and description of the RSSI Example for more information how the PWM works.
- Note:
- Timer1 callback function will be called from interrupt. As timer1 interrupt belong to the group of interrupt with lowest priority it is possible that the Timer1 callback has to wait till radio, scheduler (timer0), i/o callback or uart interrupt is executed. It is not possible to guaranty a minimum time from triggering any interrupt till execution of the interrupt service routine.