![Infineon Technologies TC1784 User Manual Download Page 772](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446772.webp)
TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-107
V1.1, 2011-05
PCP, V2.09
10.18.12 DEBUG, Debug Instruction
This section describes the DEBUG instruction of the PCP.
Note: Execution of the DEBUG command when not in Debug Mode will cause the PCP
to generate an “Illegal Operation” Error Exit.
DEBUG
Syntax
DEBUG EDA, DAC, RTA, SDB, cc_B
Description
Conditionally cause a debug event if condition CONDCB is
true. Optionally stop channel execution (SDB = 1) and/or
generate an external debug event (EDA = 1).
Operation
if (CONDCB = True) then
if (EDA = 1) then activate BRK_OUT pin
if (SDB = 1) then
if (RTA = 0) then
R7_CEN = 0; disable further channel invocation
else
PC = PC - 1
endif
save_context
idle
endif
if (DAC = 1)
PCP_CS>EN = 0
endif
set ES.DBE; indicate debug event
ES.PC = NextPC
ES.PN = channel_number
endif
Flags
none
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...