TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-146
V1.1, 2011-05
GPTA
®
v5, V1.14
21.3.6.7 LTC-Algorithm for Cells 0 to 62
LTCk_Control_Logic() “to be performed every GPTA
®
v5 clock”
if (LTCk.Cell_Enable) then
switch (LTCk.Mode)
case TIMER_FREE_RUN:
LTCk.Reset_Timer_Bit = 0
Timer()
break
case TIMER_RESET:
if (LTCk.Event_In) then
LTCk.Reset_Timer_Bit = 1
endif
Timer()
break;
case CAPTURE:
Capture()
break
case COMPARE:
Compare()
break
endswitch
if ((LTCk.One_Shot_Mode) and (LTCk.Event)) then
LTCk.Cell_Enable = 0
endif
endif
Manage_Mux()
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 ...