English
Language : 

DSPIC33EPXXXGP50X Datasheet, PDF (332/504 Pages) Microchip Technology – 16-bit Microcontrollers and Digital Signal Controllers (up to 256 KB Flash and 32 KB SRAM) with High-Speed PWM, Op amps, and Advanced Analog
dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X, AND PIC24EPXXXGP/MC20X
REGISTER 24-2: PTGCON: PTG CONTROL REGISTER
R/W-0
bit 15
R/W-0
PTGCLK<2:0>
R/W-0
R/W-0
R/W-0
R/W-0
PTGDIV<4:0>
R/W-0
R/W-0
bit 8
R/W-0
bit 7
R/W-0
R/W-0
PTGPWD<3:0>
R/W-0
R/W-0
—
R/W-0
R/W-0
PTGWDT<2:0>
R/W-0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-13
bit 12-8
bit 7-4
bit 3
bit 2-0
PTGCLK<2:0>: Select PTG Module Clock Source bits
111 = Reserved
110 = Reserved
101 = PTG module clock source will be T3CLK
100 = PTG module clock source will be T2CLK
011 = PTG module clock source will be T1CLK
010 = PTG module clock source will be TAD
001 = PTG module clock source will be FOSC
000 = PTG module clock source will be FP
PTGDIV<4:0>: PTG Module Clock Prescaler (divider) bits
11111 = Divide by 32
11110 = Divide by 31
•
•
•
00001 = Divide by 2
00000 = Divide by 1
PTGPWD<3:0>: PTG Trigger Output Pulse Width bits
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
Unimplemented: Read as ‘0’
PTGWDT<2:0>: Select PTG Watchdog Time-out Count Value bits
111 = Watchdog will time out after 512 PTG clocks
110 = Watchdog will time out after 256 PTG clocks
101 = Watchdog will time out after 128 PTG clocks
100 = Watchdog will time out after 64 PTG clocks
011 = Watchdog will time out after 32 PTG clocks
010 = Watchdog will time out after 16 PTG clocks
001 = Watchdog will time out after 8 PTG clocks
000 = Watchdog is disabled
DS70657D-page 332
Preliminary
© 2011 Microchip Technology Inc.