24.2.1 PTG Control/Status Low Register

Note:
  1. These bits apply to the PTGWHI and PTGWLO commands only.
  2. This bit is only used with the PTGCTRL Step command software trigger option.
  3. The PTGSSEN bit may only be written when in Debug mode.
Name: PTGCST
Offset: 0x900

Bit 15141312111098 
 PTGEN PTGSIDLPTGTOGL PTGSWTPTGSSENPTGIVIS 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 76543210 
 PTGSTRTPTGWDTOPTGBUSY   PTGITM[1:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 

Bit 15 – PTGEN PTG Broadcast Trigger Enable bit

ValueDescription
1

PTG is enabled

0

PTG is disabled

Bit 13 – PTGSIDL PTG Freeze in Debug Mode bit

ValueDescription
1

Halts PTG operation when device is Idle

0

PTG operation continues when device is Idle

Bit 12 – PTGTOGL PTG Toggle Trigger Output bit

ValueDescription
1 Toggles state of TRIG output for each execution of PTGTRIG
0 Generates a single TRIG pulse for each execution of PTGTRIG

Bit 10 – PTGSWT  PTG Software Trigger bit(2)

ValueDescription
1

If the PTG state machine is executing the “Wait for software trigger” Step command (OPTION[3:0] =  1010 or 1011), the command will complete and execution will continue

0 No action other than to clear the bit

Bit 9 – PTGSSEN  PTG Single-Step Command bit(3)

ValueDescription
1 Enables single Step when in Debug mode
0 Disables single Step

Bit 8 – PTGIVIS PTG Counter/Timer Visibility bit

ValueDescription
1 Reading the PTGSDLIM, PTGCxLIM or PTGTxLIM register returns the current values of their corresponding Counter/Timer registers (PTGSDLIM, PTGCxLIM and PTGTxLIM)
0 Reading the PTGSDLIM, PTGCxLIM or PTGTxLIM register returns the value of these Limit registers

Bit 7 – PTGSTRT PTG Start Sequencer bit

ValueDescription
1 Starts to sequentially execute the commands (Continuous mode)
0 Stops executing the commands

Bit 6 – PTGWDTO PTG Watchdog Timer Time-out Status bit

ValueDescription
1 PTG Watchdog Timer has timed out
0 PTG Watchdog Timer has not timed out

Bit 5 – PTGBUSY PTG State Machine Busy bit

ValueDescription
1 PTG is running on the selected clock source; no SFR writes are allowed to PTGCLK[2:0] or PTGDIV[4:0]
0 PTG state machine is not running

Bits 1:0 – PTGITM[1:0]  PTG Input Trigger Operation Selection bits(1)

ValueDescription
11

Single-level detect with Step delay not executed on exit of command (regardless of the PTGCTRL command) (Mode 3)

10 Single-level detect with Step delay executed on exit of command (Mode 2)
01

Continuous edge detect with Step delay not executed on exit of command (regardless of the PTGCTRL command) (Mode 1)

00 Continuous edge detect with Step delay executed on exit of command (Mode 0)