![Infineon Technologies TC1784 User Manual Download Page 1794](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_20554461794.webp)
TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-142
V1.1, 2011-05
GPTA
®
v5, V1.14
Compare(m)
Set_Data_Out(mode)
if ( ((GTCk.X == GTm.Timer) and ((GTCk.X_Write_Access) or (GTm.Timer_Event))) or
((GTCk.Greater_Equal_Select) and (GTCk.X_Write_Access)
and (GTm.Timer_Greater_Equal_Comp)) ) then
if (GTCk.Capture_After_Compare) then
if (GTCk.Capture_Alternate_Timer) then
GTCk.X = GT(!m).Timer
else
GTCk.X = GTm.Timer
endif
endif
trig(GTCk.Service_Request_Trigger)
GTCk.Event = 1
else
GTCk.Event = 0
endif
switch (mode)
case 00B: //no change
break
case 01B: //toggle
GTCk.Data_Out = !GTCk.Data_Out
break
case 10B: //clear
GTCk.Data_Out = 0
break
case 11B: //set
GTCk.Data_Out = 1
break
endswitch
GTCk.Output_State = GTCk.Data_Out
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 ...