5.12 TMR1 Setup
TMR1 is used as a time base to generate delay to distinguish between short and long button
presses. See Setup, Main Loop and Idle Subroutine for
details.
Parameter | Value |
---|---|
Clock Source | MFINTOSC 31.25 kHz |
Prescaler | 1:2 |
Enable Synchronization | Yes |
Timer Period | 500 ms (for single/double presses); 3 s (for long press) |
Enable 16-bit Read | No |
Enable Gate | No |