TxGCON

TxGCON

Timer Gate Control Register
  0x010A 8   1 1 x

TxGCON

Bit  7 6 5 4 3 2 1 0  
  GE GPOL GTM GSPM GGO/DONE GVAL      
Access  R/W R/W R/W R/W R/W R      
Reset  0 0 0 0 0 x      

Bit 7 – GE: Timer Gate Enable

Timer Gate Enable

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

Timer Gate Polarity

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 Toggle Mode

Timer Gate flip-flop toggles on every rising edge when Toggle mode is enabled.

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

Timer Gate Single Pulse Mode

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

Timer Gate Single Pulse Acquisition Status

This bit is automatically cleared when TxGSPM is cleared.

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

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