20.6.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.
TMRxCLK | GPOL | TxG | Timer1 Operation |
---|---|---|---|
↑ | 1 | 1 | Counts |
↑ | 1 | 0 | Holds Count |
↑ | 0 | 1 | Holds Count |
↑ | 0 | 0 | Counts |