30.4.3.1 Internal Control Register Visibility
For debugging purposes, some registers internal to the PTG can be read by the user during
PTG operation. When PTGSTRT = 0, a read of any PTG Control register
will return the value last written to it. However, when PTGSTRT is set to
‘1’, the values stored in the PTGTxLIM, PTGCxLIM, PTGSDLIM, PTGL0
and PTGQPTR registers are transferred to internal registers, and the user-accessible
registers become read-only. Subsequent reads of these registers, as long as PTGSTRT =
1, and for the Timer/Counter registers, PTGIVIS =
0, return the internal register values, which may be modified by
step commands.
Note: In order to reliably read the internal registers while the PTG
is running, the PTG clock source should be the same as the CPU.
