TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-149
V1.1, 2011-05
GPTA
®
v5, V1.14
Manage_Mux()
if ( (LTCk.Mode == TIMER_FREE_RUN) or (LTCk.Mode == TIMER_RESET) ) then
LTCk.Y_Out = LTCk.X
if (the timer has been modified) then //increment, reset, software overwrite
LTCk.Timer_Event_Out = 1
else
LTCk.Timer_Event_Out = 0
endif
LTCk.Select_Out = LTCk.Select_Line_Value
else //capture mode or compare mode
LTCk.Y_Out = LTCk.Y_In
LTCk.Timer_Event_Out = LTCk.Timer_Event_In
LTCk.Select_Line_Value = LTCk.Select_In
LTCk.Select_Out = LTCk.Select_In
endif
if (LTCk.Event) then //local event
Set_Data_Out(LTCk.Output_Control_Mode.[1:0])
if (!LTCk.Bypass) then //no bypass
LTCk.Output_Mode_Out = LTCk.Output_Control_Mode.[1:0]
endif
else //no local event
if (LTCk.Output_Control_Mode.2) //input link enabled
Set_Data_Out(LTCk.Output_Mode_In)
if (!LTCk.Bypass) then //no bypass
LTCk.Output_Mode_Out = LTCk.Output_Mode_In
endif
else //input link disabled
Set_Data_Out(00
B
)
if (!LTCk.Bypass) then //no bypass
LTCk.Output_Mode_Out = 00
B
endif
endif
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 ...