23.13.2 TxGCON

Timer Gate Control Register
Name: TxGCON
Offset: 0x030F,0x0315

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

Bit 7 – GE Timer Gate Enable

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

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

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

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

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

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

Unaffected by the Timer Gate Enable (GE) bit