![Infineon Technologies TC1784 User Manual Download Page 1788](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_20554461788.webp)
TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-136
V1.1, 2011-05
GPTA
®
v5, V1.14
Check_Input()
if (DCMk.Signal_Input.Transition) then
if (DCMk.Signal_Input.Level) then //rising edge
trig(DCMk.Service_Request_Rising)
if (DCMk.Capture_On_Rising_Edge) then
DCMk.Capture_Value = DCMk.Timer
else
if (DCMk.Capcom_Opposite) then
DCMk.Capcom_Value = DCMk.Timer
endif
endif
if (DCMk.Clear_On_Rising_Edge) then
DCMk.Timer = 0
else DCMk.Timer ++
endif
if (DCMk.Clock_On_Rising_Edge) then
Generate pulse on DCMk.Signal_Output
endif
else //falling edge
trig(DCMk.Service_Request_Falling)
if (!DCMk.Capture_On_Rising_Edge) then
DCMk.Capture_Value = DCMk.Timer
else
if (DCMk.Capcom_Opposite) then
DCMk.Capcom_Value = DCMk.Timer
endif
endif
if (DCMk.Clear_On_Falling_Edge) then
DCMk.Timer = 0
else DCMk.Timer ++
endif
if (DCMk.Clock_On_Falling_Edge) then
Generate pulse on DCMk.Signal_Output
endif
endif
else DCMk.Timer ++
endif
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 ...