24.2.2 PTG Control/Status Register

Name: PTGCON
Offset: 0x902

Bit 15141312111098 
 PTGCLK[2:0]PTGDIV[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 PTGPWD[3:0] PTGWDT[2:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bits 15:13 – PTGCLK[2:0] PTG Module Clock Source Selection bits

ValueDescription
111 CLC1 output
110 FVCO/4
101 Reserved
100 Reserved
011

Input from Timer1 Clock pin, T1CK

010 ADC clock
001 FCY
000 FP

Bits 12:8 – PTGDIV[4:0] PTG Module Clock Prescaler (Divider) bits

ValueDescription
11111

Divide-by-32

11110

Divide-by-31

. . .
00001

Divide-by-2

00000

Divide-by-1

Bits 7:4 – PTGPWD[3:0] PTG Trigger Output Pulse-Width (in PTG clock cycles) bits

ValueDescription
1111

All trigger outputs are 16 PTG clock cycles wide

1110

All trigger outputs are 15 PTG clock cycles wide

. . .
0001

All trigger outputs are 2 PTG clock cycles wide

0000

All trigger outputs are 1 PTG clock cycle wide

Bits 2:0 – PTGWDT[2:0] PTG Watchdog Timer Time-out Selection bits

ValueDescription
111

Watchdog Timer will time out after 512 PTG clocks

110

Watchdog Timer will time out after 256 PTG clocks

101

Watchdog Timer will time out after 128 PTG clocks

100

Watchdog Timer will time out after 64 PTG clocks

011

Watchdog Timer will time out after 32 PTG clocks

010

Watchdog Timer will time out after 16 PTG clocks

001

Watchdog Timer will time out after 8 PTG clocks

000

Watchdog Timer is disabled