20.14.2 TxGCON

Timer Gate Control Register
Name: TxGCON
Address: 0xFCF,0xFC9,0xFC3

Bit 76543210 
 GEGPOLGTMGSPMGGO/DONEGVAL   
Access R/WR/WR/WR/WR/WRO 
Reset 00000x 

Bit 7 – GE Timer Gate Enable bit

Reset States: 
POR/BOR = 0
All Other Resets = u
ValueNameDescription
1 ON = 1 Timer counting is controlled by the Timer gate function
0 ON = 1 Timer is always counting
X ON = 0 This bit is ignored

Bit 6 – GPOL Timer Gate Polarity bit

Reset States: 
POR/BOR = 0
All Other Resets = u
ValueDescription
1 Timer gate is active-high (Timer counts when gate is high)
0 Timer gate is active-low (Timer counts when gate is low)

Bit 5 – GTM Timer Gate Toggle Mode bit

Timer Gate Flip-Flop Toggles on every rising edge when Toggle mode is enabled.

Reset States: 
POR/BOR = 0
All Other Resets = u
ValueDescription
1 Timer Gate Toggle mode is enabled
0 Timer Gate Toggle mode is disabled and Toggle flip-flop is cleared

Bit 4 – GSPM Timer Gate Single Pulse Mode bit

Reset States: 
POR/BOR = 0
All Other Resets = u
ValueDescription
1 Timer Gate Single Pulse mode is enabled and is controlling Timer gate)
0 Timer Gate Single Pulse mode is disabled

Bit 3 – GGO/DONE Timer Gate Single Pulse Acquisition Status bit

This bit is automatically cleared when TxGSPM is cleared.

Reset States: 
POR/BOR = 0
All Other Resets = u
ValueDescription
1 Timer Gate Single Pulse Acquisition is ready, waiting for an edge
0 Timer Gate Single Pulse Acquisition has completed or has not been started.

Bit 2 – GVAL Timer Gate Current State bit

Indicates the current state of the timer gate that could be provided to TMRxH:TMRxL

Unaffected by Timer Gate Enable (TMRxGE)