20.7.1 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 20-4 for timing details.

Table 20-2. Timer1 Gate Enable Selections
TMRxCLKGPOLTxGTimer1 Operation
11Counts
10Holds Count
01Holds Count
00Counts
Figure 20-4. Timer1 Gate Enable Mode