Timer1 Gate Enable

The Timer1 Gate Enable mode is enabled by setting the GE bit. The polarity of the Timer1 Gate Enable mode is configured using the GPOL bit.

When Timer1 Gate Enable mode is enabled, Timer1 will increment on the rising edge of the Timer1 clock source. When Timer1 Gate signal is inactive, the timer will not increment and hold the current count. Enable mode is disabled, no incrementing will occur and Timer1 will hold the current count. See figure below for timing details.

Table 1. Timer1 Gate Enable Selections
TMRxCLK GPOL TxG Timer1 Operation
1 1 Counts
1 0 Holds Count
0 1 Holds Count
0 0 Counts
Figure 1. Timer1 Gate Enable Mode